package
Version:
v0.0.0-...-c42b9c9
Opens a new window with list of versions in this module.
Published: Aug 2, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
RunHandler new version of handler, have cache
type Handler interface {
HandleInput() error
HandleProcess() error
UseCache() bool
SetCache()
}
Handler hanlder接口
type HandlerBase struct {
CacheKey string
}
HandlerBase handler共有属性
type HandlerIntf interface {
HandleInput() error
HandleProcess() error
}
HandlerIntf handler接口
type RpcIntf interface {
Request(reqBody interface{}) (interface{}, error)
}
RpcIntf Rpc接口
Source Files
¶
Click to show internal directories.
Click to hide internal directories.