Documentation
¶
Overview ¶
Package server implements a Start method to initialize prometheus, gracefully_shutdown and application health
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInterface ¶
type ServerInterface interface { Start( handler http.Handler, addr string, logger logger.Logger, applicationName string, checkers ...health.HealthChecker, ) <-chan error }
ServerInterface implements the method Start that will be used to initialize infra-utils method
func NewServerInterface ¶
func NewServerInterface() ServerInterface
NewServerInterface returns a instance of ServerInterface
Click to show internal directories.
Click to hide internal directories.