Documentation ¶
Index ¶
- Constants
- type UserRpc
- func (r *UserRpc) AddFilter(args *R.Filters, reply *R.CallReply) error
- func (r *UserRpc) AddUser(args *R.NewUserArgs, reply *R.CallReply) error
- func (r *UserRpc) DeleteUser(args *R.CommonArgs, reply *R.CallReply) error
- func (r *UserRpc) FastRestore()
- func (r *UserRpc) GetAll() R.TrafficReply
- func (r *UserRpc) GetUser(args *R.CommonArgs, reply *R.TrafficReply) error
- func (r *UserRpc) GetUserInfo(name string) (string, string, string, error)
- func (r *UserRpc) Modify(args *R.CommonArgs, reply *R.CallReply) error
- func (r *UserRpc) RedisClose()
- func (r *UserRpc) ResetAll(args *R.NoArgs, reply *R.CallReply) error
- func (r *UserRpc) Restore(args *R.NoArgs, reply *R.CallReply) error
- func (r *UserRpc) StartUser(args *R.CommonArgs, reply *R.CallReply) error
- func (r *UserRpc) StopUser(args *R.CommonArgs, reply *R.CallReply) error
- func (r *UserRpc) UpgradeFilter(args *R.NoArgs, reply *R.CallReply) error
Constants ¶
View Source
const ( NO_ERROR = iota USER_EXISTS USER_NON_EXISTS PARAMS_ERROR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRpc ¶
func (*UserRpc) DeleteUser ¶
func (*UserRpc) FastRestore ¶
func (r *UserRpc) FastRestore()
func (*UserRpc) GetAll ¶
func (r *UserRpc) GetAll() R.TrafficReply
func (*UserRpc) GetUser ¶
func (r *UserRpc) GetUser(args *R.CommonArgs, reply *R.TrafficReply) error
func (*UserRpc) GetUserInfo ¶
func (*UserRpc) RedisClose ¶
func (r *UserRpc) RedisClose()
Click to show internal directories.
Click to hide internal directories.