handler

package
v0.0.0-...-4ec3a92 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ChannelHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

Channel struct

func (*Channel) Init

func (hdl *Channel) Init(meta *server.Meta)

Init method

func (Channel) ServeHTTP

func (hdl Channel) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

func (Channel) ValidateRequest

func (hdl Channel) ValidateRequest(w http.ResponseWriter, r *http.Request) (interface{}, error)

ValidateRequest checks if request is valid

type Dashboard

type Dashboard struct {
	DashboardHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

Dashboard struct

func (*Dashboard) Init

func (hdl *Dashboard) Init(meta *server.Meta)

Init method

func (Dashboard) ServeHTTP

func (hdl Dashboard) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

type Message

type Message struct {
	ChannelHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

Message struct

func (*Message) Init

func (hdl *Message) Init(meta *server.Meta)

Init method

func (Message) ServeHTTP

func (hdl Message) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

func (Message) ValidateRequest

func (hdl Message) ValidateRequest(w http.ResponseWriter, r *http.Request) (interface{}, error)

ValidateRequest checks if request is valid

type Report

type Report struct {
	FileHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

Report struct

func (*Report) Init

func (hdl *Report) Init(meta *server.Meta)

Init method

func (Report) ServeHTTP

func (hdl Report) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

type Template

type Template struct {
	ChannelHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

Template struct

func (*Template) Init

func (hdl *Template) Init(meta *server.Meta)

Init method

func (Template) ServeHTTP

func (hdl Template) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

func (Template) ValidateRequest

func (hdl Template) ValidateRequest(w http.ResponseWriter, r *http.Request) (interface{}, error)

ValidateRequest checks if request is valid

type TemplateMessage

type TemplateMessage struct {
	ChannelHandler func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

TemplateMessage struct

func (*TemplateMessage) Init

func (hdl *TemplateMessage) Init(meta *server.Meta)

Init method

func (TemplateMessage) ServeHTTP

func (hdl TemplateMessage) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP checks if is valid method

func (TemplateMessage) ValidateRequest

func (hdl TemplateMessage) ValidateRequest(w http.ResponseWriter, r *http.Request) (interface{}, error)

ValidateRequest checks if request is valid

Jump to

Keyboard shortcuts

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