Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomConfig ¶
type CustomConfig struct { WebserverConf WebserverConfig `mapstructure:"webserver"` WebhookConf WebhookConfig `mapstructure:"webhook"` }
func InitConfig ¶
func InitConfig(configPath string) (*CustomConfig, error)
type WebhookConfig ¶
type WebhookConfig struct {
ValidationTimeoutSecond int `mapstructure:"validation_timeout_second"`
}
type WebserverConfig ¶
Click to show internal directories.
Click to hide internal directories.