Documentation ¶
Index ¶
- func New(c *conf.Config, s *service.Service) (svr *rpc.Server)
- type RPC
- func (r *RPC) Group(c context.Context, a *model.GroupReq, res *model.GroupResp) (err error)
- func (r *RPC) Mget(c context.Context, a *model.MgetReq, res *model.MgetResp) (err error)
- func (r *RPC) Ping(c context.Context, arg *struct{}, res *struct{}) (err error)
- func (r *RPC) Sort(c context.Context, a *model.SortReq, res *model.SortResp) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.