mirror of
https://github.com/status-im/consul.git
synced 2025-02-28 13:20:44 +00:00
11 lines
269 B
Go
11 lines
269 B
Go
package service
|
|
|
|
// Service represents a process that will be registered with the
|
|
// Consul catalog, including Consul components such as sidecars and gateways
|
|
type Service interface {
|
|
Terminate() error
|
|
GetName() string
|
|
GetAddr() (string, int)
|
|
Start() (err error)
|
|
}
|