Documentation ¶
Index ¶
Constants ¶
View Source
const ( Authorization = "Authorization" TokenKey = "client_id" )
Variables ¶
This section is empty.
Functions ¶
func IndentedJSON ¶
Types ¶
type APIHandler ¶
type APIHandler interface {
Handle(IRouter)
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddHandler ¶
func (s *Server) AddHandler(handler APIHandler)
func (*Server) Use ¶
func (s *Server) Use(middleware ...gin.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.