Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { Title string `required:"true"` Log zap.Config Mysql dao.MysqlOptions Redis redis.RedisOptions OrderManager ordermanager.OrderManagerOptions Gateway gateway.GateWayOptions Accessor accessor.AccessorOptions LoopringProtocol loopringaccessor.LoopringProtocolOptions Market util.MarketOptions MarketCap marketcap.MarketCapOptions GatewayFilters gateway.GatewayFiltersOptions UserManager usermanager.UserManagerOptions ZkLock zklock.ZkLockConfig Sns sns.SnsConfig Kafka kafka.KafkaOptions MotanServer motan.MotanServerOptions Jsonrpc gateway.JsonrpcOptions Websocket gateway.WebsocketOptions AccountManager accountmanager.AccountManagerOptions MyToken market.MyTokenConfig }
func LoadConfig ¶
func LoadConfig(file string) *GlobalConfig
Click to show internal directories.
Click to hide internal directories.