Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrFailedToReadBody = "Failed to read body of http request" ErrFailedToCloseBody = "Failed to close body of http request" ErrFailedToMarshalJSON = "Failed to marshal json" ErrFailedToUnmarshalJSON = "Failed to unmarshal json" ErrFailedToValidateStruct = "Failed to validate an object/request" ErrInternalServerError = "Internal Server Error" // Specific TYpe Errors ErrUnknownEndpointTYpe = "Unknown endpoint type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { Handlers []ApiHandler // contains filtered or unexported fields }
func (*Api) InitHandler ¶
type ApiHandler ¶
Click to show internal directories.
Click to hide internal directories.