Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct {
UserLabel string
CategoryLabel string
ReasonLabel string
TTLLabel string
Categories []Pair
TTLs []string
}
Content defines the displayable parts of the token retrieval form.
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages use of the renderer in the http handler.
func New ¶
func New(h *render.Renderer, p *justification.Processor, allowlist []string) *Controller
func (*Controller) HandlePopup ¶
func (c *Controller) HandlePopup() http.Handler
type ErrorDetails ¶
ErrorDetails represents the data used for the 400 page.
type FormDetails ¶
type FormDetails struct {
WindowName string
Origin string
PageTitle string
Description string
UserEmail string
Content Content
Category string
Reason string
TTL string
Errors map[string]string
}
FormDetails represents all the input and content used for the token retrievlal form.
Click to show internal directories.
Click to hide internal directories.