mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 16:07:10 +00:00
11 lines
224 B
Go
11 lines
224 B
Go
|
|
package factory
|
||
|
|
|
||
|
|
import "context"
|
||
|
|
|
||
|
|
type Service interface {
|
||
|
|
// Starts a service. The service should return an error if it cannot be started.
|
||
|
|
Start(context.Context) error
|
||
|
|
// Stops a service.
|
||
|
|
Stop(context.Context) error
|
||
|
|
}
|