Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { ServiceConfig ServiceDependencies // contains filtered or unexported fields }
func NewService ¶
func NewService(config ServiceConfig, deps ServiceDependencies) *Service
NewService creates a new service instance.
func (*Service) Run ¶
func (s *Service) Run()
Run starts the service and waits for OS signals to terminate it.
func (*Service) TriggerUpdate ¶
func (s *Service) TriggerUpdate()
TriggerUpdate notifies the service to update the haproxy configuration
type ServiceConfig ¶
type ServiceDependencies ¶
Click to show internal directories.
Click to hide internal directories.