client

package
v0.0.0-...-7745932 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiInfo

type ApiInfo = pb.ApiInfo

type BaseResp

type BaseResp = pb.BaseResp

type BatchCreateUserReq

type BatchCreateUserReq = pb.BatchCreateUserReq

type ChangeDept

type ChangeDept = pb.ChangeDept

type ChangePasswdReq

type ChangePasswdReq = pb.ChangePasswdReq

type ChangePositionReq

type ChangePositionReq = pb.ChangePositionReq

type CreateApiReq

type CreateApiReq = pb.CreateApiReq

type CreateMenuParamReq

type CreateMenuParamReq = pb.CreateMenuParamReq

type CreateMenuReq

type CreateMenuReq = pb.CreateMenuReq

type CreateRoleReq

type CreateRoleReq = pb.CreateRoleReq

type CreateStationReq

type CreateStationReq = pb.CreateStationReq

type CreateTenantReq

type CreateTenantReq = pb.CreateTenantReq

type CreateTokenReq

type CreateTokenReq = pb.CreateTokenReq

type CreateUserReq

type CreateUserReq = pb.CreateUserReq

type Empty

type Empty = pb.Empty

type GetApiListResp

type GetApiListResp = pb.GetApiListResp

type GetApiResp

type GetApiResp = pb.GetApiResp

type GetMenuListReq

type GetMenuListReq = pb.GetMenuListReq

type GetMenuListResp

type GetMenuListResp = pb.GetMenuListResp

type GetParamsByMenuResp

type GetParamsByMenuResp = pb.GetParamsByMenuResp

type GetRoleResp

type GetRoleResp = pb.GetRoleResp

type GetStationByUserResp

type GetStationByUserResp = pb.GetStationByUserResp

type GetStationListResp

type GetStationListResp = pb.GetStationListResp

type GetStationResp

type GetStationResp = pb.GetStationResp

type GetTeantListResp

type GetTeantListResp = pb.GetTeantListResp

type GetTenantResp

type GetTenantResp = pb.GetTenantResp

type GetTokenListReq

type GetTokenListReq = pb.GetTokenListReq

type GetTokenListResp

type GetTokenListResp = pb.GetTokenListResp

type GetTokenResp

type GetTokenResp = pb.GetTokenResp

type GrantApiToRoleReq

type GrantApiToRoleReq = pb.GrantApiToRoleReq

type GrantMenuToRoleReq

type GrantMenuToRoleReq = pb.GrantMenuToRoleReq

type GrantMenusToRoleReq

type GrantMenusToRoleReq = pb.GrantMenusToRoleReq

type GrantRoleReq

type GrantRoleReq = pb.GrantRoleReq

type GrantRoleToStationReq

type GrantRoleToStationReq = pb.GrantRoleToStationReq

type IDReq

type IDReq = pb.IDReq

type IDResp

type IDResp = pb.IDResp

type IDsReq

type IDsReq = pb.IDsReq

type IDsResp

type IDsResp = pb.IDsResp

type LoginReq

type LoginReq = pb.LoginReq

type LoginResp

type LoginResp = pb.LoginResp
type MenuInfo = pb.MenuInfo
type MenuParamInfo = pb.MenuParamInfo

type Meta

type Meta = pb.Meta

type PageInfoReq

type PageInfoReq = pb.PageInfoReq

type ReplaceUserReq

type ReplaceUserReq = pb.ReplaceUserReq

type RoleInfo

type RoleInfo = pb.RoleInfo

type RoleListResp

type RoleListResp = pb.RoleListResp

type StationInfo

type StationInfo = pb.StationInfo

type StationUserReq

type StationUserReq = pb.StationUserReq

type StatusCodeReq

type StatusCodeReq = pb.StatusCodeReq

type TSRU

type TSRU = pb.TSRU

type TenantInfo

type TenantInfo = pb.TenantInfo

type TokenInfo

type TokenInfo = pb.TokenInfo

type UpdateApiReq

type UpdateApiReq = pb.UpdateApiReq

type UpdateMenuParamsReq

type UpdateMenuParamsReq = pb.UpdateMenuParamsReq

type UpdateMenuReq

type UpdateMenuReq = pb.UpdateMenuReq

type UpdatePeriodReq

type UpdatePeriodReq = pb.UpdatePeriodReq

type UpdateProfileReq

type UpdateProfileReq = pb.UpdateProfileReq

type UpdateRoleReq

type UpdateRoleReq = pb.UpdateRoleReq

type UpdateStationReq

type UpdateStationReq = pb.UpdateStationReq

type UpdateStatusReq

type UpdateStatusReq = pb.UpdateStatusReq

type UpdateTenantReq

type UpdateTenantReq = pb.UpdateTenantReq

type User

type User interface {
	CreateUser(ctx context.Context, in *CreateUserReq, opts ...grpc.CallOption) (*BaseResp, error)
	BatchCreateUsers(ctx context.Context, in *BatchCreateUserReq, opts ...grpc.CallOption) (*IDsResp, error)
	DeleteUser(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	BatchDeleteUser(ctx context.Context, in *IDsResp, opts ...grpc.CallOption) (*BaseResp, error)
	UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetUser(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*UserInfoResp, error)
	GetUserList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*UserListResp, error)
	UpdateUserStatus(ctx context.Context, in *StatusCodeReq, opts ...grpc.CallOption) (*BaseResp, error)
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	ChangePassword(ctx context.Context, in *ChangePasswdReq, opts ...grpc.CallOption) (*BaseResp, error)
}

func NewUser

func NewUser(cli zrpc.Client) User

type UserInfoResp

type UserInfoResp = pb.UserInfoResp

type UserListResp

type UserListResp = pb.UserListResp

Jump to

Keyboard shortcuts

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