Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler func(m *Middleware)
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(handlres ...Handler) *Middleware
func (*Middleware) Next ¶
func (m *Middleware) Next()
func (*Middleware) Run ¶
func (m *Middleware) Run()
type RPCData ¶
type RPCData struct { Func string // 访问的函数 Args []interface{} // 函数的参数 }
RPCData 定义 RPC 通信的数据格式
Click to show internal directories.
Click to hide internal directories.