mirror of
https://github.com/hanzoai/porto.git
synced 2026-11-03 18:08:27 +00:00
11 lines
267 B
Go
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
|
|
}
|