Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandlers ¶
type AuthHandlers struct { *GinApp // contains filtered or unexported fields }
func (*AuthHandlers) LogoutPOST ¶
func (app *AuthHandlers) LogoutPOST(c *gin.Context)
Logout endpoint
func (*AuthHandlers) SessionGET ¶
func (app *AuthHandlers) SessionGET(c *gin.Context)
Session endpoint
type GraphQLHandlers ¶
type GraphQLHandlers struct {
*GinApp
}
func (*GraphQLHandlers) EndpointHandler ¶
func (app *GraphQLHandlers) EndpointHandler(cfg *rest.Config, grpcDispatcher *grpcdispatcher.Dispatcher, allowedNamespaces []string, csrfProtect func(http.Handler) http.Handler) gin.HandlerFunc
GET|POST "/graphql": GraphQL query endpoint
type LoginForm ¶
type LoginForm struct {
Token string `form:"token" binding:"required" errors_required:"Please enter your token"`
}
type WebsiteHandlers ¶
type WebsiteHandlers struct { *GinApp // contains filtered or unexported fields }
func (*WebsiteHandlers) EndpointHandler ¶
func (app *WebsiteHandlers) EndpointHandler(cfg *config.Config) gin.HandlerFunc
func (*WebsiteHandlers) InitStaticHandlers ¶
func (app *WebsiteHandlers) InitStaticHandlers(root *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.