Versions in this module Expand all Collapse all v1 v1.3.1 Jun 24, 2021 v1.3.0 Jun 24, 2021 Changes in this version + func Serve(strategy Strategy) (err error) + func SetupStrategyFromConfig(strategy Strategy) (err error) + type MyLogger struct + Caller bool + Compress bool + JsonFormat bool + Level string + MaxAge int + MaxBackups int + MaxFileSize int + Path string + Stdout bool + func NewMyLogger(path string, level string, jsonFormat bool) *MyLogger + func (l *MyLogger) Debug(args ...interface{}) + func (l *MyLogger) Debugf(template string, args ...interface{}) + func (l *MyLogger) Debugw(msg string, keysAndValues ...interface{}) + func (l *MyLogger) Error(args ...interface{}) + func (l *MyLogger) Errorf(template string, args ...interface{}) + func (l *MyLogger) Errorw(msg string, keysAndValues ...interface{}) + func (l *MyLogger) Info(args ...interface{}) + func (l *MyLogger) Infof(template string, args ...interface{}) + func (l *MyLogger) Infow(msg string, keysAndValues ...interface{}) + func (l *MyLogger) Sync() + func (l *MyLogger) Warn(args ...interface{}) + func (l *MyLogger) Warnf(template string, args ...interface{}) + func (l *MyLogger) Warnw(msg string, keysAndValues ...interface{}) + type SConfig struct + Exchanges []SExchange + Log SLog + Options map[string]interface{} + type SExchange struct + AccessKey string + DebugMode bool + Name string + Passphrase string + SecretKey string + Testnet bool + WebSocket bool + type SLog struct + Level string + Path string