caster

package
v0.0.0-...-7a73484 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caster

type Caster struct {
	client.Baseclient
}

func (*Caster) AddNode

func (c *Caster) AddNode(ctx context.Context, args *caster.AddNodeReq, reply *caster.AddNodeResp) (err error)

func (*Caster) DelNode

func (c *Caster) DelNode(ctx context.Context, args *caster.NodeID, reply *caster.Empty) (err error)

func (*Caster) DisableNode

func (c *Caster) DisableNode(ctx context.Context, args *caster.NodeID, resp *caster.Empty) (err error)

func (*Caster) EnableNode

func (c *Caster) EnableNode(ctx context.Context, args *caster.NodeID, resp *caster.Empty) (err error)

func (*Caster) Init

func (c *Caster) Init() *Caster

func (*Caster) SubEnableList

func (c *Caster) SubEnableList(ctx context.Context, args *caster.SubListReq, reply *caster.SubListResp) (err error)

func (*Caster) SubList

func (c *Caster) SubList(ctx context.Context, args *caster.SubListReq, reply *caster.SubListResp) (err error)

func (*Caster) UpdateNode

func (c *Caster) UpdateNode(ctx context.Context, args *caster.UpdateReq, resp *caster.Empty) (err error)

func (*Caster) Verify

func (c *Caster) Verify(ctx context.Context, args *caster.VerifyReq, reply *caster.VerifyResp) (err error)

type Role

type Role struct {
	client.Baseclient
}

func (*Role) AddRole

func (r *Role) AddRole(ctx context.Context, args *caster.AddRoleReq, reply *caster.RoleID) (err error)

func (*Role) DelRole

func (r *Role) DelRole(ctx context.Context, args *caster.RoleID, reply *caster.Empty) (err error)

func (*Role) Init

func (r *Role) Init() *Role

func (*Role) RoleInfo

func (r *Role) RoleInfo(ctx context.Context, args *caster.RoleID, reply *caster.RoleStruct) (err error)

func (*Role) RoleList

func (r *Role) RoleList(ctx context.Context, args *caster.Page, reply *caster.RoleList) (err error)

func (*Role) UpdateRole

func (r *Role) UpdateRole(ctx context.Context, args *caster.RoleStruct, reply *caster.Empty) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL