Documentation
¶
Index ¶
- type Base
- func (h *Base) Delete() (interface{}, error)
- func (h *Base) Finished() error
- func (h *Base) Get() (interface{}, error)
- func (h *Base) Head() (interface{}, error)
- func (h *Base) Init(m core.Meta) error
- func (h *Base) Meta() core.Meta
- func (h *Base) OnError(err error)
- func (h *Base) OnResponse(interface{})
- func (h *Base) Options() (interface{}, error)
- func (h *Base) Patch() (interface{}, error)
- func (h *Base) Post() (interface{}, error)
- func (h *Base) Put() (interface{}, error)
- func (h *Base) Trace() (interface{}, error)
- func (h *Base) TryReset()
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) OnResponse ¶ added in v0.4.0
func (h *Base) OnResponse(interface{})
Click to show internal directories.
Click to hide internal directories.