Documentation ¶
Index ¶
- func MakeHTTPHandler(s Service, logger log.Logger, auth auth.Auth, otTracer stdopentracing.Tracer) http.Handler
- func MakeHealthEndpoint(s Service) endpoint.Endpoint
- func MakePostGetCRTEndpoint(s Service) endpoint.Endpoint
- func MakePostSetConfigEndpoint(s Service) endpoint.Endpoint
- type Endpoints
- type Middleware
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHTTPHandler ¶
func MakeHealthEndpoint ¶
func MakePostGetCRTEndpoint ¶
Types ¶
type Endpoints ¶
type Endpoints struct { HealthEndpoint endpoint.Endpoint PostSetConfigEndpoint endpoint.Endpoint PostGetCRTEndpoint endpoint.Endpoint }
func MakeServerEndpoints ¶
func MakeServerEndpoints(s Service, otTracer stdopentracing.Tracer) Endpoints
type Middleware ¶
func LoggingMidleware ¶
func LoggingMidleware(logger log.Logger) Middleware
func NewInstumentingMiddleware ¶
func NewInstumentingMiddleware(counter metrics.Counter, latency metrics.Histogram) Middleware
type Service ¶
Click to show internal directories.
Click to hide internal directories.