http

package
v0.0.0-...-19553bc Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 6 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

Jump to

Keyboard shortcuts

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