handlers

package
v0.0.0-...-5b75bdc Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateHandler

type CreateHandler struct {
	// contains filtered or unexported fields
}

func NewCreateHandler

func NewCreateHandler(secret_storage *storages.MemoryStorage, templates *template.Template) *CreateHandler

func (*CreateHandler) Handler

func (ch *CreateHandler) Handler(w http.ResponseWriter, r *http.Request)

type IndexHandler

type IndexHandler struct {
	// contains filtered or unexported fields
}

func NewIndexHandler

func NewIndexHandler(templates *template.Template) *IndexHandler

func (*IndexHandler) Handler

func (ih *IndexHandler) Handler(w http.ResponseWriter, r *http.Request)

type ViewHandler

type ViewHandler struct {
	// contains filtered or unexported fields
}

func NewViewHandler

func NewViewHandler(secret_storage *storages.MemoryStorage, templates *template.Template, wsConnManager *notifications.WsConnectionManager) *ViewHandler

func (*ViewHandler) Handler

func (vh *ViewHandler) Handler(w http.ResponseWriter, r *http.Request)

type WebSocketHandler

type WebSocketHandler struct {
	// contains filtered or unexported fields
}

func NewWebSocketHandler

func NewWebSocketHandler(wsConnManager *notifications.WsConnectionManager) *WebSocketHandler

func (*WebSocketHandler) Handler

func (ws *WebSocketHandler) Handler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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