handler

package
v0.0.0-...-8e1814b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 修改

Jump to

Keyboard shortcuts

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