handler

package
v0.0.0-...-9a7bc8d Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct{}

App Handler

func (*App) BatchFind

func (h *App) BatchFind(ctx context.Context, req *pb.BatchID, res *pb.AppMap) error

BatchFind App

func (*App) Create

func (h *App) Create(ctx context.Context, req *pb.AppModify, res *pb.AppInfo) error

Create App

func (*App) Delete

func (h *App) Delete(ctx context.Context, req *pb.AppModify, res *metaPb.None) error

Delete App

func (*App) Mark

func (h *App) Mark(ctx context.Context, req *pb.AppModify, res *pb.AppInfo) error

Mark App

func (*App) Search

func (h *App) Search(ctx context.Context, req *pb.SearchForm, res *pb.AppList) error

Search App

func (*App) Unmark

func (h *App) Unmark(ctx context.Context, req *pb.AppModify, res *pb.AppInfo) error

Unmark App

func (*App) Update

func (h *App) Update(ctx context.Context, req *pb.AppModify, res *pb.AppInfo) error

Update App

type Group

type Group struct{}

Group Handler

func (*Group) BatchFind

func (h *Group) BatchFind(ctx context.Context, req *pb.BatchID, res *pb.GroupMap) error

BatchFind Group

func (*Group) Create

func (h *Group) Create(ctx context.Context, req *pb.GroupModify, res *pb.GroupInfo) error

Create Group

func (*Group) Delete

func (h *Group) Delete(ctx context.Context, req *pb.GroupModify, res *metaPb.None) error

Delete Group

func (*Group) Invite

func (h *Group) Invite(ctx context.Context, req *pb.GroupModify, res *pb.GroupInfo) error

Invite Group

func (*Group) Join

func (h *Group) Join(ctx context.Context, req *pb.GroupModify, res *pb.GroupInfo) error

Join Group

func (*Group) Quit

func (h *Group) Quit(ctx context.Context, req *pb.GroupModify, res *pb.GroupInfo) error

Quit Group

func (*Group) Search

func (h *Group) Search(ctx context.Context, req *pb.SearchForm, res *pb.GroupList) error

Search Group

func (*Group) Update

func (h *Group) Update(ctx context.Context, req *pb.GroupModify, res *pb.GroupInfo) error

Update Group

type Org

type Org struct{}

Org Handler

func (*Org) BatchFind

func (h *Org) BatchFind(ctx context.Context, req *pb.BatchID, res *pb.OrgMap) error

BatchFind Org

func (*Org) Create

func (h *Org) Create(ctx context.Context, req *pb.OrgModify, res *pb.OrgInfo) error

Create Org

func (*Org) Delete

func (h *Org) Delete(ctx context.Context, req *pb.OrgModify, res *metaPb.None) error

Delete Org

func (*Org) Invite

func (h *Org) Invite(ctx context.Context, req *pb.OrgModify, res *pb.OrgInfo) error

Invite Org

func (*Org) Join

func (h *Org) Join(ctx context.Context, req *pb.OrgModify, res *pb.OrgInfo) error

Join Org

func (*Org) Quit

func (h *Org) Quit(ctx context.Context, req *pb.OrgModify, res *pb.OrgInfo) error

Quit Org

func (*Org) Search

func (h *Org) Search(ctx context.Context, req *pb.SearchForm, res *pb.OrgList) error

Search Org

func (*Org) Update

func (h *Org) Update(ctx context.Context, req *pb.OrgModify, res *pb.OrgInfo) error

Update Org

type User

type User struct{}

User Handler

func (*User) BatchFind

func (h *User) BatchFind(ctx context.Context, req *pb.BatchID, res *pb.UserMap) error

BatchFind User

func (*User) Search

func (h *User) Search(ctx context.Context, req *pb.SearchForm, res *pb.UserList) error

Search User

func (*User) Update

func (h *User) Update(ctx context.Context, req *pb.UserModify, res *pb.UserInfo) error

Update User

Jump to

Keyboard shortcuts

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