Versions in this module Expand all Collapse all v0 v0.0.2 Oct 8, 2020 v0.0.1 Mar 15, 2020 Changes in this version + func MakeGinHandlerFunc(handler HandlerFunc) gin.HandlerFunc + type HTTPError struct + Code int + Err error + func (e *HTTPError) Error() string + type HandlerFunc func(ctx *gin.Context) (interface{}, error) + type OpController struct + func NewOpController(tokens map[string]string) *OpController + func (c *OpController) HandleLogin(ctx *gin.Context) (interface{}, error) + func (c *OpController) Register(engine *gin.Engine) + type Response struct + Msg string