example

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 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 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]interface{}) http.ErrorResponse

type DefaultHomeTask

type DefaultHomeTask struct {
	http.DefaultHTTPHandlerTask
}

func (*DefaultHomeTask) Get

func (l *DefaultHomeTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]interface{}) http.ErrorResponse

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]interface{}) http.ErrorResponse

func (*DefaultTask) Post

func (l *DefaultTask) Post(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]interface{}) 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]interface{}) 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]interface{}) 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 interface{}, future channel.Future)

Jump to

Keyboard shortcuts

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