Files
2022-01-21 16:32:21 +00:00

11 lines
267 B
Go

package restserver
// Service provides a way for subservices to be registered so they get added to the http API.
type Service interface {
Name() string
Register(Router)
Close()
// IsReady indicates that service is ready to serve its end-points
IsReady() bool
}