const ( InterlockAPIPort = 80 InterlockMetricsAPIPort = 8080 )
func Run() error
Run the Interlock webserver and start the Interlock API and Interlock metrics API
EndpointRegistrant is an interface for package to register endpoints to a router
type EndpointRegistrant interface { RegisterEndpoints(*gin.Engine) }
The request has failed
swagger:response ErrorResponse
type ErrorResponseWrapper struct { // Descriptions of the errors that occurred // // in: body Body Errors `json:"body"` }
Errors returned on API failures
type Errors struct { Errors []errs.Error `json:"errors"` }