handler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

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

BaseHandler 请求 基本处理流程

func (*BaseHandler) Delete

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

func (*BaseHandler) Finished

func (h *BaseHandler) Finished() error

func (*BaseHandler) Get

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

func (*BaseHandler) Head

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

func (*BaseHandler) Init

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

func (*BaseHandler) Meta

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

func (*BaseHandler) OnError

func (h *BaseHandler) OnError(err error)

func (*BaseHandler) OnResponse

func (h *BaseHandler) OnResponse(data interface{})

func (*BaseHandler) Options

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

func (*BaseHandler) Patch

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

func (*BaseHandler) Post

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

func (*BaseHandler) Put

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

func (*BaseHandler) Trace

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

func (*BaseHandler) TryReset

func (h *BaseHandler) TryReset()

Jump to

Keyboard shortcuts

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