Documentation
¶
Overview ¶
Package services provides an Info and Service data structure that is used for two purposes: loading configuration information from disk and storing status information in the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Service ¶
type Service struct {
ID uuid.UUID `json:"id" msgpack:"id"`
Title string `json:"title" msgpack:"title"`
Description string `json:"description,omitempty" msgpack:"description"`
Type ServiceType `json:"type" msgpack:"-"`
Endpoint string `json:"endpoint" msgpack:"-"`
Status health.Status `json:"-" msgpack:"status"`
LastUpdate time.Time `json:"-" msgpack:"last_update"`
}
type ServiceType ¶
type ServiceType string
const ( UnknownServiceType ServiceType = "unknown" HTTPServiceType ServiceType = "http" APIServiceType ServiceType = "api" EnsignServiceType ServiceType = "ensign" )
Click to show internal directories.
Click to hide internal directories.