Documentation
¶
Index ¶
Constants ¶
View Source
const ( CONTENT_TYPE = "Content-Type" CONTENT_TYPE_JSON = "application/json" AUTHORIZATION = "Authorization" )
Variables ¶
View Source
var ErrIncorrectContentType = fmt.Errorf( "http header did not contain key %s with value %s", CONTENT_TYPE, CONTENT_TYPE_JSON, )
Functions ¶
func ErrorResponse ¶
func GetAuthHeader ¶
func GetAuthHeader(c *fiber.Ctx) (header string)
func UnmarshalBody ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.