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 ¶ added in v0.4.2
func GetAuthHeader ¶ added in v0.4.2
Types ¶
type Server ¶
type Server struct { Base *gin.RouterGroup API *gin.RouterGroup // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.