diff --git a/modules/commons/interfaces/Stoper.go b/modules/commons/interfaces/Stoper.go index 3148b00..15293cc 100644 --- a/modules/commons/interfaces/Stoper.go +++ b/modules/commons/interfaces/Stoper.go @@ -1,5 +1,7 @@ package interfaces +import "context" + type Stoper interface { - Stop() error + Stop(ctx context.Context) error }