Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OperationWrapper ¶
func OperationWrapper(op operations.Operation) fasthttp.RequestHandler
Types ¶
type ErrorResponse ¶
ErrorResponse is an HTTP response message sent back to calling clients.
func NewErrorResponse ¶
func NewErrorResponse(errorCode, message string) ErrorResponse
NewErrorResponse returns a new ErrorResponse.
type OperationAPI ¶
type OperationAPI interface { Endpoints() []Endpoint RegisterOperations(map[string]operations.Operation) }
Click to show internal directories.
Click to hide internal directories.