handler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base added in v0.4.0

type Base struct {
	utils.FastLocker
	// contains filtered or unexported fields
}

Base 请求 基本处理流程

func (*Base) Delete added in v0.4.0

func (h *Base) Delete() (interface{}, error)

func (*Base) Finished added in v0.4.0

func (h *Base) Finished() error

func (*Base) Get added in v0.4.0

func (h *Base) Get() (interface{}, error)

func (*Base) Head added in v0.4.0

func (h *Base) Head() (interface{}, error)

func (*Base) Init added in v0.4.0

func (h *Base) Init(m core.Meta) error

func (*Base) Meta added in v0.4.0

func (h *Base) Meta() core.Meta

func (*Base) OnError added in v0.4.0

func (h *Base) OnError(err error)

func (*Base) OnResponse added in v0.4.0

func (h *Base) OnResponse(interface{})

func (*Base) Options added in v0.4.0

func (h *Base) Options() (interface{}, error)

func (*Base) Patch added in v0.4.0

func (h *Base) Patch() (interface{}, error)

func (*Base) Post added in v0.4.0

func (h *Base) Post() (interface{}, error)

func (*Base) Put added in v0.4.0

func (h *Base) Put() (interface{}, error)

func (*Base) Trace added in v0.4.0

func (h *Base) Trace() (interface{}, error)

func (*Base) TryReset added in v0.4.0

func (h *Base) TryReset()

Jump to

Keyboard shortcuts

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