ing
This commit is contained in:
parent
1e70566f79
commit
2135b5fcdb
5
modules/commons/interfaces/EndableStarter.go
Normal file
5
modules/commons/interfaces/EndableStarter.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package interfaces
|
||||
|
||||
type EndableStarter interface {
|
||||
EndableStart(endded chan<- error) error
|
||||
}
|
5
modules/commons/interfaces/Starter.go
Normal file
5
modules/commons/interfaces/Starter.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package interfaces
|
||||
|
||||
type Starter interface {
|
||||
Start() error
|
||||
}
|
5
modules/commons/interfaces/Stoper.go
Normal file
5
modules/commons/interfaces/Stoper.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package interfaces
|
||||
|
||||
type Stoper interface {
|
||||
Stop() error
|
||||
}
|
Loading…
Reference in New Issue
Block a user