Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalConfig = &Config{ Log: Log{ DisableTimestamp: false, Level: "info", Format: "text", FileName: "/tmp/robber-datasource/data.log", MaxSize: 20, }, MongoDB: MongoDB{ DSN: "mongodb://127.0.0.1:27017", }, Etcd: Etcd{ Endpoints: []string{ "127.0.0.1:2379", }, }, Server: Server{ Host: "0.0.0.0", Port: 27320, }, Collect: Collect{ CodeList: []string{ "sh688***", "sh605***", "sh603***", "sh601***", "sh600***", "sz300***", "sz0030**", "sz002***", "sz001**", "sz000***", }, }, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
Click to show internal directories.
Click to hide internal directories.