Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Client errors ErrInvalidID = errors.New("invalid CSR ID, does not exist") //404 //Server errors ErrInvalidOperation = errors.New("invalid operation") ErrGetCSR = errors.New("unable to get CSR") ErrGetCert = errors.New("unable to get certificate") ErrInsertCert = errors.New("unable to insert certificate") ErrInsertCSR = errors.New("unable to insert CSR") ErrInsertKey = errors.New("unable to insert Key") ErrResponseEncode = errors.New("error encoding response") )
Functions ¶
func NewParserm ¶
func NewParserm(mtlsCa x509.Certificate) endpoint.Middleware
Types ¶
type Middleware ¶
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) Middleware
func NewInstrumentingMiddleware ¶
func NewInstrumentingMiddleware(counter metrics.Counter, latency metrics.Histogram) Middleware
type Service ¶
func NewDMSService ¶
func NewDMSService(fileStore filestore.File, homePath string, lamassuEstClient *lamassuestclient.LamassuEstClient, logger log.Logger) Service
Click to show internal directories.
Click to hide internal directories.