client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckTokenReq

type CheckTokenReq = sys.CheckTokenReq

type CheckTokenResp

type CheckTokenResp = sys.CheckTokenResp

type JwtToken

type JwtToken = sys.JwtToken

type LoginReq

type LoginReq = sys.LoginReq

type LoginResp

type LoginResp = sys.LoginResp
type MenuCreateReq = sys.MenuCreateReq
type MenuData = sys.MenuData
type MenuDeleteReq = sys.MenuDeleteReq
type MenuIndexReq = sys.MenuIndexReq
type MenuIndexResp = sys.MenuIndexResp
type MenuUpdateReq = sys.MenuUpdateReq

type PageInfo

type PageInfo = sys.PageInfo

type Response

type Response = sys.Response

type RoleCreateReq

type RoleCreateReq = sys.RoleCreateReq

type RoleDeleteReq

type RoleDeleteReq = sys.RoleDeleteReq

type RoleIndexData

type RoleIndexData = sys.RoleIndexData

type RoleIndexReq

type RoleIndexReq = sys.RoleIndexReq

type RoleIndexResp

type RoleIndexResp = sys.RoleIndexResp

type RoleMenuUpdateReq

type RoleMenuUpdateReq = sys.RoleMenuUpdateReq

type RoleUpdateReq

type RoleUpdateReq = sys.RoleUpdateReq

type User

type User interface {
	Create(ctx context.Context, in *UserCreateReq, opts ...grpc.CallOption) (*UserCreateResp, error)
	Index(ctx context.Context, in *UserIndexReq, opts ...grpc.CallOption) (*UserIndexResp, error)
	Update(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*Response, error)
	Read(ctx context.Context, in *UserReadReq, opts ...grpc.CallOption) (*UserReadResp, error)
	Delete(ctx context.Context, in *UserDeleteReq, opts ...grpc.CallOption) (*Response, error)
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	CheckToken(ctx context.Context, in *CheckTokenReq, opts ...grpc.CallOption) (*CheckTokenResp, error)
}

func NewDirectUser

func NewDirectUser(svcCtx *svc.ServiceContext, svr sys.UserServer) User

func NewUser

func NewUser(cli zrpc.Client) User

type UserCreateReq

type UserCreateReq = sys.UserCreateReq

type UserCreateResp

type UserCreateResp = sys.UserCreateResp

type UserDeleteReq

type UserDeleteReq = sys.UserDeleteReq

type UserIndexReq

type UserIndexReq = sys.UserIndexReq

type UserIndexResp

type UserIndexResp = sys.UserIndexResp

type UserInfo

type UserInfo = sys.UserInfo

type UserReadReq

type UserReadReq = sys.UserReadReq

type UserReadResp

type UserReadResp = sys.UserReadResp

type UserUpdateReq

type UserUpdateReq = sys.UserUpdateReq

Jump to

Keyboard shortcuts

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