Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignTemplateHandler ¶
type AssignTemplateHandler struct {
// contains filtered or unexported fields
}
func NewAssignTemplateHandler ¶
func NewAssignTemplateHandler(assigner assignsTemplates, errWriter errorWriter) AssignTemplateHandler
func (AssignTemplateHandler) ServeHTTP ¶
func (h AssignTemplateHandler) ServeHTTP(w http.ResponseWriter, req *http.Request, context stack.Context)
type DatabaseInterface ¶
type DatabaseInterface interface { services.DatabaseInterface }
type Routes ¶
type Routes struct { RequestCounter stack.Middleware RequestLogging stack.Middleware NotificationsManageAuthenticator stack.Middleware DatabaseAllocator stack.Middleware ErrorWriter errorWriter TemplateAssigner assignsTemplates }
type TemplateAssignment ¶
type TemplateAssignment struct {
Template string `json:"template"`
}
Click to show internal directories.
Click to hide internal directories.