auth

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Auth_Register_FullMethodName        = "/auth.v1.Auth/Register"
	Auth_Pwd_FullMethodName             = "/auth.v1.Auth/Pwd"
	Auth_Login_FullMethodName           = "/auth.v1.Auth/Login"
	Auth_Status_FullMethodName          = "/auth.v1.Auth/Status"
	Auth_Captcha_FullMethodName         = "/auth.v1.Auth/Captcha"
	Auth_Refresh_FullMethodName         = "/auth.v1.Auth/Refresh"
	Auth_Logout_FullMethodName          = "/auth.v1.Auth/Logout"
	Auth_Info_FullMethodName            = "/auth.v1.Auth/Info"
	Auth_Idempotent_FullMethodName      = "/auth.v1.Auth/Idempotent"
	Auth_CheckIdempotent_FullMethodName = "/auth.v1.Auth/CheckIdempotent"
	Auth_GetUserByCode_FullMethodName   = "/auth.v1.Auth/GetUserByCode"
	Auth_FindUser_FullMethodName        = "/auth.v1.Auth/FindUser"
	Auth_UpdateUser_FullMethodName      = "/auth.v1.Auth/UpdateUser"
	Auth_DeleteUser_FullMethodName      = "/auth.v1.Auth/DeleteUser"
	Auth_Permission_FullMethodName      = "/auth.v1.Auth/Permission"
	Auth_CreateAction_FullMethodName    = "/auth.v1.Auth/CreateAction"
	Auth_FindAction_FullMethodName      = "/auth.v1.Auth/FindAction"
	Auth_UpdateAction_FullMethodName    = "/auth.v1.Auth/UpdateAction"
	Auth_DeleteAction_FullMethodName    = "/auth.v1.Auth/DeleteAction"
	Auth_CreateRole_FullMethodName      = "/auth.v1.Auth/CreateRole"
	Auth_FindRole_FullMethodName        = "/auth.v1.Auth/FindRole"
	Auth_UpdateRole_FullMethodName      = "/auth.v1.Auth/UpdateRole"
	Auth_DeleteRole_FullMethodName      = "/auth.v1.Auth/DeleteRole"
	Auth_CreateUserGroup_FullMethodName = "/auth.v1.Auth/CreateUserGroup"
	Auth_FindUserGroup_FullMethodName   = "/auth.v1.Auth/FindUserGroup"
	Auth_UpdateUserGroup_FullMethodName = "/auth.v1.Auth/UpdateUserGroup"
	Auth_DeleteUserGroup_FullMethodName = "/auth.v1.Auth/DeleteUserGroup"
	Auth_CreateWhitelist_FullMethodName = "/auth.v1.Auth/CreateWhitelist"
	Auth_HasWhitelist_FullMethodName    = "/auth.v1.Auth/HasWhitelist"
	Auth_FindWhitelist_FullMethodName   = "/auth.v1.Auth/FindWhitelist"
	Auth_UpdateWhitelist_FullMethodName = "/auth.v1.Auth/UpdateWhitelist"
	Auth_DeleteWhitelist_FullMethodName = "/auth.v1.Auth/DeleteWhitelist"
)
View Source
const OperationAuthCaptcha = "/auth.v1.Auth/Captcha"
View Source
const OperationAuthCreateAction = "/auth.v1.Auth/CreateAction"
View Source
const OperationAuthCreateRole = "/auth.v1.Auth/CreateRole"
View Source
const OperationAuthCreateUserGroup = "/auth.v1.Auth/CreateUserGroup"
View Source
const OperationAuthCreateWhitelist = "/auth.v1.Auth/CreateWhitelist"
View Source
const OperationAuthDeleteAction = "/auth.v1.Auth/DeleteAction"
View Source
const OperationAuthDeleteRole = "/auth.v1.Auth/DeleteRole"
View Source
const OperationAuthDeleteUser = "/auth.v1.Auth/DeleteUser"
View Source
const OperationAuthDeleteUserGroup = "/auth.v1.Auth/DeleteUserGroup"
View Source
const OperationAuthDeleteWhitelist = "/auth.v1.Auth/DeleteWhitelist"
View Source
const OperationAuthFindAction = "/auth.v1.Auth/FindAction"
View Source
const OperationAuthFindRole = "/auth.v1.Auth/FindRole"
View Source
const OperationAuthFindUser = "/auth.v1.Auth/FindUser"
View Source
const OperationAuthFindUserGroup = "/auth.v1.Auth/FindUserGroup"
View Source
const OperationAuthFindWhitelist = "/auth.v1.Auth/FindWhitelist"
View Source
const OperationAuthIdempotent = "/auth.v1.Auth/Idempotent"
View Source
const OperationAuthInfo = "/auth.v1.Auth/Info"
View Source
const OperationAuthLogin = "/auth.v1.Auth/Login"
View Source
const OperationAuthLogout = "/auth.v1.Auth/Logout"
View Source
const OperationAuthPermission = "/auth.v1.Auth/Permission"
View Source
const OperationAuthPwd = "/auth.v1.Auth/Pwd"
View Source
const OperationAuthRefresh = "/auth.v1.Auth/Refresh"
View Source
const OperationAuthRegister = "/auth.v1.Auth/Register"
View Source
const OperationAuthStatus = "/auth.v1.Auth/Status"
View Source
const OperationAuthUpdateAction = "/auth.v1.Auth/UpdateAction"
View Source
const OperationAuthUpdateRole = "/auth.v1.Auth/UpdateRole"
View Source
const OperationAuthUpdateUser = "/auth.v1.Auth/UpdateUser"
View Source
const OperationAuthUpdateUserGroup = "/auth.v1.Auth/UpdateUserGroup"
View Source
const OperationAuthUpdateWhitelist = "/auth.v1.Auth/UpdateWhitelist"

Variables

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.v1.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _Auth_Register_Handler,
		},
		{
			MethodName: "Pwd",
			Handler:    _Auth_Pwd_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _Auth_Login_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _Auth_Status_Handler,
		},
		{
			MethodName: "Captcha",
			Handler:    _Auth_Captcha_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _Auth_Refresh_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _Auth_Logout_Handler,
		},
		{
			MethodName: "Info",
			Handler:    _Auth_Info_Handler,
		},
		{
			MethodName: "Idempotent",
			Handler:    _Auth_Idempotent_Handler,
		},
		{
			MethodName: "CheckIdempotent",
			Handler:    _Auth_CheckIdempotent_Handler,
		},
		{
			MethodName: "GetUserByCode",
			Handler:    _Auth_GetUserByCode_Handler,
		},
		{
			MethodName: "FindUser",
			Handler:    _Auth_FindUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _Auth_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _Auth_DeleteUser_Handler,
		},
		{
			MethodName: "Permission",
			Handler:    _Auth_Permission_Handler,
		},
		{
			MethodName: "CreateAction",
			Handler:    _Auth_CreateAction_Handler,
		},
		{
			MethodName: "FindAction",
			Handler:    _Auth_FindAction_Handler,
		},
		{
			MethodName: "UpdateAction",
			Handler:    _Auth_UpdateAction_Handler,
		},
		{
			MethodName: "DeleteAction",
			Handler:    _Auth_DeleteAction_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _Auth_CreateRole_Handler,
		},
		{
			MethodName: "FindRole",
			Handler:    _Auth_FindRole_Handler,
		},
		{
			MethodName: "UpdateRole",
			Handler:    _Auth_UpdateRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _Auth_DeleteRole_Handler,
		},
		{
			MethodName: "CreateUserGroup",
			Handler:    _Auth_CreateUserGroup_Handler,
		},
		{
			MethodName: "FindUserGroup",
			Handler:    _Auth_FindUserGroup_Handler,
		},
		{
			MethodName: "UpdateUserGroup",
			Handler:    _Auth_UpdateUserGroup_Handler,
		},
		{
			MethodName: "DeleteUserGroup",
			Handler:    _Auth_DeleteUserGroup_Handler,
		},
		{
			MethodName: "CreateWhitelist",
			Handler:    _Auth_CreateWhitelist_Handler,
		},
		{
			MethodName: "HasWhitelist",
			Handler:    _Auth_HasWhitelist_Handler,
		},
		{
			MethodName: "FindWhitelist",
			Handler:    _Auth_FindWhitelist_Handler,
		},
		{
			MethodName: "UpdateWhitelist",
			Handler:    _Auth_UpdateWhitelist_Handler,
		},
		{
			MethodName: "DeleteWhitelist",
			Handler:    _Auth_DeleteWhitelist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "auth-proto/auth.proto",
}

Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_auth_proto_auth_proto protoreflect.FileDescriptor

Functions

func RegisterAuthHTTPServer

func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

Types

type Action

type Action struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Code     string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Word     string `protobuf:"bytes,4,opt,name=word,proto3" json:"word,omitempty"`
	Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	Menu     string `protobuf:"bytes,6,opt,name=menu,proto3" json:"menu,omitempty"`
	Btn      string `protobuf:"bytes,7,opt,name=btn,proto3" json:"btn,omitempty"`
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated

func (*Action) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetBtn

func (x *Action) GetBtn() string

func (*Action) GetCode

func (x *Action) GetCode() string

func (*Action) GetId

func (x *Action) GetId() uint64

func (*Action) GetMenu

func (x *Action) GetMenu() string

func (*Action) GetName

func (x *Action) GetName() string

func (*Action) GetResource

func (x *Action) GetResource() string

func (*Action) GetWord

func (x *Action) GetWord() string

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

func (*Action) Validate

func (m *Action) Validate() error

Validate checks the field values on Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Action) ValidateAll

func (m *Action) ValidateAll() error

ValidateAll checks the field values on Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionMultiError, or nil if none found.

type ActionMultiError

type ActionMultiError []error

ActionMultiError is an error wrapping multiple validation errors returned by Action.ValidateAll() if the designated constraints aren't met.

func (ActionMultiError) AllErrors

func (m ActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActionMultiError) Error

func (m ActionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ActionValidationError

type ActionValidationError struct {
	// contains filtered or unexported fields
}

ActionValidationError is the validation error returned by Action.Validate if the designated constraints aren't met.

func (ActionValidationError) Cause

func (e ActionValidationError) Cause() error

Cause function returns cause value.

func (ActionValidationError) Error

func (e ActionValidationError) Error() string

Error satisfies the builtin error interface

func (ActionValidationError) ErrorName

func (e ActionValidationError) ErrorName() string

ErrorName returns error name.

func (ActionValidationError) Field

func (e ActionValidationError) Field() string

Field function returns field value.

func (ActionValidationError) Key

func (e ActionValidationError) Key() bool

Key function returns key value.

func (ActionValidationError) Reason

func (e ActionValidationError) Reason() string

Reason function returns reason value.

type AuthClient

type AuthClient interface {
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Pwd(ctx context.Context, in *PwdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusReply, error)
	Captcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error)
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*LoginReply, error)
	Logout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoReply, error)
	Idempotent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IdempotentReply, error)
	CheckIdempotent(ctx context.Context, in *CheckIdempotentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUserByCode(ctx context.Context, in *GetUserByCodeRequest, opts ...grpc.CallOption) (*GetUserByCodeReply, error)
	FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*FindUserReply, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteUser(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Permission(ctx context.Context, in *PermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FindAction(ctx context.Context, in *FindActionRequest, opts ...grpc.CallOption) (*FindActionReply, error)
	UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteAction(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FindRole(ctx context.Context, in *FindRoleRequest, opts ...grpc.CallOption) (*FindRoleReply, error)
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteRole(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FindUserGroup(ctx context.Context, in *FindUserGroupRequest, opts ...grpc.CallOption) (*FindUserGroupReply, error)
	UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteUserGroup(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateWhitelist(ctx context.Context, in *CreateWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	HasWhitelist(ctx context.Context, in *HasWhitelistRequest, opts ...grpc.CallOption) (*HasWhitelistReply, error)
	FindWhitelist(ctx context.Context, in *FindWhitelistRequest, opts ...grpc.CallOption) (*FindWhitelistReply, error)
	UpdateWhitelist(ctx context.Context, in *UpdateWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteWhitelist(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AuthClient is the client API for Auth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthHTTPClient

type AuthHTTPClient interface {
	Captcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error)
	CreateAction(ctx context.Context, req *CreateActionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CreateRole(ctx context.Context, req *CreateRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CreateUserGroup(ctx context.Context, req *CreateUserGroupRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CreateWhitelist(ctx context.Context, req *CreateWhitelistRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteAction(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteRole(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteUser(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteUserGroup(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteWhitelist(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	FindAction(ctx context.Context, req *FindActionRequest, opts ...http.CallOption) (rsp *FindActionReply, err error)
	FindRole(ctx context.Context, req *FindRoleRequest, opts ...http.CallOption) (rsp *FindRoleReply, err error)
	FindUser(ctx context.Context, req *FindUserRequest, opts ...http.CallOption) (rsp *FindUserReply, err error)
	FindUserGroup(ctx context.Context, req *FindUserGroupRequest, opts ...http.CallOption) (rsp *FindUserGroupReply, err error)
	FindWhitelist(ctx context.Context, req *FindWhitelistRequest, opts ...http.CallOption) (rsp *FindWhitelistReply, err error)
	Idempotent(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *IdempotentReply, err error)
	Info(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *InfoReply, err error)
	Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	Logout(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	Permission(ctx context.Context, req *PermissionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	Pwd(ctx context.Context, req *PwdRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	Refresh(ctx context.Context, req *RefreshRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	Register(ctx context.Context, req *RegisterRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	Status(ctx context.Context, req *StatusRequest, opts ...http.CallOption) (rsp *StatusReply, err error)
	UpdateAction(ctx context.Context, req *UpdateActionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateRole(ctx context.Context, req *UpdateRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateUserGroup(ctx context.Context, req *UpdateUserGroupRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateWhitelist(ctx context.Context, req *UpdateWhitelistRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewAuthHTTPClient

func NewAuthHTTPClient(client *http.Client) AuthHTTPClient

type AuthHTTPClientImpl

type AuthHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*AuthHTTPClientImpl) Captcha

func (c *AuthHTTPClientImpl) Captcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)

func (*AuthHTTPClientImpl) CreateAction

func (c *AuthHTTPClientImpl) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) CreateRole

func (c *AuthHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) CreateUserGroup

func (c *AuthHTTPClientImpl) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) CreateWhitelist added in v1.0.3

func (c *AuthHTTPClientImpl) CreateWhitelist(ctx context.Context, in *CreateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) DeleteAction

func (c *AuthHTTPClientImpl) DeleteAction(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) DeleteRole

func (c *AuthHTTPClientImpl) DeleteRole(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) DeleteUser

func (c *AuthHTTPClientImpl) DeleteUser(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) DeleteUserGroup

func (c *AuthHTTPClientImpl) DeleteUserGroup(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) DeleteWhitelist added in v1.0.3

func (c *AuthHTTPClientImpl) DeleteWhitelist(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) FindAction

func (*AuthHTTPClientImpl) FindRole

func (*AuthHTTPClientImpl) FindUser

func (*AuthHTTPClientImpl) FindUserGroup

func (*AuthHTTPClientImpl) FindWhitelist added in v1.0.3

func (*AuthHTTPClientImpl) Idempotent

func (c *AuthHTTPClientImpl) Idempotent(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*IdempotentReply, error)

func (*AuthHTTPClientImpl) Info

func (c *AuthHTTPClientImpl) Info(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*InfoReply, error)

func (*AuthHTTPClientImpl) Login

func (*AuthHTTPClientImpl) Logout

func (c *AuthHTTPClientImpl) Logout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) Permission added in v1.0.3

func (c *AuthHTTPClientImpl) Permission(ctx context.Context, in *PermissionRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) Pwd

func (*AuthHTTPClientImpl) Refresh

func (c *AuthHTTPClientImpl) Refresh(ctx context.Context, in *RefreshRequest, opts ...http.CallOption) (*LoginReply, error)

func (*AuthHTTPClientImpl) Register

func (c *AuthHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) Status

func (*AuthHTTPClientImpl) UpdateAction

func (c *AuthHTTPClientImpl) UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) UpdateRole

func (c *AuthHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) UpdateUser

func (c *AuthHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) UpdateUserGroup

func (c *AuthHTTPClientImpl) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*AuthHTTPClientImpl) UpdateWhitelist added in v1.0.3

func (c *AuthHTTPClientImpl) UpdateWhitelist(ctx context.Context, in *UpdateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)

type AuthHTTPServer

type AuthHTTPServer interface {
	Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
	CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error)
	CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error)
	CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error)
	CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error)
	DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	FindAction(context.Context, *FindActionRequest) (*FindActionReply, error)
	FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error)
	FindUser(context.Context, *FindUserRequest) (*FindUserReply, error)
	FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error)
	FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error)
	Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error)
	Info(context.Context, *emptypb.Empty) (*InfoReply, error)
	Login(context.Context, *LoginRequest) (*LoginReply, error)
	Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error)
	Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error)
	Refresh(context.Context, *RefreshRequest) (*LoginReply, error)
	Register(context.Context, *RegisterRequest) (*emptypb.Empty, error)
	Status(context.Context, *StatusRequest) (*StatusReply, error)
	UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error)
	UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
	UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error)
	UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error)
}

type AuthServer

type AuthServer interface {
	Register(context.Context, *RegisterRequest) (*emptypb.Empty, error)
	Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error)
	Login(context.Context, *LoginRequest) (*LoginReply, error)
	Status(context.Context, *StatusRequest) (*StatusReply, error)
	Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
	Refresh(context.Context, *RefreshRequest) (*LoginReply, error)
	Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Info(context.Context, *emptypb.Empty) (*InfoReply, error)
	Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error)
	CheckIdempotent(context.Context, *CheckIdempotentRequest) (*emptypb.Empty, error)
	GetUserByCode(context.Context, *GetUserByCodeRequest) (*GetUserByCodeReply, error)
	FindUser(context.Context, *FindUserRequest) (*FindUserReply, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
	DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error)
	CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error)
	FindAction(context.Context, *FindActionRequest) (*FindActionReply, error)
	UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error)
	DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error)
	FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error)
	UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
	DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error)
	FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error)
	UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error)
	DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error)
	HasWhitelist(context.Context, *HasWhitelistRequest) (*HasWhitelistReply, error)
	FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error)
	UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error)
	DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility

type Captcha

type Captcha struct {
	Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Img string `protobuf:"bytes,2,opt,name=img,proto3" json:"img,omitempty"`
	// contains filtered or unexported fields
}

func (*Captcha) Descriptor deprecated

func (*Captcha) Descriptor() ([]byte, []int)

Deprecated: Use Captcha.ProtoReflect.Descriptor instead.

func (*Captcha) GetId

func (x *Captcha) GetId() string

func (*Captcha) GetImg

func (x *Captcha) GetImg() string

func (*Captcha) ProtoMessage

func (*Captcha) ProtoMessage()

func (*Captcha) ProtoReflect

func (x *Captcha) ProtoReflect() protoreflect.Message

func (*Captcha) Reset

func (x *Captcha) Reset()

func (*Captcha) String

func (x *Captcha) String() string

func (*Captcha) Validate

func (m *Captcha) Validate() error

Validate checks the field values on Captcha with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Captcha) ValidateAll

func (m *Captcha) ValidateAll() error

ValidateAll checks the field values on Captcha with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaMultiError, or nil if none found.

type CaptchaMultiError

type CaptchaMultiError []error

CaptchaMultiError is an error wrapping multiple validation errors returned by Captcha.ValidateAll() if the designated constraints aren't met.

func (CaptchaMultiError) AllErrors

func (m CaptchaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CaptchaMultiError) Error

func (m CaptchaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CaptchaReply

type CaptchaReply struct {
	Captcha *Captcha `protobuf:"bytes,1,opt,name=captcha,proto3" json:"captcha,omitempty"`
	// contains filtered or unexported fields
}

func (*CaptchaReply) Descriptor deprecated

func (*CaptchaReply) Descriptor() ([]byte, []int)

Deprecated: Use CaptchaReply.ProtoReflect.Descriptor instead.

func (*CaptchaReply) GetCaptcha

func (x *CaptchaReply) GetCaptcha() *Captcha

func (*CaptchaReply) ProtoMessage

func (*CaptchaReply) ProtoMessage()

func (*CaptchaReply) ProtoReflect

func (x *CaptchaReply) ProtoReflect() protoreflect.Message

func (*CaptchaReply) Reset

func (x *CaptchaReply) Reset()

func (*CaptchaReply) String

func (x *CaptchaReply) String() string

func (*CaptchaReply) Validate

func (m *CaptchaReply) Validate() error

Validate checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CaptchaReply) ValidateAll

func (m *CaptchaReply) ValidateAll() error

ValidateAll checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaReplyMultiError, or nil if none found.

type CaptchaReplyMultiError

type CaptchaReplyMultiError []error

CaptchaReplyMultiError is an error wrapping multiple validation errors returned by CaptchaReply.ValidateAll() if the designated constraints aren't met.

func (CaptchaReplyMultiError) AllErrors

func (m CaptchaReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CaptchaReplyMultiError) Error

func (m CaptchaReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CaptchaReplyValidationError

type CaptchaReplyValidationError struct {
	// contains filtered or unexported fields
}

CaptchaReplyValidationError is the validation error returned by CaptchaReply.Validate if the designated constraints aren't met.

func (CaptchaReplyValidationError) Cause

Cause function returns cause value.

func (CaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (CaptchaReplyValidationError) ErrorName

func (e CaptchaReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaReplyValidationError) Field

Field function returns field value.

func (CaptchaReplyValidationError) Key

Key function returns key value.

func (CaptchaReplyValidationError) Reason

Reason function returns reason value.

type CaptchaValidationError

type CaptchaValidationError struct {
	// contains filtered or unexported fields
}

CaptchaValidationError is the validation error returned by Captcha.Validate if the designated constraints aren't met.

func (CaptchaValidationError) Cause

func (e CaptchaValidationError) Cause() error

Cause function returns cause value.

func (CaptchaValidationError) Error

func (e CaptchaValidationError) Error() string

Error satisfies the builtin error interface

func (CaptchaValidationError) ErrorName

func (e CaptchaValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaValidationError) Field

func (e CaptchaValidationError) Field() string

Field function returns field value.

func (CaptchaValidationError) Key

func (e CaptchaValidationError) Key() bool

Key function returns key value.

func (CaptchaValidationError) Reason

func (e CaptchaValidationError) Reason() string

Reason function returns reason value.

type CheckIdempotentRequest added in v1.0.3

type CheckIdempotentRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckIdempotentRequest) Descriptor deprecated added in v1.0.3

func (*CheckIdempotentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckIdempotentRequest.ProtoReflect.Descriptor instead.

func (*CheckIdempotentRequest) GetToken added in v1.0.3

func (x *CheckIdempotentRequest) GetToken() string

func (*CheckIdempotentRequest) ProtoMessage added in v1.0.3

func (*CheckIdempotentRequest) ProtoMessage()

func (*CheckIdempotentRequest) ProtoReflect added in v1.0.3

func (x *CheckIdempotentRequest) ProtoReflect() protoreflect.Message

func (*CheckIdempotentRequest) Reset added in v1.0.3

func (x *CheckIdempotentRequest) Reset()

func (*CheckIdempotentRequest) String added in v1.0.3

func (x *CheckIdempotentRequest) String() string

func (*CheckIdempotentRequest) Validate added in v1.0.3

func (m *CheckIdempotentRequest) Validate() error

Validate checks the field values on CheckIdempotentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CheckIdempotentRequest) ValidateAll added in v1.0.3

func (m *CheckIdempotentRequest) ValidateAll() error

ValidateAll checks the field values on CheckIdempotentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckIdempotentRequestMultiError, or nil if none found.

type CheckIdempotentRequestMultiError added in v1.0.3

type CheckIdempotentRequestMultiError []error

CheckIdempotentRequestMultiError is an error wrapping multiple validation errors returned by CheckIdempotentRequest.ValidateAll() if the designated constraints aren't met.

func (CheckIdempotentRequestMultiError) AllErrors added in v1.0.3

func (m CheckIdempotentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckIdempotentRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type CheckIdempotentRequestValidationError added in v1.0.3

type CheckIdempotentRequestValidationError struct {
	// contains filtered or unexported fields
}

CheckIdempotentRequestValidationError is the validation error returned by CheckIdempotentRequest.Validate if the designated constraints aren't met.

func (CheckIdempotentRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (CheckIdempotentRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (CheckIdempotentRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (CheckIdempotentRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (CheckIdempotentRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (CheckIdempotentRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type CreateActionRequest

type CreateActionRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Word     string `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"`
	Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	Menu     string `protobuf:"bytes,4,opt,name=menu,proto3" json:"menu,omitempty"`
	Btn      string `protobuf:"bytes,5,opt,name=btn,proto3" json:"btn,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateActionRequest) Descriptor deprecated

func (*CreateActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateActionRequest.ProtoReflect.Descriptor instead.

func (*CreateActionRequest) GetBtn

func (x *CreateActionRequest) GetBtn() string

func (*CreateActionRequest) GetMenu

func (x *CreateActionRequest) GetMenu() string

func (*CreateActionRequest) GetName

func (x *CreateActionRequest) GetName() string

func (*CreateActionRequest) GetResource

func (x *CreateActionRequest) GetResource() string

func (*CreateActionRequest) GetWord

func (x *CreateActionRequest) GetWord() string

func (*CreateActionRequest) ProtoMessage

func (*CreateActionRequest) ProtoMessage()

func (*CreateActionRequest) ProtoReflect

func (x *CreateActionRequest) ProtoReflect() protoreflect.Message

func (*CreateActionRequest) Reset

func (x *CreateActionRequest) Reset()

func (*CreateActionRequest) String

func (x *CreateActionRequest) String() string

func (*CreateActionRequest) Validate

func (m *CreateActionRequest) Validate() error

Validate checks the field values on CreateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateActionRequest) ValidateAll

func (m *CreateActionRequest) ValidateAll() error

ValidateAll checks the field values on CreateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateActionRequestMultiError, or nil if none found.

type CreateActionRequestMultiError

type CreateActionRequestMultiError []error

CreateActionRequestMultiError is an error wrapping multiple validation errors returned by CreateActionRequest.ValidateAll() if the designated constraints aren't met.

func (CreateActionRequestMultiError) AllErrors

func (m CreateActionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateActionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateActionRequestValidationError

type CreateActionRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateActionRequestValidationError is the validation error returned by CreateActionRequest.Validate if the designated constraints aren't met.

func (CreateActionRequestValidationError) Cause

Cause function returns cause value.

func (CreateActionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateActionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateActionRequestValidationError) Field

Field function returns field value.

func (CreateActionRequestValidationError) Key

Key function returns key value.

func (CreateActionRequestValidationError) Reason

Reason function returns reason value.

type CreateRoleRequest

type CreateRoleRequest struct {
	Name   string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Word   string  `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"`
	Action *string `protobuf:"bytes,3,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequest) Descriptor deprecated

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetAction

func (x *CreateRoleRequest) GetAction() string

func (*CreateRoleRequest) GetName

func (x *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetWord

func (x *CreateRoleRequest) GetWord() string

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message

func (*CreateRoleRequest) Reset

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (x *CreateRoleRequest) String() string

func (*CreateRoleRequest) Validate

func (m *CreateRoleRequest) Validate() error

Validate checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRoleRequest) ValidateAll

func (m *CreateRoleRequest) ValidateAll() error

ValidateAll checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleRequestMultiError, or nil if none found.

type CreateRoleRequestMultiError

type CreateRoleRequestMultiError []error

CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.

func (CreateRoleRequestMultiError) AllErrors

func (m CreateRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRoleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateRoleRequestValidationError

type CreateRoleRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.

func (CreateRoleRequestValidationError) Cause

Cause function returns cause value.

func (CreateRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateRoleRequestValidationError) Field

Field function returns field value.

func (CreateRoleRequestValidationError) Key

Key function returns key value.

func (CreateRoleRequestValidationError) Reason

Reason function returns reason value.

type CreateUserGroupRequest

type CreateUserGroupRequest struct {
	Users  []uint64 `protobuf:"varint,1,rep,packed,name=users,proto3" json:"users,omitempty"`
	Name   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Word   string   `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	Action *string  `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserGroupRequest) Descriptor deprecated

func (*CreateUserGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateUserGroupRequest) GetAction

func (x *CreateUserGroupRequest) GetAction() string

func (*CreateUserGroupRequest) GetName

func (x *CreateUserGroupRequest) GetName() string

func (*CreateUserGroupRequest) GetUsers

func (x *CreateUserGroupRequest) GetUsers() []uint64

func (*CreateUserGroupRequest) GetWord

func (x *CreateUserGroupRequest) GetWord() string

func (*CreateUserGroupRequest) ProtoMessage

func (*CreateUserGroupRequest) ProtoMessage()

func (*CreateUserGroupRequest) ProtoReflect

func (x *CreateUserGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateUserGroupRequest) Reset

func (x *CreateUserGroupRequest) Reset()

func (*CreateUserGroupRequest) String

func (x *CreateUserGroupRequest) String() string

func (*CreateUserGroupRequest) Validate

func (m *CreateUserGroupRequest) Validate() error

Validate checks the field values on CreateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserGroupRequest) ValidateAll

func (m *CreateUserGroupRequest) ValidateAll() error

ValidateAll checks the field values on CreateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserGroupRequestMultiError, or nil if none found.

type CreateUserGroupRequestMultiError

type CreateUserGroupRequestMultiError []error

CreateUserGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateUserGroupRequest.ValidateAll() if the designated constraints aren't met.

func (CreateUserGroupRequestMultiError) AllErrors

func (m CreateUserGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserGroupRequestValidationError

type CreateUserGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateUserGroupRequestValidationError is the validation error returned by CreateUserGroupRequest.Validate if the designated constraints aren't met.

func (CreateUserGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserGroupRequestValidationError) Field

Field function returns field value.

func (CreateUserGroupRequestValidationError) Key

Key function returns key value.

func (CreateUserGroupRequestValidationError) Reason

Reason function returns reason value.

type CreateWhitelistRequest added in v1.0.3

type CreateWhitelistRequest struct {
	Category uint32 `protobuf:"varint,1,opt,name=category,proto3" json:"category,omitempty"`
	Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWhitelistRequest) Descriptor deprecated added in v1.0.3

func (*CreateWhitelistRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWhitelistRequest.ProtoReflect.Descriptor instead.

func (*CreateWhitelistRequest) GetCategory added in v1.0.3

func (x *CreateWhitelistRequest) GetCategory() uint32

func (*CreateWhitelistRequest) GetResource added in v1.0.3

func (x *CreateWhitelistRequest) GetResource() string

func (*CreateWhitelistRequest) ProtoMessage added in v1.0.3

func (*CreateWhitelistRequest) ProtoMessage()

func (*CreateWhitelistRequest) ProtoReflect added in v1.0.3

func (x *CreateWhitelistRequest) ProtoReflect() protoreflect.Message

func (*CreateWhitelistRequest) Reset added in v1.0.3

func (x *CreateWhitelistRequest) Reset()

func (*CreateWhitelistRequest) String added in v1.0.3

func (x *CreateWhitelistRequest) String() string

func (*CreateWhitelistRequest) Validate added in v1.0.3

func (m *CreateWhitelistRequest) Validate() error

Validate checks the field values on CreateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateWhitelistRequest) ValidateAll added in v1.0.3

func (m *CreateWhitelistRequest) ValidateAll() error

ValidateAll checks the field values on CreateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWhitelistRequestMultiError, or nil if none found.

type CreateWhitelistRequestMultiError added in v1.0.3

type CreateWhitelistRequestMultiError []error

CreateWhitelistRequestMultiError is an error wrapping multiple validation errors returned by CreateWhitelistRequest.ValidateAll() if the designated constraints aren't met.

func (CreateWhitelistRequestMultiError) AllErrors added in v1.0.3

func (m CreateWhitelistRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateWhitelistRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type CreateWhitelistRequestValidationError added in v1.0.3

type CreateWhitelistRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateWhitelistRequestValidationError is the validation error returned by CreateWhitelistRequest.Validate if the designated constraints aren't met.

func (CreateWhitelistRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (CreateWhitelistRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (CreateWhitelistRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (CreateWhitelistRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (CreateWhitelistRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (CreateWhitelistRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type FindActionReply

type FindActionReply struct {
	Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	List []*Action    `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindActionReply) Descriptor deprecated

func (*FindActionReply) Descriptor() ([]byte, []int)

Deprecated: Use FindActionReply.ProtoReflect.Descriptor instead.

func (*FindActionReply) GetList

func (x *FindActionReply) GetList() []*Action

func (*FindActionReply) GetPage

func (x *FindActionReply) GetPage() *params.Page

func (*FindActionReply) ProtoMessage

func (*FindActionReply) ProtoMessage()

func (*FindActionReply) ProtoReflect

func (x *FindActionReply) ProtoReflect() protoreflect.Message

func (*FindActionReply) Reset

func (x *FindActionReply) Reset()

func (*FindActionReply) String

func (x *FindActionReply) String() string

func (*FindActionReply) Validate

func (m *FindActionReply) Validate() error

Validate checks the field values on FindActionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindActionReply) ValidateAll

func (m *FindActionReply) ValidateAll() error

ValidateAll checks the field values on FindActionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindActionReplyMultiError, or nil if none found.

type FindActionReplyMultiError

type FindActionReplyMultiError []error

FindActionReplyMultiError is an error wrapping multiple validation errors returned by FindActionReply.ValidateAll() if the designated constraints aren't met.

func (FindActionReplyMultiError) AllErrors

func (m FindActionReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindActionReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindActionReplyValidationError

type FindActionReplyValidationError struct {
	// contains filtered or unexported fields
}

FindActionReplyValidationError is the validation error returned by FindActionReply.Validate if the designated constraints aren't met.

func (FindActionReplyValidationError) Cause

Cause function returns cause value.

func (FindActionReplyValidationError) Error

Error satisfies the builtin error interface

func (FindActionReplyValidationError) ErrorName

func (e FindActionReplyValidationError) ErrorName() string

ErrorName returns error name.

func (FindActionReplyValidationError) Field

Field function returns field value.

func (FindActionReplyValidationError) Key

Key function returns key value.

func (FindActionReplyValidationError) Reason

Reason function returns reason value.

type FindActionRequest

type FindActionRequest struct {
	Page     *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Code     *string      `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"`
	Name     *string      `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word     *string      `protobuf:"bytes,4,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Resource *string      `protobuf:"bytes,5,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*FindActionRequest) Descriptor deprecated

func (*FindActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindActionRequest.ProtoReflect.Descriptor instead.

func (*FindActionRequest) GetCode

func (x *FindActionRequest) GetCode() string

func (*FindActionRequest) GetName

func (x *FindActionRequest) GetName() string

func (*FindActionRequest) GetPage

func (x *FindActionRequest) GetPage() *params.Page

func (*FindActionRequest) GetResource

func (x *FindActionRequest) GetResource() string

func (*FindActionRequest) GetWord

func (x *FindActionRequest) GetWord() string

func (*FindActionRequest) ProtoMessage

func (*FindActionRequest) ProtoMessage()

func (*FindActionRequest) ProtoReflect

func (x *FindActionRequest) ProtoReflect() protoreflect.Message

func (*FindActionRequest) Reset

func (x *FindActionRequest) Reset()

func (*FindActionRequest) String

func (x *FindActionRequest) String() string

func (*FindActionRequest) Validate

func (m *FindActionRequest) Validate() error

Validate checks the field values on FindActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindActionRequest) ValidateAll

func (m *FindActionRequest) ValidateAll() error

ValidateAll checks the field values on FindActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindActionRequestMultiError, or nil if none found.

type FindActionRequestMultiError

type FindActionRequestMultiError []error

FindActionRequestMultiError is an error wrapping multiple validation errors returned by FindActionRequest.ValidateAll() if the designated constraints aren't met.

func (FindActionRequestMultiError) AllErrors

func (m FindActionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindActionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindActionRequestValidationError

type FindActionRequestValidationError struct {
	// contains filtered or unexported fields
}

FindActionRequestValidationError is the validation error returned by FindActionRequest.Validate if the designated constraints aren't met.

func (FindActionRequestValidationError) Cause

Cause function returns cause value.

func (FindActionRequestValidationError) Error

Error satisfies the builtin error interface

func (FindActionRequestValidationError) ErrorName

ErrorName returns error name.

func (FindActionRequestValidationError) Field

Field function returns field value.

func (FindActionRequestValidationError) Key

Key function returns key value.

func (FindActionRequestValidationError) Reason

Reason function returns reason value.

type FindRoleReply

type FindRoleReply struct {
	Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	List []*Role      `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindRoleReply) Descriptor deprecated

func (*FindRoleReply) Descriptor() ([]byte, []int)

Deprecated: Use FindRoleReply.ProtoReflect.Descriptor instead.

func (*FindRoleReply) GetList

func (x *FindRoleReply) GetList() []*Role

func (*FindRoleReply) GetPage

func (x *FindRoleReply) GetPage() *params.Page

func (*FindRoleReply) ProtoMessage

func (*FindRoleReply) ProtoMessage()

func (*FindRoleReply) ProtoReflect

func (x *FindRoleReply) ProtoReflect() protoreflect.Message

func (*FindRoleReply) Reset

func (x *FindRoleReply) Reset()

func (*FindRoleReply) String

func (x *FindRoleReply) String() string

func (*FindRoleReply) Validate

func (m *FindRoleReply) Validate() error

Validate checks the field values on FindRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindRoleReply) ValidateAll

func (m *FindRoleReply) ValidateAll() error

ValidateAll checks the field values on FindRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindRoleReplyMultiError, or nil if none found.

type FindRoleReplyMultiError

type FindRoleReplyMultiError []error

FindRoleReplyMultiError is an error wrapping multiple validation errors returned by FindRoleReply.ValidateAll() if the designated constraints aren't met.

func (FindRoleReplyMultiError) AllErrors

func (m FindRoleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindRoleReplyMultiError) Error

func (m FindRoleReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FindRoleReplyValidationError

type FindRoleReplyValidationError struct {
	// contains filtered or unexported fields
}

FindRoleReplyValidationError is the validation error returned by FindRoleReply.Validate if the designated constraints aren't met.

func (FindRoleReplyValidationError) Cause

Cause function returns cause value.

func (FindRoleReplyValidationError) Error

Error satisfies the builtin error interface

func (FindRoleReplyValidationError) ErrorName

func (e FindRoleReplyValidationError) ErrorName() string

ErrorName returns error name.

func (FindRoleReplyValidationError) Field

Field function returns field value.

func (FindRoleReplyValidationError) Key

Key function returns key value.

func (FindRoleReplyValidationError) Reason

Reason function returns reason value.

type FindRoleRequest

type FindRoleRequest struct {
	Page   *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name   *string      `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word   *string      `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Action *string      `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*FindRoleRequest) Descriptor deprecated

func (*FindRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindRoleRequest.ProtoReflect.Descriptor instead.

func (*FindRoleRequest) GetAction

func (x *FindRoleRequest) GetAction() string

func (*FindRoleRequest) GetName

func (x *FindRoleRequest) GetName() string

func (*FindRoleRequest) GetPage

func (x *FindRoleRequest) GetPage() *params.Page

func (*FindRoleRequest) GetWord

func (x *FindRoleRequest) GetWord() string

func (*FindRoleRequest) ProtoMessage

func (*FindRoleRequest) ProtoMessage()

func (*FindRoleRequest) ProtoReflect

func (x *FindRoleRequest) ProtoReflect() protoreflect.Message

func (*FindRoleRequest) Reset

func (x *FindRoleRequest) Reset()

func (*FindRoleRequest) String

func (x *FindRoleRequest) String() string

func (*FindRoleRequest) Validate

func (m *FindRoleRequest) Validate() error

Validate checks the field values on FindRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindRoleRequest) ValidateAll

func (m *FindRoleRequest) ValidateAll() error

ValidateAll checks the field values on FindRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindRoleRequestMultiError, or nil if none found.

type FindRoleRequestMultiError

type FindRoleRequestMultiError []error

FindRoleRequestMultiError is an error wrapping multiple validation errors returned by FindRoleRequest.ValidateAll() if the designated constraints aren't met.

func (FindRoleRequestMultiError) AllErrors

func (m FindRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindRoleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindRoleRequestValidationError

type FindRoleRequestValidationError struct {
	// contains filtered or unexported fields
}

FindRoleRequestValidationError is the validation error returned by FindRoleRequest.Validate if the designated constraints aren't met.

func (FindRoleRequestValidationError) Cause

Cause function returns cause value.

func (FindRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (FindRoleRequestValidationError) ErrorName

func (e FindRoleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FindRoleRequestValidationError) Field

Field function returns field value.

func (FindRoleRequestValidationError) Key

Key function returns key value.

func (FindRoleRequestValidationError) Reason

Reason function returns reason value.

type FindUserGroupReply

type FindUserGroupReply struct {
	Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	List []*UserGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserGroupReply) Descriptor deprecated

func (*FindUserGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use FindUserGroupReply.ProtoReflect.Descriptor instead.

func (*FindUserGroupReply) GetList

func (x *FindUserGroupReply) GetList() []*UserGroup

func (*FindUserGroupReply) GetPage

func (x *FindUserGroupReply) GetPage() *params.Page

func (*FindUserGroupReply) ProtoMessage

func (*FindUserGroupReply) ProtoMessage()

func (*FindUserGroupReply) ProtoReflect

func (x *FindUserGroupReply) ProtoReflect() protoreflect.Message

func (*FindUserGroupReply) Reset

func (x *FindUserGroupReply) Reset()

func (*FindUserGroupReply) String

func (x *FindUserGroupReply) String() string

func (*FindUserGroupReply) Validate

func (m *FindUserGroupReply) Validate() error

Validate checks the field values on FindUserGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindUserGroupReply) ValidateAll

func (m *FindUserGroupReply) ValidateAll() error

ValidateAll checks the field values on FindUserGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserGroupReplyMultiError, or nil if none found.

type FindUserGroupReplyMultiError

type FindUserGroupReplyMultiError []error

FindUserGroupReplyMultiError is an error wrapping multiple validation errors returned by FindUserGroupReply.ValidateAll() if the designated constraints aren't met.

func (FindUserGroupReplyMultiError) AllErrors

func (m FindUserGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindUserGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindUserGroupReplyValidationError

type FindUserGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

FindUserGroupReplyValidationError is the validation error returned by FindUserGroupReply.Validate if the designated constraints aren't met.

func (FindUserGroupReplyValidationError) Cause

Cause function returns cause value.

func (FindUserGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (FindUserGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (FindUserGroupReplyValidationError) Field

Field function returns field value.

func (FindUserGroupReplyValidationError) Key

Key function returns key value.

func (FindUserGroupReplyValidationError) Reason

Reason function returns reason value.

type FindUserGroupRequest

type FindUserGroupRequest struct {
	Page   *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Name   *string      `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word   *string      `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Action *string      `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserGroupRequest) Descriptor deprecated

func (*FindUserGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindUserGroupRequest.ProtoReflect.Descriptor instead.

func (*FindUserGroupRequest) GetAction

func (x *FindUserGroupRequest) GetAction() string

func (*FindUserGroupRequest) GetName

func (x *FindUserGroupRequest) GetName() string

func (*FindUserGroupRequest) GetPage

func (x *FindUserGroupRequest) GetPage() *params.Page

func (*FindUserGroupRequest) GetWord

func (x *FindUserGroupRequest) GetWord() string

func (*FindUserGroupRequest) ProtoMessage

func (*FindUserGroupRequest) ProtoMessage()

func (*FindUserGroupRequest) ProtoReflect

func (x *FindUserGroupRequest) ProtoReflect() protoreflect.Message

func (*FindUserGroupRequest) Reset

func (x *FindUserGroupRequest) Reset()

func (*FindUserGroupRequest) String

func (x *FindUserGroupRequest) String() string

func (*FindUserGroupRequest) Validate

func (m *FindUserGroupRequest) Validate() error

Validate checks the field values on FindUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindUserGroupRequest) ValidateAll

func (m *FindUserGroupRequest) ValidateAll() error

ValidateAll checks the field values on FindUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserGroupRequestMultiError, or nil if none found.

type FindUserGroupRequestMultiError

type FindUserGroupRequestMultiError []error

FindUserGroupRequestMultiError is an error wrapping multiple validation errors returned by FindUserGroupRequest.ValidateAll() if the designated constraints aren't met.

func (FindUserGroupRequestMultiError) AllErrors

func (m FindUserGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindUserGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindUserGroupRequestValidationError

type FindUserGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

FindUserGroupRequestValidationError is the validation error returned by FindUserGroupRequest.Validate if the designated constraints aren't met.

func (FindUserGroupRequestValidationError) Cause

Cause function returns cause value.

func (FindUserGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (FindUserGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (FindUserGroupRequestValidationError) Field

Field function returns field value.

func (FindUserGroupRequestValidationError) Key

Key function returns key value.

func (FindUserGroupRequestValidationError) Reason

Reason function returns reason value.

type FindUserReply

type FindUserReply struct {
	Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	List []*User      `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserReply) Descriptor deprecated

func (*FindUserReply) Descriptor() ([]byte, []int)

Deprecated: Use FindUserReply.ProtoReflect.Descriptor instead.

func (*FindUserReply) GetList

func (x *FindUserReply) GetList() []*User

func (*FindUserReply) GetPage

func (x *FindUserReply) GetPage() *params.Page

func (*FindUserReply) ProtoMessage

func (*FindUserReply) ProtoMessage()

func (*FindUserReply) ProtoReflect

func (x *FindUserReply) ProtoReflect() protoreflect.Message

func (*FindUserReply) Reset

func (x *FindUserReply) Reset()

func (*FindUserReply) String

func (x *FindUserReply) String() string

func (*FindUserReply) Validate

func (m *FindUserReply) Validate() error

Validate checks the field values on FindUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindUserReply) ValidateAll

func (m *FindUserReply) ValidateAll() error

ValidateAll checks the field values on FindUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserReplyMultiError, or nil if none found.

type FindUserReplyMultiError

type FindUserReplyMultiError []error

FindUserReplyMultiError is an error wrapping multiple validation errors returned by FindUserReply.ValidateAll() if the designated constraints aren't met.

func (FindUserReplyMultiError) AllErrors

func (m FindUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindUserReplyMultiError) Error

func (m FindUserReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FindUserReplyValidationError

type FindUserReplyValidationError struct {
	// contains filtered or unexported fields
}

FindUserReplyValidationError is the validation error returned by FindUserReply.Validate if the designated constraints aren't met.

func (FindUserReplyValidationError) Cause

Cause function returns cause value.

func (FindUserReplyValidationError) Error

Error satisfies the builtin error interface

func (FindUserReplyValidationError) ErrorName

func (e FindUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (FindUserReplyValidationError) Field

Field function returns field value.

func (FindUserReplyValidationError) Key

Key function returns key value.

func (FindUserReplyValidationError) Reason

Reason function returns reason value.

type FindUserRequest

type FindUserRequest struct {
	Page           *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	StartCreatedAt *string      `protobuf:"bytes,2,opt,name=start_created_at,json=startCreatedAt,proto3,oneof" json:"start_created_at,omitempty"`
	EndCreatedAt   *string      `protobuf:"bytes,3,opt,name=end_created_at,json=endCreatedAt,proto3,oneof" json:"end_created_at,omitempty"`
	StartUpdatedAt *string      `protobuf:"bytes,4,opt,name=start_updated_at,json=startUpdatedAt,proto3,oneof" json:"start_updated_at,omitempty"`
	EndUpdatedAt   *string      `protobuf:"bytes,5,opt,name=end_updated_at,json=endUpdatedAt,proto3,oneof" json:"end_updated_at,omitempty"`
	Username       *string      `protobuf:"bytes,6,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Code           *string      `protobuf:"bytes,7,opt,name=code,proto3,oneof" json:"code,omitempty"`
	Platform       *string      `protobuf:"bytes,8,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
	Locked         *bool        `protobuf:"varint,9,opt,name=locked,proto3,oneof" json:"locked,omitempty"`
	// contains filtered or unexported fields
}

func (*FindUserRequest) Descriptor deprecated

func (*FindUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindUserRequest.ProtoReflect.Descriptor instead.

func (*FindUserRequest) GetCode

func (x *FindUserRequest) GetCode() string

func (*FindUserRequest) GetEndCreatedAt

func (x *FindUserRequest) GetEndCreatedAt() string

func (*FindUserRequest) GetEndUpdatedAt

func (x *FindUserRequest) GetEndUpdatedAt() string

func (*FindUserRequest) GetLocked

func (x *FindUserRequest) GetLocked() bool

func (*FindUserRequest) GetPage

func (x *FindUserRequest) GetPage() *params.Page

func (*FindUserRequest) GetPlatform added in v1.0.2

func (x *FindUserRequest) GetPlatform() string

func (*FindUserRequest) GetStartCreatedAt

func (x *FindUserRequest) GetStartCreatedAt() string

func (*FindUserRequest) GetStartUpdatedAt

func (x *FindUserRequest) GetStartUpdatedAt() string

func (*FindUserRequest) GetUsername

func (x *FindUserRequest) GetUsername() string

func (*FindUserRequest) ProtoMessage

func (*FindUserRequest) ProtoMessage()

func (*FindUserRequest) ProtoReflect

func (x *FindUserRequest) ProtoReflect() protoreflect.Message

func (*FindUserRequest) Reset

func (x *FindUserRequest) Reset()

func (*FindUserRequest) String

func (x *FindUserRequest) String() string

func (*FindUserRequest) Validate

func (m *FindUserRequest) Validate() error

Validate checks the field values on FindUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindUserRequest) ValidateAll

func (m *FindUserRequest) ValidateAll() error

ValidateAll checks the field values on FindUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserRequestMultiError, or nil if none found.

type FindUserRequestMultiError

type FindUserRequestMultiError []error

FindUserRequestMultiError is an error wrapping multiple validation errors returned by FindUserRequest.ValidateAll() if the designated constraints aren't met.

func (FindUserRequestMultiError) AllErrors

func (m FindUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FindUserRequestValidationError

type FindUserRequestValidationError struct {
	// contains filtered or unexported fields
}

FindUserRequestValidationError is the validation error returned by FindUserRequest.Validate if the designated constraints aren't met.

func (FindUserRequestValidationError) Cause

Cause function returns cause value.

func (FindUserRequestValidationError) Error

Error satisfies the builtin error interface

func (FindUserRequestValidationError) ErrorName

func (e FindUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FindUserRequestValidationError) Field

Field function returns field value.

func (FindUserRequestValidationError) Key

Key function returns key value.

func (FindUserRequestValidationError) Reason

Reason function returns reason value.

type FindWhitelistReply added in v1.0.3

type FindWhitelistReply struct {
	Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	List []*Whitelist `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FindWhitelistReply) Descriptor deprecated added in v1.0.3

func (*FindWhitelistReply) Descriptor() ([]byte, []int)

Deprecated: Use FindWhitelistReply.ProtoReflect.Descriptor instead.

func (*FindWhitelistReply) GetList added in v1.0.3

func (x *FindWhitelistReply) GetList() []*Whitelist

func (*FindWhitelistReply) GetPage added in v1.0.3

func (x *FindWhitelistReply) GetPage() *params.Page

func (*FindWhitelistReply) ProtoMessage added in v1.0.3

func (*FindWhitelistReply) ProtoMessage()

func (*FindWhitelistReply) ProtoReflect added in v1.0.3

func (x *FindWhitelistReply) ProtoReflect() protoreflect.Message

func (*FindWhitelistReply) Reset added in v1.0.3

func (x *FindWhitelistReply) Reset()

func (*FindWhitelistReply) String added in v1.0.3

func (x *FindWhitelistReply) String() string

func (*FindWhitelistReply) Validate added in v1.0.3

func (m *FindWhitelistReply) Validate() error

Validate checks the field values on FindWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindWhitelistReply) ValidateAll added in v1.0.3

func (m *FindWhitelistReply) ValidateAll() error

ValidateAll checks the field values on FindWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindWhitelistReplyMultiError, or nil if none found.

type FindWhitelistReplyMultiError added in v1.0.3

type FindWhitelistReplyMultiError []error

FindWhitelistReplyMultiError is an error wrapping multiple validation errors returned by FindWhitelistReply.ValidateAll() if the designated constraints aren't met.

func (FindWhitelistReplyMultiError) AllErrors added in v1.0.3

func (m FindWhitelistReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindWhitelistReplyMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type FindWhitelistReplyValidationError added in v1.0.3

type FindWhitelistReplyValidationError struct {
	// contains filtered or unexported fields
}

FindWhitelistReplyValidationError is the validation error returned by FindWhitelistReply.Validate if the designated constraints aren't met.

func (FindWhitelistReplyValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (FindWhitelistReplyValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (FindWhitelistReplyValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (FindWhitelistReplyValidationError) Field added in v1.0.3

Field function returns field value.

func (FindWhitelistReplyValidationError) Key added in v1.0.3

Key function returns key value.

func (FindWhitelistReplyValidationError) Reason added in v1.0.3

Reason function returns reason value.

type FindWhitelistRequest added in v1.0.3

type FindWhitelistRequest struct {
	Page     *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Category *uint32      `protobuf:"varint,2,opt,name=category,proto3,oneof" json:"category,omitempty"`
	Resource *string      `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*FindWhitelistRequest) Descriptor deprecated added in v1.0.3

func (*FindWhitelistRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindWhitelistRequest.ProtoReflect.Descriptor instead.

func (*FindWhitelistRequest) GetCategory added in v1.0.3

func (x *FindWhitelistRequest) GetCategory() uint32

func (*FindWhitelistRequest) GetPage added in v1.0.3

func (x *FindWhitelistRequest) GetPage() *params.Page

func (*FindWhitelistRequest) GetResource added in v1.0.3

func (x *FindWhitelistRequest) GetResource() string

func (*FindWhitelistRequest) ProtoMessage added in v1.0.3

func (*FindWhitelistRequest) ProtoMessage()

func (*FindWhitelistRequest) ProtoReflect added in v1.0.3

func (x *FindWhitelistRequest) ProtoReflect() protoreflect.Message

func (*FindWhitelistRequest) Reset added in v1.0.3

func (x *FindWhitelistRequest) Reset()

func (*FindWhitelistRequest) String added in v1.0.3

func (x *FindWhitelistRequest) String() string

func (*FindWhitelistRequest) Validate added in v1.0.3

func (m *FindWhitelistRequest) Validate() error

Validate checks the field values on FindWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FindWhitelistRequest) ValidateAll added in v1.0.3

func (m *FindWhitelistRequest) ValidateAll() error

ValidateAll checks the field values on FindWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindWhitelistRequestMultiError, or nil if none found.

type FindWhitelistRequestMultiError added in v1.0.3

type FindWhitelistRequestMultiError []error

FindWhitelistRequestMultiError is an error wrapping multiple validation errors returned by FindWhitelistRequest.ValidateAll() if the designated constraints aren't met.

func (FindWhitelistRequestMultiError) AllErrors added in v1.0.3

func (m FindWhitelistRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FindWhitelistRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type FindWhitelistRequestValidationError added in v1.0.3

type FindWhitelistRequestValidationError struct {
	// contains filtered or unexported fields
}

FindWhitelistRequestValidationError is the validation error returned by FindWhitelistRequest.Validate if the designated constraints aren't met.

func (FindWhitelistRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (FindWhitelistRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (FindWhitelistRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (FindWhitelistRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (FindWhitelistRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (FindWhitelistRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type GetUserByCodeReply added in v1.0.3

type GetUserByCodeReply struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByCodeReply) Descriptor deprecated added in v1.0.3

func (*GetUserByCodeReply) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByCodeReply.ProtoReflect.Descriptor instead.

func (*GetUserByCodeReply) GetUser added in v1.0.3

func (x *GetUserByCodeReply) GetUser() *User

func (*GetUserByCodeReply) ProtoMessage added in v1.0.3

func (*GetUserByCodeReply) ProtoMessage()

func (*GetUserByCodeReply) ProtoReflect added in v1.0.3

func (x *GetUserByCodeReply) ProtoReflect() protoreflect.Message

func (*GetUserByCodeReply) Reset added in v1.0.3

func (x *GetUserByCodeReply) Reset()

func (*GetUserByCodeReply) String added in v1.0.3

func (x *GetUserByCodeReply) String() string

func (*GetUserByCodeReply) Validate added in v1.0.3

func (m *GetUserByCodeReply) Validate() error

Validate checks the field values on GetUserByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserByCodeReply) ValidateAll added in v1.0.3

func (m *GetUserByCodeReply) ValidateAll() error

ValidateAll checks the field values on GetUserByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByCodeReplyMultiError, or nil if none found.

type GetUserByCodeReplyMultiError added in v1.0.3

type GetUserByCodeReplyMultiError []error

GetUserByCodeReplyMultiError is an error wrapping multiple validation errors returned by GetUserByCodeReply.ValidateAll() if the designated constraints aren't met.

func (GetUserByCodeReplyMultiError) AllErrors added in v1.0.3

func (m GetUserByCodeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserByCodeReplyMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type GetUserByCodeReplyValidationError added in v1.0.3

type GetUserByCodeReplyValidationError struct {
	// contains filtered or unexported fields
}

GetUserByCodeReplyValidationError is the validation error returned by GetUserByCodeReply.Validate if the designated constraints aren't met.

func (GetUserByCodeReplyValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (GetUserByCodeReplyValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (GetUserByCodeReplyValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (GetUserByCodeReplyValidationError) Field added in v1.0.3

Field function returns field value.

func (GetUserByCodeReplyValidationError) Key added in v1.0.3

Key function returns key value.

func (GetUserByCodeReplyValidationError) Reason added in v1.0.3

Reason function returns reason value.

type GetUserByCodeRequest added in v1.0.3

type GetUserByCodeRequest struct {
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByCodeRequest) Descriptor deprecated added in v1.0.3

func (*GetUserByCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByCodeRequest.ProtoReflect.Descriptor instead.

func (*GetUserByCodeRequest) GetCode added in v1.0.3

func (x *GetUserByCodeRequest) GetCode() string

func (*GetUserByCodeRequest) ProtoMessage added in v1.0.3

func (*GetUserByCodeRequest) ProtoMessage()

func (*GetUserByCodeRequest) ProtoReflect added in v1.0.3

func (x *GetUserByCodeRequest) ProtoReflect() protoreflect.Message

func (*GetUserByCodeRequest) Reset added in v1.0.3

func (x *GetUserByCodeRequest) Reset()

func (*GetUserByCodeRequest) String added in v1.0.3

func (x *GetUserByCodeRequest) String() string

func (*GetUserByCodeRequest) Validate added in v1.0.3

func (m *GetUserByCodeRequest) Validate() error

Validate checks the field values on GetUserByCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserByCodeRequest) ValidateAll added in v1.0.3

func (m *GetUserByCodeRequest) ValidateAll() error

ValidateAll checks the field values on GetUserByCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByCodeRequestMultiError, or nil if none found.

type GetUserByCodeRequestMultiError added in v1.0.3

type GetUserByCodeRequestMultiError []error

GetUserByCodeRequestMultiError is an error wrapping multiple validation errors returned by GetUserByCodeRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserByCodeRequestMultiError) AllErrors added in v1.0.3

func (m GetUserByCodeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserByCodeRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type GetUserByCodeRequestValidationError added in v1.0.3

type GetUserByCodeRequestValidationError struct {
	// contains filtered or unexported fields
}

GetUserByCodeRequestValidationError is the validation error returned by GetUserByCodeRequest.Validate if the designated constraints aren't met.

func (GetUserByCodeRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (GetUserByCodeRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (GetUserByCodeRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (GetUserByCodeRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (GetUserByCodeRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (GetUserByCodeRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type HasWhitelistReply added in v1.0.3

type HasWhitelistReply struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*HasWhitelistReply) Descriptor deprecated added in v1.0.3

func (*HasWhitelistReply) Descriptor() ([]byte, []int)

Deprecated: Use HasWhitelistReply.ProtoReflect.Descriptor instead.

func (*HasWhitelistReply) GetOk added in v1.0.3

func (x *HasWhitelistReply) GetOk() bool

func (*HasWhitelistReply) ProtoMessage added in v1.0.3

func (*HasWhitelistReply) ProtoMessage()

func (*HasWhitelistReply) ProtoReflect added in v1.0.3

func (x *HasWhitelistReply) ProtoReflect() protoreflect.Message

func (*HasWhitelistReply) Reset added in v1.0.3

func (x *HasWhitelistReply) Reset()

func (*HasWhitelistReply) String added in v1.0.3

func (x *HasWhitelistReply) String() string

func (*HasWhitelistReply) Validate added in v1.0.3

func (m *HasWhitelistReply) Validate() error

Validate checks the field values on HasWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HasWhitelistReply) ValidateAll added in v1.0.3

func (m *HasWhitelistReply) ValidateAll() error

ValidateAll checks the field values on HasWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistReplyMultiError, or nil if none found.

type HasWhitelistReplyMultiError added in v1.0.3

type HasWhitelistReplyMultiError []error

HasWhitelistReplyMultiError is an error wrapping multiple validation errors returned by HasWhitelistReply.ValidateAll() if the designated constraints aren't met.

func (HasWhitelistReplyMultiError) AllErrors added in v1.0.3

func (m HasWhitelistReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HasWhitelistReplyMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type HasWhitelistReplyValidationError added in v1.0.3

type HasWhitelistReplyValidationError struct {
	// contains filtered or unexported fields
}

HasWhitelistReplyValidationError is the validation error returned by HasWhitelistReply.Validate if the designated constraints aren't met.

func (HasWhitelistReplyValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (HasWhitelistReplyValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (HasWhitelistReplyValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (HasWhitelistReplyValidationError) Field added in v1.0.3

Field function returns field value.

func (HasWhitelistReplyValidationError) Key added in v1.0.3

Key function returns key value.

func (HasWhitelistReplyValidationError) Reason added in v1.0.3

Reason function returns reason value.

type HasWhitelistRequest added in v1.0.3

type HasWhitelistRequest struct {
	Category   uint32                               `protobuf:"varint,1,opt,name=category,proto3" json:"category,omitempty"`
	Permission *HasWhitelistRequest_CheckPermission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*HasWhitelistRequest) Descriptor deprecated added in v1.0.3

func (*HasWhitelistRequest) Descriptor() ([]byte, []int)

Deprecated: Use HasWhitelistRequest.ProtoReflect.Descriptor instead.

func (*HasWhitelistRequest) GetCategory added in v1.0.3

func (x *HasWhitelistRequest) GetCategory() uint32

func (*HasWhitelistRequest) GetPermission added in v1.0.3

func (*HasWhitelistRequest) ProtoMessage added in v1.0.3

func (*HasWhitelistRequest) ProtoMessage()

func (*HasWhitelistRequest) ProtoReflect added in v1.0.3

func (x *HasWhitelistRequest) ProtoReflect() protoreflect.Message

func (*HasWhitelistRequest) Reset added in v1.0.3

func (x *HasWhitelistRequest) Reset()

func (*HasWhitelistRequest) String added in v1.0.3

func (x *HasWhitelistRequest) String() string

func (*HasWhitelistRequest) Validate added in v1.0.3

func (m *HasWhitelistRequest) Validate() error

Validate checks the field values on HasWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HasWhitelistRequest) ValidateAll added in v1.0.3

func (m *HasWhitelistRequest) ValidateAll() error

ValidateAll checks the field values on HasWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistRequestMultiError, or nil if none found.

type HasWhitelistRequestMultiError added in v1.0.3

type HasWhitelistRequestMultiError []error

HasWhitelistRequestMultiError is an error wrapping multiple validation errors returned by HasWhitelistRequest.ValidateAll() if the designated constraints aren't met.

func (HasWhitelistRequestMultiError) AllErrors added in v1.0.3

func (m HasWhitelistRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HasWhitelistRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type HasWhitelistRequestValidationError added in v1.0.3

type HasWhitelistRequestValidationError struct {
	// contains filtered or unexported fields
}

HasWhitelistRequestValidationError is the validation error returned by HasWhitelistRequest.Validate if the designated constraints aren't met.

func (HasWhitelistRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (HasWhitelistRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (HasWhitelistRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (HasWhitelistRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (HasWhitelistRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (HasWhitelistRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type HasWhitelistRequest_CheckPermission added in v1.0.3

type HasWhitelistRequest_CheckPermission struct {
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Method   string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Uri      string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*HasWhitelistRequest_CheckPermission) Descriptor deprecated added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) Descriptor() ([]byte, []int)

Deprecated: Use HasWhitelistRequest_CheckPermission.ProtoReflect.Descriptor instead.

func (*HasWhitelistRequest_CheckPermission) GetMethod added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) GetResource added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) GetUri added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) ProtoMessage added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) ProtoMessage()

func (*HasWhitelistRequest_CheckPermission) ProtoReflect added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) Reset added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) String added in v1.0.3

func (*HasWhitelistRequest_CheckPermission) Validate added in v1.0.3

Validate checks the field values on HasWhitelistRequest_CheckPermission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HasWhitelistRequest_CheckPermission) ValidateAll added in v1.0.3

func (m *HasWhitelistRequest_CheckPermission) ValidateAll() error

ValidateAll checks the field values on HasWhitelistRequest_CheckPermission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistRequest_CheckPermissionMultiError, or nil if none found.

type HasWhitelistRequest_CheckPermissionMultiError added in v1.0.3

type HasWhitelistRequest_CheckPermissionMultiError []error

HasWhitelistRequest_CheckPermissionMultiError is an error wrapping multiple validation errors returned by HasWhitelistRequest_CheckPermission.ValidateAll() if the designated constraints aren't met.

func (HasWhitelistRequest_CheckPermissionMultiError) AllErrors added in v1.0.3

AllErrors returns a list of validation violation errors.

func (HasWhitelistRequest_CheckPermissionMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type HasWhitelistRequest_CheckPermissionValidationError added in v1.0.3

type HasWhitelistRequest_CheckPermissionValidationError struct {
	// contains filtered or unexported fields
}

HasWhitelistRequest_CheckPermissionValidationError is the validation error returned by HasWhitelistRequest_CheckPermission.Validate if the designated constraints aren't met.

func (HasWhitelistRequest_CheckPermissionValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (HasWhitelistRequest_CheckPermissionValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (HasWhitelistRequest_CheckPermissionValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (HasWhitelistRequest_CheckPermissionValidationError) Field added in v1.0.3

Field function returns field value.

func (HasWhitelistRequest_CheckPermissionValidationError) Key added in v1.0.3

Key function returns key value.

func (HasWhitelistRequest_CheckPermissionValidationError) Reason added in v1.0.3

Reason function returns reason value.

type IdempotentReply

type IdempotentReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*IdempotentReply) Descriptor deprecated

func (*IdempotentReply) Descriptor() ([]byte, []int)

Deprecated: Use IdempotentReply.ProtoReflect.Descriptor instead.

func (*IdempotentReply) GetToken

func (x *IdempotentReply) GetToken() string

func (*IdempotentReply) ProtoMessage

func (*IdempotentReply) ProtoMessage()

func (*IdempotentReply) ProtoReflect

func (x *IdempotentReply) ProtoReflect() protoreflect.Message

func (*IdempotentReply) Reset

func (x *IdempotentReply) Reset()

func (*IdempotentReply) String

func (x *IdempotentReply) String() string

func (*IdempotentReply) Validate

func (m *IdempotentReply) Validate() error

Validate checks the field values on IdempotentReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*IdempotentReply) ValidateAll

func (m *IdempotentReply) ValidateAll() error

ValidateAll checks the field values on IdempotentReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IdempotentReplyMultiError, or nil if none found.

type IdempotentReplyMultiError

type IdempotentReplyMultiError []error

IdempotentReplyMultiError is an error wrapping multiple validation errors returned by IdempotentReply.ValidateAll() if the designated constraints aren't met.

func (IdempotentReplyMultiError) AllErrors

func (m IdempotentReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IdempotentReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IdempotentReplyValidationError

type IdempotentReplyValidationError struct {
	// contains filtered or unexported fields
}

IdempotentReplyValidationError is the validation error returned by IdempotentReply.Validate if the designated constraints aren't met.

func (IdempotentReplyValidationError) Cause

Cause function returns cause value.

func (IdempotentReplyValidationError) Error

Error satisfies the builtin error interface

func (IdempotentReplyValidationError) ErrorName

func (e IdempotentReplyValidationError) ErrorName() string

ErrorName returns error name.

func (IdempotentReplyValidationError) Field

Field function returns field value.

func (IdempotentReplyValidationError) Key

Key function returns key value.

func (IdempotentReplyValidationError) Reason

Reason function returns reason value.

type InfoReply

type InfoReply struct {
	Id         uint64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username   string      `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Code       string      `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Platform   string      `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	Permission *Permission `protobuf:"bytes,5,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoReply) Descriptor deprecated

func (*InfoReply) Descriptor() ([]byte, []int)

Deprecated: Use InfoReply.ProtoReflect.Descriptor instead.

func (*InfoReply) GetCode

func (x *InfoReply) GetCode() string

func (*InfoReply) GetId

func (x *InfoReply) GetId() uint64

func (*InfoReply) GetPermission

func (x *InfoReply) GetPermission() *Permission

func (*InfoReply) GetPlatform added in v1.0.2

func (x *InfoReply) GetPlatform() string

func (*InfoReply) GetUsername

func (x *InfoReply) GetUsername() string

func (*InfoReply) ProtoMessage

func (*InfoReply) ProtoMessage()

func (*InfoReply) ProtoReflect

func (x *InfoReply) ProtoReflect() protoreflect.Message

func (*InfoReply) Reset

func (x *InfoReply) Reset()

func (*InfoReply) String

func (x *InfoReply) String() string

func (*InfoReply) Validate

func (m *InfoReply) Validate() error

Validate checks the field values on InfoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InfoReply) ValidateAll

func (m *InfoReply) ValidateAll() error

ValidateAll checks the field values on InfoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InfoReplyMultiError, or nil if none found.

type InfoReplyMultiError

type InfoReplyMultiError []error

InfoReplyMultiError is an error wrapping multiple validation errors returned by InfoReply.ValidateAll() if the designated constraints aren't met.

func (InfoReplyMultiError) AllErrors

func (m InfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InfoReplyMultiError) Error

func (m InfoReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InfoReplyValidationError

type InfoReplyValidationError struct {
	// contains filtered or unexported fields
}

InfoReplyValidationError is the validation error returned by InfoReply.Validate if the designated constraints aren't met.

func (InfoReplyValidationError) Cause

func (e InfoReplyValidationError) Cause() error

Cause function returns cause value.

func (InfoReplyValidationError) Error

func (e InfoReplyValidationError) Error() string

Error satisfies the builtin error interface

func (InfoReplyValidationError) ErrorName

func (e InfoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (InfoReplyValidationError) Field

func (e InfoReplyValidationError) Field() string

Field function returns field value.

func (InfoReplyValidationError) Key

Key function returns key value.

func (InfoReplyValidationError) Reason

func (e InfoReplyValidationError) Reason() string

Reason function returns reason value.

type LoginReply

type LoginReply struct {
	Token   string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Expires string `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReply) Descriptor deprecated

func (*LoginReply) Descriptor() ([]byte, []int)

Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.

func (*LoginReply) GetExpires

func (x *LoginReply) GetExpires() string

func (*LoginReply) GetToken

func (x *LoginReply) GetToken() string

func (*LoginReply) ProtoMessage

func (*LoginReply) ProtoMessage()

func (*LoginReply) ProtoReflect

func (x *LoginReply) ProtoReflect() protoreflect.Message

func (*LoginReply) Reset

func (x *LoginReply) Reset()

func (*LoginReply) String

func (x *LoginReply) String() string

func (*LoginReply) Validate

func (m *LoginReply) Validate() error

Validate checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginReply) ValidateAll

func (m *LoginReply) ValidateAll() error

ValidateAll checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginReplyMultiError, or nil if none found.

type LoginReplyMultiError

type LoginReplyMultiError []error

LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.

func (LoginReplyMultiError) AllErrors

func (m LoginReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginReplyMultiError) Error

func (m LoginReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginReplyValidationError

type LoginReplyValidationError struct {
	// contains filtered or unexported fields
}

LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.

func (LoginReplyValidationError) Cause

func (e LoginReplyValidationError) Cause() error

Cause function returns cause value.

func (LoginReplyValidationError) Error

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

Key function returns key value.

func (LoginReplyValidationError) Reason

func (e LoginReplyValidationError) Reason() string

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {
	Username      string  `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string  `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Platform      *string `protobuf:"bytes,3,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
	CaptchaId     *string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3,oneof" json:"captcha_id,omitempty"`
	CaptchaAnswer *string `protobuf:"bytes,5,opt,name=captcha_answer,json=captchaAnswer,proto3,oneof" json:"captcha_answer,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetCaptchaAnswer

func (x *LoginRequest) GetCaptchaAnswer() string

func (*LoginRequest) GetCaptchaId

func (x *LoginRequest) GetCaptchaId() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetPlatform added in v1.0.2

func (x *LoginRequest) GetPlatform() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest) ValidateAll

func (m *LoginRequest) ValidateAll() error

ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.

type LoginRequestMultiError

type LoginRequestMultiError []error

LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.

func (LoginRequestMultiError) AllErrors

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error

func (m LoginRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoginRequestValidationError

type LoginRequestValidationError struct {
	// contains filtered or unexported fields
}

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type Permission

type Permission struct {
	Resources []string `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	Menus     []string `protobuf:"bytes,2,rep,name=menus,proto3" json:"menus,omitempty"`
	Btns      []string `protobuf:"bytes,3,rep,name=btns,proto3" json:"btns,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

func (*Permission) Descriptor() ([]byte, []int)

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetBtns

func (x *Permission) GetBtns() []string

func (*Permission) GetMenus

func (x *Permission) GetMenus() []string

func (*Permission) GetResources

func (x *Permission) GetResources() []string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

func (x *Permission) ProtoReflect() protoreflect.Message

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

func (*Permission) Validate

func (m *Permission) Validate() error

Validate checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Permission) ValidateAll

func (m *Permission) ValidateAll() error

ValidateAll checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionMultiError, or nil if none found.

type PermissionMultiError

type PermissionMultiError []error

PermissionMultiError is an error wrapping multiple validation errors returned by Permission.ValidateAll() if the designated constraints aren't met.

func (PermissionMultiError) AllErrors

func (m PermissionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionMultiError) Error

func (m PermissionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PermissionRequest

type PermissionRequest struct {
	Resource *string `protobuf:"bytes,1,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
	Method   *string `protobuf:"bytes,2,opt,name=method,proto3,oneof" json:"method,omitempty"`
	Uri      *string `protobuf:"bytes,3,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionRequest) Descriptor deprecated

func (*PermissionRequest) Descriptor() ([]byte, []int)

Deprecated: Use PermissionRequest.ProtoReflect.Descriptor instead.

func (*PermissionRequest) GetMethod added in v1.0.3

func (x *PermissionRequest) GetMethod() string

func (*PermissionRequest) GetResource

func (x *PermissionRequest) GetResource() string

func (*PermissionRequest) GetUri added in v1.0.3

func (x *PermissionRequest) GetUri() string

func (*PermissionRequest) ProtoMessage

func (*PermissionRequest) ProtoMessage()

func (*PermissionRequest) ProtoReflect

func (x *PermissionRequest) ProtoReflect() protoreflect.Message

func (*PermissionRequest) Reset

func (x *PermissionRequest) Reset()

func (*PermissionRequest) String

func (x *PermissionRequest) String() string

func (*PermissionRequest) Validate

func (m *PermissionRequest) Validate() error

Validate checks the field values on PermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PermissionRequest) ValidateAll

func (m *PermissionRequest) ValidateAll() error

ValidateAll checks the field values on PermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionRequestMultiError, or nil if none found.

type PermissionRequestMultiError

type PermissionRequestMultiError []error

PermissionRequestMultiError is an error wrapping multiple validation errors returned by PermissionRequest.ValidateAll() if the designated constraints aren't met.

func (PermissionRequestMultiError) AllErrors

func (m PermissionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PermissionRequestValidationError

type PermissionRequestValidationError struct {
	// contains filtered or unexported fields
}

PermissionRequestValidationError is the validation error returned by PermissionRequest.Validate if the designated constraints aren't met.

func (PermissionRequestValidationError) Cause

Cause function returns cause value.

func (PermissionRequestValidationError) Error

Error satisfies the builtin error interface

func (PermissionRequestValidationError) ErrorName

ErrorName returns error name.

func (PermissionRequestValidationError) Field

Field function returns field value.

func (PermissionRequestValidationError) Key

Key function returns key value.

func (PermissionRequestValidationError) Reason

Reason function returns reason value.

type PermissionValidationError

type PermissionValidationError struct {
	// contains filtered or unexported fields
}

PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.

func (PermissionValidationError) Cause

func (e PermissionValidationError) Cause() error

Cause function returns cause value.

func (PermissionValidationError) Error

Error satisfies the builtin error interface

func (PermissionValidationError) ErrorName

func (e PermissionValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionValidationError) Field

Field function returns field value.

func (PermissionValidationError) Key

Key function returns key value.

func (PermissionValidationError) Reason

func (e PermissionValidationError) Reason() string

Reason function returns reason value.

type PwdRequest

type PwdRequest struct {
	Username    string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*PwdRequest) Descriptor deprecated

func (*PwdRequest) Descriptor() ([]byte, []int)

Deprecated: Use PwdRequest.ProtoReflect.Descriptor instead.

func (*PwdRequest) GetNewPassword

func (x *PwdRequest) GetNewPassword() string

func (*PwdRequest) GetOldPassword

func (x *PwdRequest) GetOldPassword() string

func (*PwdRequest) GetUsername

func (x *PwdRequest) GetUsername() string

func (*PwdRequest) ProtoMessage

func (*PwdRequest) ProtoMessage()

func (*PwdRequest) ProtoReflect

func (x *PwdRequest) ProtoReflect() protoreflect.Message

func (*PwdRequest) Reset

func (x *PwdRequest) Reset()

func (*PwdRequest) String

func (x *PwdRequest) String() string

func (*PwdRequest) Validate

func (m *PwdRequest) Validate() error

Validate checks the field values on PwdRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PwdRequest) ValidateAll

func (m *PwdRequest) ValidateAll() error

ValidateAll checks the field values on PwdRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PwdRequestMultiError, or nil if none found.

type PwdRequestMultiError

type PwdRequestMultiError []error

PwdRequestMultiError is an error wrapping multiple validation errors returned by PwdRequest.ValidateAll() if the designated constraints aren't met.

func (PwdRequestMultiError) AllErrors

func (m PwdRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PwdRequestMultiError) Error

func (m PwdRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PwdRequestValidationError

type PwdRequestValidationError struct {
	// contains filtered or unexported fields
}

PwdRequestValidationError is the validation error returned by PwdRequest.Validate if the designated constraints aren't met.

func (PwdRequestValidationError) Cause

func (e PwdRequestValidationError) Cause() error

Cause function returns cause value.

func (PwdRequestValidationError) Error

Error satisfies the builtin error interface

func (PwdRequestValidationError) ErrorName

func (e PwdRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PwdRequestValidationError) Field

Field function returns field value.

func (PwdRequestValidationError) Key

Key function returns key value.

func (PwdRequestValidationError) Reason

func (e PwdRequestValidationError) Reason() string

Reason function returns reason value.

type RefreshRequest

type RefreshRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshRequest) Descriptor deprecated

func (*RefreshRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) GetToken

func (x *RefreshRequest) GetToken() string

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

func (x *RefreshRequest) ProtoReflect() protoreflect.Message

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

func (*RefreshRequest) Validate

func (m *RefreshRequest) Validate() error

Validate checks the field values on RefreshRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RefreshRequest) ValidateAll

func (m *RefreshRequest) ValidateAll() error

ValidateAll checks the field values on RefreshRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshRequestMultiError, or nil if none found.

type RefreshRequestMultiError

type RefreshRequestMultiError []error

RefreshRequestMultiError is an error wrapping multiple validation errors returned by RefreshRequest.ValidateAll() if the designated constraints aren't met.

func (RefreshRequestMultiError) AllErrors

func (m RefreshRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RefreshRequestMultiError) Error

func (m RefreshRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RefreshRequestValidationError

type RefreshRequestValidationError struct {
	// contains filtered or unexported fields
}

RefreshRequestValidationError is the validation error returned by RefreshRequest.Validate if the designated constraints aren't met.

func (RefreshRequestValidationError) Cause

Cause function returns cause value.

func (RefreshRequestValidationError) Error

Error satisfies the builtin error interface

func (RefreshRequestValidationError) ErrorName

func (e RefreshRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RefreshRequestValidationError) Field

Field function returns field value.

func (RefreshRequestValidationError) Key

Key function returns key value.

func (RefreshRequestValidationError) Reason

Reason function returns reason value.

type RegisterRequest

type RegisterRequest struct {
	Username      string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Platform      string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	CaptchaId     string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"`
	CaptchaAnswer string `protobuf:"bytes,5,opt,name=captcha_answer,json=captchaAnswer,proto3" json:"captcha_answer,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetCaptchaAnswer added in v1.0.2

func (x *RegisterRequest) GetCaptchaAnswer() string

func (*RegisterRequest) GetCaptchaId added in v1.0.2

func (x *RegisterRequest) GetCaptchaId() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetPlatform added in v1.0.2

func (x *RegisterRequest) GetPlatform() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

func (x *RegisterRequest) ProtoReflect() protoreflect.Message

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate() error

Validate checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterRequest) ValidateAll

func (m *RegisterRequest) ValidateAll() error

ValidateAll checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRequestMultiError, or nil if none found.

type RegisterRequestMultiError

type RegisterRequestMultiError []error

RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterRequestMultiError) AllErrors

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterRequestValidationError

type RegisterRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type Role

type Role struct {
	Id      uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Word    string    `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	Action  string    `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	Actions []*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetAction

func (x *Role) GetAction() string

func (*Role) GetActions

func (x *Role) GetActions() []*Action

func (*Role) GetId

func (x *Role) GetId() uint64

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetWord

func (x *Role) GetWord() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Role) ValidateAll

func (m *Role) ValidateAll() error

ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.

type RoleMultiError

type RoleMultiError []error

RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.

func (RoleMultiError) AllErrors

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error

func (m RoleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleValidationError

type RoleValidationError struct {
	// contains filtered or unexported fields
}

RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.

func (RoleValidationError) Cause

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason

func (e RoleValidationError) Reason() string

Reason function returns reason value.

type StatusReply

type StatusReply struct {
	Captcha    *Captcha `protobuf:"bytes,1,opt,name=captcha,proto3" json:"captcha,omitempty"`
	Locked     bool     `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"`
	LockExpire int64    `protobuf:"varint,3,opt,name=lock_expire,json=lockExpire,proto3" json:"lock_expire,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusReply) Descriptor deprecated

func (*StatusReply) Descriptor() ([]byte, []int)

Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.

func (*StatusReply) GetCaptcha

func (x *StatusReply) GetCaptcha() *Captcha

func (*StatusReply) GetLockExpire

func (x *StatusReply) GetLockExpire() int64

func (*StatusReply) GetLocked

func (x *StatusReply) GetLocked() bool

func (*StatusReply) ProtoMessage

func (*StatusReply) ProtoMessage()

func (*StatusReply) ProtoReflect

func (x *StatusReply) ProtoReflect() protoreflect.Message

func (*StatusReply) Reset

func (x *StatusReply) Reset()

func (*StatusReply) String

func (x *StatusReply) String() string

func (*StatusReply) Validate

func (m *StatusReply) Validate() error

Validate checks the field values on StatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatusReply) ValidateAll

func (m *StatusReply) ValidateAll() error

ValidateAll checks the field values on StatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusReplyMultiError, or nil if none found.

type StatusReplyMultiError

type StatusReplyMultiError []error

StatusReplyMultiError is an error wrapping multiple validation errors returned by StatusReply.ValidateAll() if the designated constraints aren't met.

func (StatusReplyMultiError) AllErrors

func (m StatusReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusReplyMultiError) Error

func (m StatusReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatusReplyValidationError

type StatusReplyValidationError struct {
	// contains filtered or unexported fields
}

StatusReplyValidationError is the validation error returned by StatusReply.Validate if the designated constraints aren't met.

func (StatusReplyValidationError) Cause

Cause function returns cause value.

func (StatusReplyValidationError) Error

Error satisfies the builtin error interface

func (StatusReplyValidationError) ErrorName

func (e StatusReplyValidationError) ErrorName() string

ErrorName returns error name.

func (StatusReplyValidationError) Field

Field function returns field value.

func (StatusReplyValidationError) Key

Key function returns key value.

func (StatusReplyValidationError) Reason

Reason function returns reason value.

type StatusRequest

type StatusRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) GetUsername

func (x *StatusRequest) GetUsername() string

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

func (*StatusRequest) Validate

func (m *StatusRequest) Validate() error

Validate checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatusRequest) ValidateAll

func (m *StatusRequest) ValidateAll() error

ValidateAll checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusRequestMultiError, or nil if none found.

type StatusRequestMultiError

type StatusRequestMultiError []error

StatusRequestMultiError is an error wrapping multiple validation errors returned by StatusRequest.ValidateAll() if the designated constraints aren't met.

func (StatusRequestMultiError) AllErrors

func (m StatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusRequestMultiError) Error

func (m StatusRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatusRequestValidationError

type StatusRequestValidationError struct {
	// contains filtered or unexported fields
}

StatusRequestValidationError is the validation error returned by StatusRequest.Validate if the designated constraints aren't met.

func (StatusRequestValidationError) Cause

Cause function returns cause value.

func (StatusRequestValidationError) Error

Error satisfies the builtin error interface

func (StatusRequestValidationError) ErrorName

func (e StatusRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatusRequestValidationError) Field

Field function returns field value.

func (StatusRequestValidationError) Key

Key function returns key value.

func (StatusRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServer) Captcha

func (UnimplementedAuthServer) CheckIdempotent added in v1.0.3

func (UnimplementedAuthServer) CreateAction

func (UnimplementedAuthServer) CreateRole

func (UnimplementedAuthServer) CreateUserGroup

func (UnimplementedAuthServer) CreateWhitelist added in v1.0.3

func (UnimplementedAuthServer) DeleteAction

func (UnimplementedAuthServer) DeleteRole

func (UnimplementedAuthServer) DeleteUser

func (UnimplementedAuthServer) DeleteUserGroup

func (UnimplementedAuthServer) DeleteWhitelist added in v1.0.3

func (UnimplementedAuthServer) FindAction

func (UnimplementedAuthServer) FindRole

func (UnimplementedAuthServer) FindUser

func (UnimplementedAuthServer) FindUserGroup

func (UnimplementedAuthServer) FindWhitelist added in v1.0.3

func (UnimplementedAuthServer) GetUserByCode added in v1.0.3

func (UnimplementedAuthServer) HasWhitelist added in v1.0.3

func (UnimplementedAuthServer) Idempotent

func (UnimplementedAuthServer) Info

func (UnimplementedAuthServer) Login

func (UnimplementedAuthServer) Logout

func (UnimplementedAuthServer) Permission

func (UnimplementedAuthServer) Pwd

func (UnimplementedAuthServer) Refresh

func (UnimplementedAuthServer) Register

func (UnimplementedAuthServer) Status

func (UnimplementedAuthServer) UpdateAction

func (UnimplementedAuthServer) UpdateRole

func (UnimplementedAuthServer) UpdateUser

func (UnimplementedAuthServer) UpdateUserGroup

func (UnimplementedAuthServer) UpdateWhitelist added in v1.0.3

type UnsafeAuthServer

type UnsafeAuthServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.

type UpdateActionRequest

type UpdateActionRequest struct {
	Id       uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word     *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Resource *string `protobuf:"bytes,4,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
	Menu     *string `protobuf:"bytes,5,opt,name=menu,proto3,oneof" json:"menu,omitempty"`
	Btn      *string `protobuf:"bytes,6,opt,name=btn,proto3,oneof" json:"btn,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateActionRequest) Descriptor deprecated

func (*UpdateActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActionRequest.ProtoReflect.Descriptor instead.

func (*UpdateActionRequest) GetBtn

func (x *UpdateActionRequest) GetBtn() string

func (*UpdateActionRequest) GetId

func (x *UpdateActionRequest) GetId() uint64

func (*UpdateActionRequest) GetMenu

func (x *UpdateActionRequest) GetMenu() string

func (*UpdateActionRequest) GetName

func (x *UpdateActionRequest) GetName() string

func (*UpdateActionRequest) GetResource

func (x *UpdateActionRequest) GetResource() string

func (*UpdateActionRequest) GetWord

func (x *UpdateActionRequest) GetWord() string

func (*UpdateActionRequest) ProtoMessage

func (*UpdateActionRequest) ProtoMessage()

func (*UpdateActionRequest) ProtoReflect

func (x *UpdateActionRequest) ProtoReflect() protoreflect.Message

func (*UpdateActionRequest) Reset

func (x *UpdateActionRequest) Reset()

func (*UpdateActionRequest) String

func (x *UpdateActionRequest) String() string

func (*UpdateActionRequest) Validate

func (m *UpdateActionRequest) Validate() error

Validate checks the field values on UpdateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateActionRequest) ValidateAll

func (m *UpdateActionRequest) ValidateAll() error

ValidateAll checks the field values on UpdateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateActionRequestMultiError, or nil if none found.

type UpdateActionRequestMultiError

type UpdateActionRequestMultiError []error

UpdateActionRequestMultiError is an error wrapping multiple validation errors returned by UpdateActionRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateActionRequestMultiError) AllErrors

func (m UpdateActionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateActionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateActionRequestValidationError

type UpdateActionRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateActionRequestValidationError is the validation error returned by UpdateActionRequest.Validate if the designated constraints aren't met.

func (UpdateActionRequestValidationError) Cause

Cause function returns cause value.

func (UpdateActionRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateActionRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateActionRequestValidationError) Field

Field function returns field value.

func (UpdateActionRequestValidationError) Key

Key function returns key value.

func (UpdateActionRequestValidationError) Reason

Reason function returns reason value.

type UpdateRoleRequest

type UpdateRoleRequest struct {
	Id     uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word   *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRequest) Descriptor deprecated

func (*UpdateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetAction

func (x *UpdateRoleRequest) GetAction() string

func (*UpdateRoleRequest) GetId

func (x *UpdateRoleRequest) GetId() uint64

func (*UpdateRoleRequest) GetName

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetWord

func (x *UpdateRoleRequest) GetWord() string

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

func (*UpdateRoleRequest) Validate

func (m *UpdateRoleRequest) Validate() error

Validate checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRoleRequest) ValidateAll

func (m *UpdateRoleRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleRequestMultiError, or nil if none found.

type UpdateRoleRequestMultiError

type UpdateRoleRequestMultiError []error

UpdateRoleRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRoleRequestMultiError) AllErrors

func (m UpdateRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRoleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRoleRequestValidationError

type UpdateRoleRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateRoleRequestValidationError is the validation error returned by UpdateRoleRequest.Validate if the designated constraints aren't met.

func (UpdateRoleRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleRequestValidationError) Field

Field function returns field value.

func (UpdateRoleRequestValidationError) Key

Key function returns key value.

func (UpdateRoleRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserGroupRequest

type UpdateUserGroupRequest struct {
	Id     uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Word   *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"`
	Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
	Users  *string `protobuf:"bytes,5,opt,name=users,proto3,oneof" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserGroupRequest) Descriptor deprecated

func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserGroupRequest) GetAction

func (x *UpdateUserGroupRequest) GetAction() string

func (*UpdateUserGroupRequest) GetId

func (x *UpdateUserGroupRequest) GetId() uint64

func (*UpdateUserGroupRequest) GetName

func (x *UpdateUserGroupRequest) GetName() string

func (*UpdateUserGroupRequest) GetUsers

func (x *UpdateUserGroupRequest) GetUsers() string

func (*UpdateUserGroupRequest) GetWord

func (x *UpdateUserGroupRequest) GetWord() string

func (*UpdateUserGroupRequest) ProtoMessage

func (*UpdateUserGroupRequest) ProtoMessage()

func (*UpdateUserGroupRequest) ProtoReflect

func (x *UpdateUserGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserGroupRequest) Reset

func (x *UpdateUserGroupRequest) Reset()

func (*UpdateUserGroupRequest) String

func (x *UpdateUserGroupRequest) String() string

func (*UpdateUserGroupRequest) Validate

func (m *UpdateUserGroupRequest) Validate() error

Validate checks the field values on UpdateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserGroupRequest) ValidateAll

func (m *UpdateUserGroupRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserGroupRequestMultiError, or nil if none found.

type UpdateUserGroupRequestMultiError

type UpdateUserGroupRequestMultiError []error

UpdateUserGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserGroupRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserGroupRequestMultiError) AllErrors

func (m UpdateUserGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserGroupRequestValidationError

type UpdateUserGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserGroupRequestValidationError is the validation error returned by UpdateUserGroupRequest.Validate if the designated constraints aren't met.

func (UpdateUserGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserGroupRequestValidationError) Field

Field function returns field value.

func (UpdateUserGroupRequestValidationError) Key

Key function returns key value.

func (UpdateUserGroupRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserRequest

type UpdateUserRequest struct {
	Id             uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username       *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password       *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty"`
	Platform       *string `protobuf:"bytes,4,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
	Locked         *bool   `protobuf:"varint,5,opt,name=locked,proto3,oneof" json:"locked,omitempty"`
	LockExpireTime *string `protobuf:"bytes,6,opt,name=lock_expire_time,json=lockExpireTime,proto3,oneof" json:"lock_expire_time,omitempty"`
	Action         *string `protobuf:"bytes,7,opt,name=action,proto3,oneof" json:"action,omitempty"`
	RoleId         *uint64 `protobuf:"varint,8,opt,name=roleId,proto3,oneof" json:"roleId,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAction

func (x *UpdateUserRequest) GetAction() string

func (*UpdateUserRequest) GetId

func (x *UpdateUserRequest) GetId() uint64

func (*UpdateUserRequest) GetLockExpireTime

func (x *UpdateUserRequest) GetLockExpireTime() string

func (*UpdateUserRequest) GetLocked

func (x *UpdateUserRequest) GetLocked() bool

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetPlatform added in v1.0.2

func (x *UpdateUserRequest) GetPlatform() string

func (*UpdateUserRequest) GetRoleId added in v1.0.2

func (x *UpdateUserRequest) GetRoleId() uint64

func (*UpdateUserRequest) GetUsername

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserRequest) ValidateAll

func (m *UpdateUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.

type UpdateUserRequestMultiError

type UpdateUserRequestMultiError []error

UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserRequestMultiError) AllErrors

func (m UpdateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserRequestValidationError

type UpdateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

Reason function returns reason value.

type UpdateWhitelistRequest added in v1.0.3

type UpdateWhitelistRequest struct {
	Id       uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Category *uint32 `protobuf:"varint,2,opt,name=category,proto3,oneof" json:"category,omitempty"`
	Resource *string `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWhitelistRequest) Descriptor deprecated added in v1.0.3

func (*UpdateWhitelistRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWhitelistRequest.ProtoReflect.Descriptor instead.

func (*UpdateWhitelistRequest) GetCategory added in v1.0.3

func (x *UpdateWhitelistRequest) GetCategory() uint32

func (*UpdateWhitelistRequest) GetId added in v1.0.3

func (x *UpdateWhitelistRequest) GetId() uint64

func (*UpdateWhitelistRequest) GetResource added in v1.0.3

func (x *UpdateWhitelistRequest) GetResource() string

func (*UpdateWhitelistRequest) ProtoMessage added in v1.0.3

func (*UpdateWhitelistRequest) ProtoMessage()

func (*UpdateWhitelistRequest) ProtoReflect added in v1.0.3

func (x *UpdateWhitelistRequest) ProtoReflect() protoreflect.Message

func (*UpdateWhitelistRequest) Reset added in v1.0.3

func (x *UpdateWhitelistRequest) Reset()

func (*UpdateWhitelistRequest) String added in v1.0.3

func (x *UpdateWhitelistRequest) String() string

func (*UpdateWhitelistRequest) Validate added in v1.0.3

func (m *UpdateWhitelistRequest) Validate() error

Validate checks the field values on UpdateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWhitelistRequest) ValidateAll added in v1.0.3

func (m *UpdateWhitelistRequest) ValidateAll() error

ValidateAll checks the field values on UpdateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWhitelistRequestMultiError, or nil if none found.

type UpdateWhitelistRequestMultiError added in v1.0.3

type UpdateWhitelistRequestMultiError []error

UpdateWhitelistRequestMultiError is an error wrapping multiple validation errors returned by UpdateWhitelistRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateWhitelistRequestMultiError) AllErrors added in v1.0.3

func (m UpdateWhitelistRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWhitelistRequestMultiError) Error added in v1.0.3

Error returns a concatenation of all the error messages it wraps.

type UpdateWhitelistRequestValidationError added in v1.0.3

type UpdateWhitelistRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateWhitelistRequestValidationError is the validation error returned by UpdateWhitelistRequest.Validate if the designated constraints aren't met.

func (UpdateWhitelistRequestValidationError) Cause added in v1.0.3

Cause function returns cause value.

func (UpdateWhitelistRequestValidationError) Error added in v1.0.3

Error satisfies the builtin error interface

func (UpdateWhitelistRequestValidationError) ErrorName added in v1.0.3

ErrorName returns error name.

func (UpdateWhitelistRequestValidationError) Field added in v1.0.3

Field function returns field value.

func (UpdateWhitelistRequestValidationError) Key added in v1.0.3

Key function returns key value.

func (UpdateWhitelistRequestValidationError) Reason added in v1.0.3

Reason function returns reason value.

type User

type User struct {
	Id         uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt  string    `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  string    `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Username   string    `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Code       string    `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	Platform   string    `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
	Locked     bool      `protobuf:"varint,7,opt,name=locked,proto3" json:"locked,omitempty"`
	LastLogin  string    `protobuf:"bytes,11,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"`
	LockExpire int64     `protobuf:"varint,12,opt,name=lock_expire,json=lockExpire,proto3" json:"lock_expire,omitempty"`
	LockMsg    string    `protobuf:"bytes,13,opt,name=lock_msg,json=lockMsg,proto3" json:"lock_msg,omitempty"`
	Actions    []*Action `protobuf:"bytes,14,rep,name=actions,proto3" json:"actions,omitempty"`
	RoleId     uint64    `protobuf:"varint,15,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Role       *Role     `protobuf:"bytes,16,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetActions

func (x *User) GetActions() []*Action

func (*User) GetCode

func (x *User) GetCode() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() string

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetLastLogin

func (x *User) GetLastLogin() string

func (*User) GetLockExpire

func (x *User) GetLockExpire() int64

func (*User) GetLockMsg

func (x *User) GetLockMsg() string

func (*User) GetLocked

func (x *User) GetLocked() bool

func (*User) GetPlatform added in v1.0.2

func (x *User) GetPlatform() string

func (*User) GetRole added in v1.0.2

func (x *User) GetRole() *Role

func (*User) GetRoleId added in v1.0.2

func (x *User) GetRoleId() uint64

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserGroup

type UserGroup struct {
	Id      uint64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Word    string    `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	Users   []*User   `protobuf:"bytes,5,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGroup) Descriptor deprecated

func (*UserGroup) Descriptor() ([]byte, []int)

Deprecated: Use UserGroup.ProtoReflect.Descriptor instead.

func (*UserGroup) GetActions

func (x *UserGroup) GetActions() []*Action

func (*UserGroup) GetId

func (x *UserGroup) GetId() uint64

func (*UserGroup) GetName

func (x *UserGroup) GetName() string

func (*UserGroup) GetUsers

func (x *UserGroup) GetUsers() []*User

func (*UserGroup) GetWord

func (x *UserGroup) GetWord() string

func (*UserGroup) ProtoMessage

func (*UserGroup) ProtoMessage()

func (*UserGroup) ProtoReflect

func (x *UserGroup) ProtoReflect() protoreflect.Message

func (*UserGroup) Reset

func (x *UserGroup) Reset()

func (*UserGroup) String

func (x *UserGroup) String() string

func (*UserGroup) Validate

func (m *UserGroup) Validate() error

Validate checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserGroup) ValidateAll

func (m *UserGroup) ValidateAll() error

ValidateAll checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserGroupMultiError, or nil if none found.

type UserGroupMultiError

type UserGroupMultiError []error

UserGroupMultiError is an error wrapping multiple validation errors returned by UserGroup.ValidateAll() if the designated constraints aren't met.

func (UserGroupMultiError) AllErrors

func (m UserGroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserGroupMultiError) Error

func (m UserGroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserGroupValidationError

type UserGroupValidationError struct {
	// contains filtered or unexported fields
}

UserGroupValidationError is the validation error returned by UserGroup.Validate if the designated constraints aren't met.

func (UserGroupValidationError) Cause

func (e UserGroupValidationError) Cause() error

Cause function returns cause value.

func (UserGroupValidationError) Error

func (e UserGroupValidationError) Error() string

Error satisfies the builtin error interface

func (UserGroupValidationError) ErrorName

func (e UserGroupValidationError) ErrorName() string

ErrorName returns error name.

func (UserGroupValidationError) Field

func (e UserGroupValidationError) Field() string

Field function returns field value.

func (UserGroupValidationError) Key

Key function returns key value.

func (UserGroupValidationError) Reason

func (e UserGroupValidationError) Reason() string

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UserValidationError

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type Whitelist added in v1.0.3

type Whitelist struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Category uint32 `protobuf:"varint,2,opt,name=category,proto3" json:"category,omitempty"`
	Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*Whitelist) Descriptor deprecated added in v1.0.3

func (*Whitelist) Descriptor() ([]byte, []int)

Deprecated: Use Whitelist.ProtoReflect.Descriptor instead.

func (*Whitelist) GetCategory added in v1.0.3

func (x *Whitelist) GetCategory() uint32

func (*Whitelist) GetId added in v1.0.3

func (x *Whitelist) GetId() uint64

func (*Whitelist) GetResource added in v1.0.3

func (x *Whitelist) GetResource() string

func (*Whitelist) ProtoMessage added in v1.0.3

func (*Whitelist) ProtoMessage()

func (*Whitelist) ProtoReflect added in v1.0.3

func (x *Whitelist) ProtoReflect() protoreflect.Message

func (*Whitelist) Reset added in v1.0.3

func (x *Whitelist) Reset()

func (*Whitelist) String added in v1.0.3

func (x *Whitelist) String() string

func (*Whitelist) Validate added in v1.0.3

func (m *Whitelist) Validate() error

Validate checks the field values on Whitelist with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Whitelist) ValidateAll added in v1.0.3

func (m *Whitelist) ValidateAll() error

ValidateAll checks the field values on Whitelist with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhitelistMultiError, or nil if none found.

type WhitelistMultiError added in v1.0.3

type WhitelistMultiError []error

WhitelistMultiError is an error wrapping multiple validation errors returned by Whitelist.ValidateAll() if the designated constraints aren't met.

func (WhitelistMultiError) AllErrors added in v1.0.3

func (m WhitelistMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WhitelistMultiError) Error added in v1.0.3

func (m WhitelistMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WhitelistValidationError added in v1.0.3

type WhitelistValidationError struct {
	// contains filtered or unexported fields
}

WhitelistValidationError is the validation error returned by Whitelist.Validate if the designated constraints aren't met.

func (WhitelistValidationError) Cause added in v1.0.3

func (e WhitelistValidationError) Cause() error

Cause function returns cause value.

func (WhitelistValidationError) Error added in v1.0.3

func (e WhitelistValidationError) Error() string

Error satisfies the builtin error interface

func (WhitelistValidationError) ErrorName added in v1.0.3

func (e WhitelistValidationError) ErrorName() string

ErrorName returns error name.

func (WhitelistValidationError) Field added in v1.0.3

func (e WhitelistValidationError) Field() string

Field function returns field value.

func (WhitelistValidationError) Key added in v1.0.3

Key function returns key value.

func (WhitelistValidationError) Reason added in v1.0.3

func (e WhitelistValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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