service: remove stop method and use contexts (#7292)

This commit is contained in:
Sam Kleinman
2021-11-18 17:56:21 -05:00
committed by GitHub
parent 1c34d17240
commit 6ab62fe7b6
115 changed files with 3613 additions and 2271 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ type Client interface {
// These methods define the operational structure of the client.
// Start the client. Start must report an error if the client is running.
Start() error
Start(context.Context) error
// Stop the client. Stop must report an error if the client is not running.
Stop() error