Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloaderConfig ¶ added in v0.0.4
type FinderConfig ¶ added in v0.0.4
type FinderConfig struct { Type string `json:"type" toml:"type"` Timeout int `json:"timeout" toml:"timeout"` Endpoint string `json:"endpoint" toml:"endpoint"` Region string `json:"region" toml:"region"` AccessKey string `json:"access_key" toml:"access_key"` SecretKey string `json:"secret_key" toml:"secret_key"` }
type GRPCClientConfig ¶ added in v0.0.9
type GRPCClientConfig struct { Url string `json:"url" toml:"url"` DialTimeout int `json:"dail_timeout" toml:"dail_timeout"` RequestTimeout int `json:"request_timeout" toml:"request_timeout"` InitConn int `json:"init_conn" toml:"init_conn"` MaxConn int `json:"max_conn" toml:"max_conn"` HealthCheck bool `json:"health_check" toml:"health_check"` }
type HttpServerConfig ¶
type MongoClientConfig ¶
type RedisConfig ¶ added in v0.0.3
type RedisConfig struct { Address string `json:"address" toml:"address"` Password string `json:"password" toml:"password"` DefaultDB int `json:"default_db" toml:"default_db"` DBIndexes map[string]int `json:"db_indexes" toml:"db_indexes"` MinIdleConnections int `json:"min_idel_conns" toml:"min_idel_conns"` ReadTimeout int `json:"read_timeout" toml:"read_timeout"` DialTimout int `json:"dial_timeout" toml:"dial_timeout"` }
type ServerConfig ¶
type ServerConfig struct { HttpServerConfig `json:",inline" toml:",inline"` ServiceEnv map[string]string `json:"sevice_env" toml:"sevice_env"` GRPCPort int `json:"grpc_port" toml:"grpc_port"` HTTPSPort int `json:"https_port" toml:"https_port"` ProjectName string `json:"project_name" toml:"project_name"` PromePort int `json:"prome_port" toml:"prome_port"` PProfPort int `json:"pprof_port" toml:"pprof_port"` Debug bool `json:"debug" toml:"debug"` }
Click to show internal directories.
Click to hide internal directories.