config

package
v0.0.0-...-c5f8778 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigManager

func GetConfigManager() *configManager

Types

type Config

type Config struct {
	Port         string        `mapstructure:"port"`
	WriteTimeout time.Duration `mapstructure:"write_timeout"`
	ReadTimeout  time.Duration `mapstructure:"read_timeout"`
	IdleTimeout  time.Duration `mapstructure:"idle_timeout"`

	GCPServiceAccountPath string `mapstructure:"gcp_service_account_path"`

	WAAppKeySecretKey string `mapstructure:"wa_app_key_secret_key"`
	WAAppSecret       string `mapstructure:"wa_app_key_secret"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳