Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewConfig)
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶ added in v0.0.22
type AppConfig struct {
Name string `json:"name"`
Http Http `json:"http"`
Rpc Rpc `json:"rpc"`
Web Web `json:"web"`
Plugin Plugin `json:"plugin"`
Storage Storage `json:"storage"`
Mysql Mysql `json:"mysql"`
Redis Redis `json:"redis"`
Etcd Etcd `json:"etcd"`
Influx Influx `json:"influx"`
Rabbitmq Rabbitmq `json:"rabbitmq"`
Jaeger Jaeger `json:"jaeger"`
Slack Slack `json:"slack"`
Rollbar Rollbar `json:"rollbar"`
Telegram Telegram `json:"telegram"`
// contains filtered or unexported fields
}
type Etcd ¶ added in v0.0.22
type Etcd struct {
Url string `json:"url"`
Username string `json:"username"`
Password string `json:"password"`
}
Etcd config
type Influx ¶ added in v0.0.22
type Influx struct {
Token string `json:"token"`
Org string `json:"org"`
Bucket string `json:"bucket"`
Url string `json:"url"`
}
Influx config
type Jaeger ¶ added in v0.0.22
type Jaeger struct {
ServiceName string `json:"serviceName"`
Reporter struct {
LocalAgentHostPort string `json:"localAgentHostPort"`
} `json:"reporter"`
Sampler struct {
Type string `json:"type"`
Param float64 `json:"param"`
} `json:"sampler"`
}
Jaeger config
type Plugin ¶ added in v0.0.22
type Plugin struct {
Path string `json:"path"`
}
Plugin spider config
type Slack ¶ added in v0.0.22
type Slack struct {
Verification string `json:"verification"`
Signing string `json:"signing"`
Token string `json:"token"`
Webhook string `json:"webhook"`
}
Slack config
Click to show internal directories.
Click to hide internal directories.