auth

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

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

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: "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,
		},
	},
	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)
	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 *IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Permission(ctx context.Context, in *PermissionRequest, opts ...grpc.CallOption) (*PermissionReply, 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 *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 *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 *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)
	DeleteAction(ctx context.Context, req *IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteRole(ctx context.Context, req *IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteUser(ctx context.Context, req *IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	DeleteUserGroup(ctx context.Context, req *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)
	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)
	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)
}

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

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

func (*AuthHTTPClientImpl) DeleteRole

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

func (*AuthHTTPClientImpl) DeleteUser

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

func (*AuthHTTPClientImpl) DeleteUserGroup

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

func (*AuthHTTPClientImpl) FindAction

func (*AuthHTTPClientImpl) FindRole

func (*AuthHTTPClientImpl) FindUser

func (*AuthHTTPClientImpl) FindUserGroup

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

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)
	DeleteAction(context.Context, *IdsRequest) (*emptypb.Empty, error)
	DeleteRole(context.Context, *IdsRequest) (*emptypb.Empty, error)
	DeleteUser(context.Context, *IdsRequest) (*emptypb.Empty, error)
	DeleteUserGroup(context.Context, *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)
	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)
	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)
}

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)
	FindUser(context.Context, *FindUserRequest) (*FindUserReply, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
	DeleteUser(context.Context, *IdsRequest) (*emptypb.Empty, error)
	Permission(context.Context, *PermissionRequest) (*PermissionReply, error)
	CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error)
	FindAction(context.Context, *FindActionRequest) (*FindActionReply, error)
	UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error)
	DeleteAction(context.Context, *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, *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, *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 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 FindActionReply

type FindActionReply struct {
	Page *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() *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     *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() *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 *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() *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   *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() *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 *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() *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   *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() *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 *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() *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           *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"`
	Mobile         *string `protobuf:"bytes,8,opt,name=mobile,proto3,oneof" json:"mobile,omitempty"`
	Locked         *uint64 `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() uint64

func (*FindUserRequest) GetMobile

func (x *FindUserRequest) GetMobile() string

func (*FindUserRequest) GetPage

func (x *FindUserRequest) GetPage() *Page

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

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

func (*IdsRequest) Descriptor deprecated

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

Deprecated: Use IdsRequest.ProtoReflect.Descriptor instead.

func (*IdsRequest) GetIds

func (x *IdsRequest) GetIds() string

func (*IdsRequest) ProtoMessage

func (*IdsRequest) ProtoMessage()

func (*IdsRequest) ProtoReflect

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

func (*IdsRequest) Reset

func (x *IdsRequest) Reset()

func (*IdsRequest) String

func (x *IdsRequest) String() string

func (*IdsRequest) Validate

func (m *IdsRequest) Validate() error

Validate checks the field values on IdsRequest 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 (*IdsRequest) ValidateAll

func (m *IdsRequest) ValidateAll() error

ValidateAll checks the field values on IdsRequest 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 IdsRequestMultiError, or nil if none found.

type IdsRequestMultiError

type IdsRequestMultiError []error

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

func (IdsRequestMultiError) AllErrors

func (m IdsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IdsRequestMultiError) Error

func (m IdsRequestMultiError) Error() string

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

type IdsRequestValidationError

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

IdsRequestValidationError is the validation error returned by IdsRequest.Validate if the designated constraints aren't met.

func (IdsRequestValidationError) Cause

func (e IdsRequestValidationError) Cause() error

Cause function returns cause value.

func (IdsRequestValidationError) Error

Error satisfies the builtin error interface

func (IdsRequestValidationError) ErrorName

func (e IdsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IdsRequestValidationError) Field

Field function returns field value.

func (IdsRequestValidationError) Key

Key function returns key value.

func (IdsRequestValidationError) Reason

func (e IdsRequestValidationError) Reason() string

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"`
	Mobile       string      `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Avatar       string      `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Nickname     string      `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Introduction string      `protobuf:"bytes,7,opt,name=introduction,proto3" json:"introduction,omitempty"`
	Permission   *Permission `protobuf:"bytes,8,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) GetAvatar

func (x *InfoReply) GetAvatar() string

func (*InfoReply) GetCode

func (x *InfoReply) GetCode() string

func (*InfoReply) GetId

func (x *InfoReply) GetId() uint64

func (*InfoReply) GetIntroduction

func (x *InfoReply) GetIntroduction() string

func (*InfoReply) GetMobile

func (x *InfoReply) GetMobile() string

func (*InfoReply) GetNickname

func (x *InfoReply) GetNickname() string

func (*InfoReply) GetPermission

func (x *InfoReply) GetPermission() *Permission

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"`
	CaptchaId     *string `protobuf:"bytes,3,opt,name=captcha_id,json=captchaId,proto3,oneof" json:"captcha_id,omitempty"`
	CaptchaAnswer *string `protobuf:"bytes,4,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) 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 Page

type Page struct {
	Num     uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	Size    uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Total   int64  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Disable bool   `protobuf:"varint,4,opt,name=disable,proto3" json:"disable,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetDisable

func (x *Page) GetDisable() bool

func (*Page) GetNum

func (x *Page) GetNum() uint64

func (*Page) GetSize

func (x *Page) GetSize() uint64

func (*Page) GetTotal

func (x *Page) GetTotal() int64

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

func (*Page) Validate

func (m *Page) Validate() error

Validate checks the field values on Page 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 (*Page) ValidateAll

func (m *Page) ValidateAll() error

ValidateAll checks the field values on Page 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 PageMultiError, or nil if none found.

type PageMultiError

type PageMultiError []error

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

func (PageMultiError) AllErrors

func (m PageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageMultiError) Error

func (m PageMultiError) Error() string

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

type PageValidationError

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

PageValidationError is the validation error returned by Page.Validate if the designated constraints aren't met.

func (PageValidationError) Cause

func (e PageValidationError) Cause() error

Cause function returns cause value.

func (PageValidationError) Error

func (e PageValidationError) Error() string

Error satisfies the builtin error interface

func (PageValidationError) ErrorName

func (e PageValidationError) ErrorName() string

ErrorName returns error name.

func (PageValidationError) Field

func (e PageValidationError) Field() string

Field function returns field value.

func (PageValidationError) Key

func (e PageValidationError) Key() bool

Key function returns key value.

func (PageValidationError) Reason

func (e PageValidationError) Reason() string

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 PermissionReply

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

func (*PermissionReply) Descriptor deprecated

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

Deprecated: Use PermissionReply.ProtoReflect.Descriptor instead.

func (*PermissionReply) GetPass

func (x *PermissionReply) GetPass() bool

func (*PermissionReply) ProtoMessage

func (*PermissionReply) ProtoMessage()

func (*PermissionReply) ProtoReflect

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

func (*PermissionReply) Reset

func (x *PermissionReply) Reset()

func (*PermissionReply) String

func (x *PermissionReply) String() string

func (*PermissionReply) Validate

func (m *PermissionReply) Validate() error

Validate checks the field values on PermissionReply 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 (*PermissionReply) ValidateAll

func (m *PermissionReply) ValidateAll() error

ValidateAll checks the field values on PermissionReply 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 PermissionReplyMultiError, or nil if none found.

type PermissionReplyMultiError

type PermissionReplyMultiError []error

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

func (PermissionReplyMultiError) AllErrors

func (m PermissionReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionReplyMultiError) Error

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

type PermissionReplyValidationError

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

PermissionReplyValidationError is the validation error returned by PermissionReply.Validate if the designated constraints aren't met.

func (PermissionReplyValidationError) Cause

Cause function returns cause value.

func (PermissionReplyValidationError) Error

Error satisfies the builtin error interface

func (PermissionReplyValidationError) ErrorName

func (e PermissionReplyValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionReplyValidationError) Field

Field function returns field value.

func (PermissionReplyValidationError) Key

Key function returns key value.

func (PermissionReplyValidationError) Reason

Reason function returns reason value.

type PermissionRequest

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

func (*PermissionRequest) Descriptor deprecated

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

Deprecated: Use PermissionRequest.ProtoReflect.Descriptor instead.

func (*PermissionRequest) GetResource

func (x *PermissionRequest) GetResource() 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"`
	Mobile       string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Avatar       string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Nickname     string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Introduction string `protobuf:"bytes,6,opt,name=introduction,proto3" json:"introduction,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAvatar

func (x *RegisterRequest) GetAvatar() string

func (*RegisterRequest) GetIntroduction

func (x *RegisterRequest) GetIntroduction() string

func (*RegisterRequest) GetMobile

func (x *RegisterRequest) GetMobile() string

func (*RegisterRequest) GetNickname

func (x *RegisterRequest) GetNickname() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() 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     uint64   `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() uint64

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

func (UnimplementedAuthServer) CreateRole

func (UnimplementedAuthServer) CreateUserGroup

func (UnimplementedAuthServer) DeleteAction

func (UnimplementedAuthServer) DeleteRole

func (UnimplementedAuthServer) DeleteUser

func (UnimplementedAuthServer) DeleteUserGroup

func (UnimplementedAuthServer) FindAction

func (UnimplementedAuthServer) FindRole

func (UnimplementedAuthServer) FindUser

func (UnimplementedAuthServer) FindUserGroup

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

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"`
	Mobile         *string `protobuf:"bytes,4,opt,name=mobile,proto3,oneof" json:"mobile,omitempty"`
	Avatar         *string `protobuf:"bytes,5,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	Nickname       *string `protobuf:"bytes,6,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"`
	Introduction   *string `protobuf:"bytes,7,opt,name=introduction,proto3,oneof" json:"introduction,omitempty"`
	Locked         *uint64 `protobuf:"varint,8,opt,name=locked,proto3,oneof" json:"locked,omitempty"`
	LockExpireTime *string `protobuf:"bytes,9,opt,name=lock_expire_time,json=lockExpireTime,proto3,oneof" json:"lock_expire_time,omitempty"`
	Action         *string `protobuf:"bytes,10,opt,name=action,proto3,oneof" json:"action,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) GetAvatar

func (x *UpdateUserRequest) GetAvatar() string

func (*UpdateUserRequest) GetId

func (x *UpdateUserRequest) GetId() uint64

func (*UpdateUserRequest) GetIntroduction

func (x *UpdateUserRequest) GetIntroduction() string

func (*UpdateUserRequest) GetLockExpireTime

func (x *UpdateUserRequest) GetLockExpireTime() string

func (*UpdateUserRequest) GetLocked

func (x *UpdateUserRequest) GetLocked() uint64

func (*UpdateUserRequest) GetMobile

func (x *UpdateUserRequest) GetMobile() string

func (*UpdateUserRequest) GetNickname

func (x *UpdateUserRequest) GetNickname() string

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

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 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"`
	Mobile       string    `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Locked       uint64    `protobuf:"varint,7,opt,name=locked,proto3" json:"locked,omitempty"`
	Avatar       string    `protobuf:"bytes,8,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Nickname     string    `protobuf:"bytes,9,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Introduction string    `protobuf:"bytes,10,opt,name=introduction,proto3" json:"introduction,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"`
	// 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) GetAvatar

func (x *User) GetAvatar() string

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

func (x *User) GetIntroduction() string

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() uint64

func (*User) GetMobile

func (x *User) GetMobile() string

func (*User) GetNickname

func (x *User) GetNickname() string

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.

Jump to

Keyboard shortcuts

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