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: 11 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 {
	Client srvProto.ProtoColumnsService
}

Columns struct

func (*Columns) Add

func (e *Columns) Add(ctx context.Context, req *api.Request, rsp *api.Response) error

Add route POST /mshk/api/v1/ApiColumns/add 添加一个栏目

func (*Columns) BatchDelete

func (e *Columns) BatchDelete(ctx context.Context, req *api.Request, rsp *api.Response) error

BatchDelete 批量删除用户信息

func (*Columns) Get

func (e *Columns) Get(ctx context.Context, req *api.Request, rsp *api.Response) error

Get 获取单个条记录,根据ID

func (*Columns) GetList

func (e *Columns) GetList(ctx context.Context, req *api.Request, rsp *api.Response) error

GetList 获取用户列表,默认 id 倒排序

func (*Columns) Update

func (e *Columns) Update(ctx context.Context, req *api.Request, rsp *api.Response) error

Update 修改用户信息

Jump to

Keyboard shortcuts

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