bbgo_origin/pkg/bbgo/isolation.go
2022-10-03 15:33:46 +08:00

16 lines
273 B
Go

package bbgo
var currentIsolationContext *IsolationContext
func init() {
currentIsolationContext = NewIsolationContext()
}
type IsolationContext struct {
gracefulShutdown GracefulShutdown
}
func NewIsolationContext() *IsolationContext {
return &IsolationContext{}
}