Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represent HTTP service
func New ¶
func New(ctx context.Context, cfg *Config, wpService *_wpservice.Service, httpService *_http.Service) (*Service, error)
New create new HTTP service
func (*Service) HealthHandler ¶
func (s *Service) HealthHandler(w http.ResponseWriter, r *http.Request)
HealthHandler handle to livenessProbe
func (*Service) ReadyHandler ¶
func (s *Service) ReadyHandler(w http.ResponseWriter, r *http.Request)
ReadyHandler handle to readinessProbe
func (*Service) WpHandlerFactorial ¶
func (s *Service) WpHandlerFactorial(w http.ResponseWriter, r *http.Request)
WpHandlerFactorial handle worker pool
type WpFactorialReqResp ¶
Click to show internal directories.
Click to hide internal directories.