encodable a good
Former-commit-id: a0afebd82dfd256ec70c02c607af2a9b3b4b046f
This commit is contained in:
7
config/stoppable.go
Normal file
7
config/stoppable.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type Stoppable struct{}
|
||||
|
||||
func (s Stoppable) Stopped() <-chan struct{} {
|
||||
return Values().Ctx.Done()
|
||||
}
|
||||
Reference in New Issue
Block a user