bbgo_origin/pkg/bbgo/isolation.go

16 lines
273 B
Go
Raw Normal View History

2022-10-02 11:34:52 +00:00
package bbgo
var currentIsolationContext *IsolationContext
func init() {
currentIsolationContext = NewIsolationContext()
}
type IsolationContext struct {
gracefulShutdown GracefulShutdown
}
func NewIsolationContext() *IsolationContext {
return &IsolationContext{}
}