This repository has been archived on 2026-09-05. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
gotoolkit/model/server.go
2024-11-20 23:21:03 +01:00

9 lines
136 B
Go

package model
import "context"
type Server interface {
IsEnabled() bool
Start(context.Context) error
Stop(context.Context) error
}