Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Count int `json:"count" flag:"c"` Service struct { Name string `json:"name"` } `json:"service"` Zap struct { //debug, info, warn, error, fatal, panic Level string `json:"level" default:"info"` //console, json Encoding string `json:"encoding" default:"console"` //disable, short, full Caller string `json:"caller" default:"disable"` } `json:"zap"` Binance struct { //Name string `json:"name" default:"binance"` //Debug bool `json:"debug" default:"false"` Key string `json:"-"` Secret string `json:"-"` } `json:"binance"` Ftx struct { Username string `json:"username"` //WsHost string `default:"wss://ftx.com/ws/"` Key string `json:"-"` Secret string `json:"-"` } `json:"ftx"` }
Click to show internal directories.
Click to hide internal directories.