Discover Packages
github.com/qingwave/weave
pkg
config
package
Version:
v0.0.0-...-ef6d6c5
Opens a new window with list of versions in this module.
Published: Aug 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type DBConfig struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Name string `yaml:"name"`
User string `yaml:"user"`
Password string `yaml:"password"`
Migrate bool `yaml:"migrate"`
}
type DockerConfig struct {
Enable bool `yaml:"enable"`
Host string `yaml:"host"`
}
type KubeConfig struct {
Enable bool `yaml:"enable"`
WatchResources []string `yaml:"watchResources"`
}
type OAuthConfig struct {
AuthType string `yaml:"authType"`
ClientId string `yaml:"clientId"`
ClientSecret string `yaml:"clientSecret"`
}
type RedisConfig struct {
Enable bool `yaml:"enable"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Password string `yaml:"password"`
}
type ServerConfig struct {
ENV string `yaml:"env"`
Address string `yaml:"address"`
Port int `yaml:"port"`
GracefulShutdownPeriod int `yaml:"gracefulShutdownPeriod"`
LimitConfigs []ratelimit .LimitConfig `yaml:"rateLimits"`
JWTSecret string `yaml:"jwtSecret"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.