server

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserServer

type UserServer struct {
	sys.UnimplementedUserServer
	// contains filtered or unexported fields
}

func NewUserServer

func NewUserServer(svcCtx *svc.ServiceContext) *UserServer

func (*UserServer) CheckToken

func (s *UserServer) CheckToken(ctx context.Context, in *sys.CheckTokenReq) (*sys.CheckTokenResp, error)

func (*UserServer) Create

func (*UserServer) Delete

func (s *UserServer) Delete(ctx context.Context, in *sys.UserDeleteReq) (*sys.Response, error)

func (*UserServer) Index

func (*UserServer) Login

func (s *UserServer) Login(ctx context.Context, in *sys.LoginReq) (*sys.LoginResp, error)

func (*UserServer) Read

func (*UserServer) Update

func (s *UserServer) Update(ctx context.Context, in *sys.UserUpdateReq) (*sys.Response, error)

Jump to

Keyboard shortcuts

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