Documentation ¶
Index ¶
- func GetApp(botSession *discordgo.Session, OAuth2Config *oauth2.Config, ctx *fiber.Ctx) (err error)
- func GetCallback(signingSecret, randomState string, oauth2Config *oauth2.Config, ctx *fiber.Ctx) (err error)
- func GetGuild(botSession *discordgo.Session, ctx *fiber.Ctx) error
- func GetHome(ctx *fiber.Ctx) error
- func GetLogin(randomState string, OAuth2Config *oauth2.Config, ctx *fiber.Ctx) error
- func InitializeWeb(app *fiber.App, cfg *config.Config, botSession *discordgo.Session, ...)
- func JWTWareErrorHandler(ctx *fiber.Ctx, err error) error
- func OpenLogFile(logFilePath string) (LogFile *os.File, err error)
- func RegisterMiddleware(app *fiber.App, LogFile *os.File)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCallback ¶
func GetCallback(signingSecret, randomState string, oauth2Config *oauth2.Config, ctx *fiber.Ctx) (err error)
GET /callback -> handler
func InitializeWeb ¶
func JWTWareErrorHandler ¶
func RegisterMiddleware ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.