Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPHandler ¶
func NewHTTPHandler(logger logrus.FieldLogger, service Service) http.Handler
Types ¶
type HTTPService ¶
type HTTPService struct {
// contains filtered or unexported fields
}
func (HTTPService) PostFeaturesStatus ¶
func (s HTTPService) PostFeaturesStatus(w http.ResponseWriter, r *http.Request)
func (HTTPService) PostFeaturesStatusFeature ¶
func (s HTTPService) PostFeaturesStatusFeature(w http.ResponseWriter, r *http.Request, feature string)
type Service ¶
type Service interface {
FeaturesStatus(ctx context.Context, req spec.FeaturesRequest, feature string) (*spec.FeaturesResponse, error)
}
Click to show internal directories.
Click to hide internal directories.