transport

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrMissingDMSStatus

func ErrMissingDMSStatus() error

func HTTPToContext

func HTTPToContext(logger log.Logger) httptransport.RequestFunc

func InvalidJsonFormat

func InvalidJsonFormat() error

func MakeHTTPHandler

func MakeHTTPHandler(s service.Service, logger log.Logger, otTracer stdopentracing.Tracer) http.Handler

Types

type GetCRTResponse

type GetCRTResponse struct {
	Data *x509.Certificate
	Err  error
}

type PostDmsCreationFormResponse

type PostDmsCreationFormResponse struct {
	Dms     dto.DMS `json:"dms,omitempty"`
	PrivKey string  `json:"priv_key,omitempty"`
	Err     error   `json:"err,omitempty"`
}

type PostDmsResponse

type PostDmsResponse struct {
	Dms dto.DMS `json:"dms,omitempty"`
	Err error   `json:"err,omitempty"`
}

Jump to

Keyboard shortcuts

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