Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WireRoutes ¶
Types ¶
type BuildMetadata ¶
type BuildMetadata struct { Name string `json:"name"` Version string `json:"version"` BuildID string `json:"build_id"` CommitSha string `json:"commit_sha"` BranchName string `json:"branch_name"` TagName string `json:"tag_name"` }
func (*BuildMetadata) String ¶
func (m *BuildMetadata) String() string
type Response ¶
type Response struct { BuildMetadata BuildMetadata `json:"build_metadata"` Config ResponseConfig `json:"config"` Status string `json:"status"` }
type ResponseConfig ¶
type ResponseConfig struct { Core *config.LibraryConfig `yaml:"core"` Services []ServiceStatus `yaml:"services"` }
type Service ¶
type Service struct { BuildMetadata *BuildMetadata Config *config.LibraryConfig Services []handlerinitialiser.HandlerInitialiser }
func (*Service) HandleGetStatus ¶
func (s *Service) HandleGetStatus(rw http.ResponseWriter, r *http.Request)
type ServiceStatus ¶
type ServiceStatus struct { Name string `json:"name"` Config interface{} `json:"config"` }
Click to show internal directories.
Click to hide internal directories.