bbgo_origin/pkg/bbgo/notifier.go
2020-10-21 19:52:55 +08:00

12 lines
218 B
Go

package bbgo
type Notifier interface {
Notify(channel, format string, args ...interface{}) error
}
type NullNotifier struct{}
func (n *NullNotifier) Notify(format string, args ...interface{}) error {
return nil
}