Documentation ¶
Index ¶
- Variables
- func DiscordOauth2Client() *oauth2.Config
- func ExpireCookie(c echo.Context, name string) error
- func FileToCSV(c echo.Context, formName string, fileName string) ([][]string, error)
- func TemplRender(c echo.Context, component templ.Component) error
- type Handler
- func (h *Handler) ChuckNorris(c echo.Context) error
- func (h *Handler) Dashboard(c echo.Context) error
- func (h *Handler) Index(c echo.Context) error
- func (h *Handler) Login(c echo.Context) error
- func (h *Handler) LoginRedirect(c echo.Context) error
- func (h *Handler) Logout(c echo.Context) error
- func (h *Handler) Refresh(c echo.Context) error
- func (h *Handler) UploadItemsFile(c echo.Context) error
- func (h *Handler) UploadRolesFile(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var UploadFailHTML = "<div>Failed</div>"
Functions ¶
func DiscordOauth2Client ¶
func ExpireCookie ¶
func TemplRender ¶
Helper to wrap calling a component's Render method.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) ChuckNorris ¶
func (*Handler) LoginRedirect ¶
func (*Handler) UploadItemsFile ¶
func (*Handler) UploadRolesFile ¶
Click to show internal directories.
Click to hide internal directories.