endpoint

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHealthEndpoint

func MakeHealthEndpoint(s service.Service) endpoint.Endpoint

Types

type Endpoints

type Endpoints struct {
	HealthEndpoint  endpoint.Endpoint
	PostDMSRenew    endpoint.Endpoint
	PostDMSIssueCSR endpoint.Endpoint
	PostDMSIssue    endpoint.Endpoint
}

func MakeServerEndpoints

func MakeServerEndpoints(s service.Service, otTracer stdopentracing.Tracer) Endpoints

type HealthRequest added in v0.0.2

type HealthRequest struct{}

type HealthResponse added in v0.0.2

type HealthResponse struct {
	Healthy bool  `json:"healthy,omitempty"`
	Err     error `json:"err,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL