Documentation ¶
Index ¶
- type Columns
- func (e *Columns) Add(ctx context.Context, req *proto.AddRequest, rep *proto.AddResponse) error
- func (e *Columns) BatchDelete(ctx context.Context, req *proto.DeleteRequest, rep *proto.DeleteResponse) error
- func (e *Columns) Get(ctx context.Context, req *proto.GetRequest, rep *proto.GetResponse) error
- func (e *Columns) GetList(ctx context.Context, req *proto.GetListRequest, rep *proto.GetListResponse) error
- func (e *Columns) Update(ctx context.Context, req *proto.UpdateRequest, rep *proto.UpdateResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Columns ¶
type Columns struct{}
Columns Struct
func (*Columns) Add ¶
func (e *Columns) Add(ctx context.Context, req *proto.AddRequest, rep *proto.AddResponse) error
Add 添加一条记录
func (*Columns) BatchDelete ¶
func (e *Columns) BatchDelete(ctx context.Context, req *proto.DeleteRequest, rep *proto.DeleteResponse) error
BatchDelete 批量删除
func (*Columns) Get ¶
func (e *Columns) Get(ctx context.Context, req *proto.GetRequest, rep *proto.GetResponse) error
Get 获取单条记录
func (*Columns) GetList ¶
func (e *Columns) GetList(ctx context.Context, req *proto.GetListRequest, rep *proto.GetListResponse) error
GetList 获取列表,默认 id 倒排序
func (*Columns) Update ¶
func (e *Columns) Update(ctx context.Context, req *proto.UpdateRequest, rep *proto.UpdateResponse) error
Update 修改
Click to show internal directories.
Click to hide internal directories.