Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFreePort ¶
Types ¶
type Config ¶
type Config struct {
AppPort string `mapstructure:"app_port"`
GrpcPort string `mapstructure:"grpc_port"`
Debug bool `mapstructure:"debug"`
ProfileEnabled bool `mapstructure:"profile_enabled"`
CacheDriver string `mapstructure:"cache_driver"`
AdminPassword string `mapstructure:"admin_password"`
PrivateKey string `mapstructure:"private_key"`
WsSenderPlugin Plugin `mapstructure:"ws_sender_plugin"`
PicturePlugin Plugin `mapstructure:"picture_plugin"`
UploadDir string `mapstructure:"upload_dir"`
UploadMaxSize string `mapstructure:"upload_max_size"`
JaegerUser string `mapstructure:"jaeger_user"`
JaegerPassword string `mapstructure:"jaeger_password"`
JaegerAgentHostPort string `mapstructure:"jaeger_agent_host_port"`
// mysql
DBDriver string `mapstructure:"db_driver"`
DBHost string `mapstructure:"db_host"`
DBPort string `mapstructure:"db_port"`
DBUsername string `mapstructure:"db_username"`
DBPassword string `mapstructure:"db_password"`
DBDatabase string `mapstructure:"db_database"`
Oidc []OidcSetting `mapstructure:"oidc"`
}
func (*Config) MaxUploadSize ¶
type OidcSetting ¶
Click to show internal directories.
Click to hide internal directories.