Documentation ¶
Index ¶
- type AreaProfileComponent
- func (c *AreaProfileComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *AreaProfileComponent) DoGetHealthClient(name, url string) *health.Client
- func (c *AreaProfileComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime string, gitCommit string, version string) (service.HealthChecker, error)
- func (c *AreaProfileComponent) StopService(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaProfileComponent ¶
type AreaProfileComponent struct { Config *config.Config HTTPServer *http.Server ServiceRunning bool // contains filtered or unexported fields }
func NewAreaProfilesComponent ¶
func NewAreaProfilesComponent(ctx context.Context) (*AreaProfileComponent, error)
func (*AreaProfileComponent) DoGetHTTPServer ¶
func (c *AreaProfileComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
func (*AreaProfileComponent) DoGetHealthClient ¶
func (c *AreaProfileComponent) DoGetHealthClient(name, url string) *health.Client
func (*AreaProfileComponent) DoGetHealthcheckOk ¶
func (c *AreaProfileComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime string, gitCommit string, version string) (service.HealthChecker, error)
func (*AreaProfileComponent) StopService ¶ added in v1.9.0
func (c *AreaProfileComponent) StopService(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.