Documentation ¶
Index ¶
- type Providers
- type Service
- func (s *Service) HealthzHandler(w http.ResponseWriter, r *http.Request, pathParams map[string]string)
- func (s *Service) LaunchGRPCAdminService(providers *Providers)
- func (s *Service) LaunchGRPCService(providers *Providers)
- func (s *Service) LaunchHTTPService()
- func (s *Service) Run()
- func (s *Service) Shutdown(providers *Providers)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Providers ¶
type Providers struct {
// contains filtered or unexported fields
}
Providers with all the providers needed
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service structure in charge of launching the application.
func NewService ¶
NewService creates a new service with a given configuration
func (*Service) HealthzHandler ¶
func (s *Service) HealthzHandler(w http.ResponseWriter, r *http.Request, pathParams map[string]string)
HealthzHandler to return 200 if called.
func (*Service) LaunchGRPCAdminService ¶
Launch the gRPC admin service.
func (*Service) LaunchGRPCService ¶
LaunchGRPCService launches a server for gRPC requests.
func (*Service) LaunchHTTPService ¶
func (s *Service) LaunchHTTPService()
LaunchHTTPService launches a server for HTTP requests.
Click to show internal directories.
Click to hide internal directories.