clients

package
v0.0.0-...-ca24b28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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
}

func (Routes) Register

func (r Routes) Register(m muxer)

type TemplateAssignment

type TemplateAssignment struct {
	Template string `json:"template"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL