Documentation
¶
Index ¶
- func AuthMiddleware(db *gorm.DB) fiber.Handler
- func Config(conf *model.Config) fiber.Handler
- func DefaultError(c *fiber.Ctx, err error) error
- func ListRunner(conf *model.Config) fiber.Handler
- func LoginRequired(responseJSON bool) fiber.Handler
- func Logout(db *gorm.DB) fiber.Handler
- func NotFund(c *fiber.Ctx) error
- func NotInRoom(pubsub *hub.Hub) fiber.Handler
- func Oauth2Callback(config *oauth2.Config, cache *bigcache.BigCache, db *gorm.DB) fiber.Handler
- func Oauth2Login(config *oauth2.Config, cache *bigcache.BigCache) fiber.Handler
- func RunCode(conf *model.Config, cache *bigcache.BigCache, h *hub.Hub) fiber.Handler
- func User(c *fiber.Ctx) error
- func WS(pubsub *hub.Hub) func(c *websocket.Conn)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func DefaultError ¶
func ListRunner ¶
func LoginRequired ¶
func LoginRequired(responseJSON bool) fiber.Handler
func Oauth2Callback ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.