example

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acceptance400 added in v1.3.1

type Acceptance400 struct {
	http.DispatchAcceptance
}

func (*Acceptance400) Do added in v1.3.1

func (a *Acceptance400) Do(req *http.Request, resp *http.Response, params map[string]any) error

type CloseTask

type CloseTask struct {
	http.DefaultHTTPHandlerTask
}

func (*CloseTask) Get

func (l *CloseTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]any) http.ErrorResponse

type DefaultHomeTask

type DefaultHomeTask struct {
	http.DefaultHTTPHandlerTask
}

func (*DefaultHomeTask) Get

type DefaultTask

type DefaultTask struct {
	http.DefaultHTTPHandlerTask
}

func (*DefaultTask) Get

func (l *DefaultTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]any) http.ErrorResponse

func (*DefaultTask) Post

func (l *DefaultTask) Post(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]any) http.ErrorResponse

type LongTask

type LongTask struct {
	http.DefaultHTTPHandlerTask
}

func (*LongTask) Get

func (l *LongTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]any) http.ErrorResponse

type Route

type Route struct {
	http.DefaultRoute
}

func NewRoute

func NewRoute() *Route

type Routine

type Routine struct {
	http.DefaultHTTPHandlerTask
}

func (*Routine) Index

func (a *Routine) Index(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]any) http.ErrorResponse

type ServerChildCountHandler added in v1.1.0

type ServerChildCountHandler struct {
	channel.DefaultHandler
	// contains filtered or unexported fields
}

func (*ServerChildCountHandler) Active added in v1.1.0

func (*ServerChildCountHandler) Deregister added in v1.1.0

func (h *ServerChildCountHandler) Deregister(ctx channel.HandlerContext, future channel.Future)

func (*ServerChildCountHandler) Disconnect added in v1.1.0

func (h *ServerChildCountHandler) Disconnect(ctx channel.HandlerContext, future channel.Future)

func (*ServerChildCountHandler) Inactive added in v1.1.0

func (*ServerChildCountHandler) Registered added in v1.1.0

func (h *ServerChildCountHandler) Registered(ctx channel.HandlerContext)

func (*ServerChildCountHandler) Unregistered added in v1.1.0

func (h *ServerChildCountHandler) Unregistered(ctx channel.HandlerContext)

func (*ServerChildCountHandler) Write added in v1.1.0

func (h *ServerChildCountHandler) Write(ctx channel.HandlerContext, obj any, future channel.Future)

Jump to

Keyboard shortcuts

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