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 Api

type Api interface {
	CreateApi(ctx context.Context, in *CreateApiReq, opts ...grpc.CallOption) (*BaseResp, error)
	DeleteApi(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	UpdateApi(ctx context.Context, in *UpdateApiReq, opts ...grpc.CallOption) (*BaseResp, error)
	GetApi(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*GetApiResp, error)
	GetApiListByMenu(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*GetApiListResp, error)
}

func NewApi

func NewApi(cli zrpc.Client) Api

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 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