mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
16 lines
273 B
Go
16 lines
273 B
Go
package bbgo
|
|
|
|
var currentIsolationContext *IsolationContext
|
|
|
|
func init() {
|
|
currentIsolationContext = NewIsolationContext()
|
|
}
|
|
|
|
type IsolationContext struct {
|
|
gracefulShutdown GracefulShutdown
|
|
}
|
|
|
|
func NewIsolationContext() *IsolationContext {
|
|
return &IsolationContext{}
|
|
}
|