Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterHttpServiceHTTPServer(s *http.Server, srv HttpServiceHTTPServer)
- func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
- type AddCasbinRequest
- func (*AddCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCasbinRequest) GetDesc() string
- func (x *AddCasbinRequest) GetMethod() string
- func (x *AddCasbinRequest) GetPath() string
- func (x *AddCasbinRequest) GetRoleIDs() string
- func (*AddCasbinRequest) ProtoMessage()
- func (x *AddCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *AddCasbinRequest) Reset()
- func (x *AddCasbinRequest) String() string
- func (m *AddCasbinRequest) Validate() error
- func (m *AddCasbinRequest) ValidateAll() error
- type AddCasbinRequestMultiError
- type AddCasbinRequestValidationError
- func (e AddCasbinRequestValidationError) Cause() error
- func (e AddCasbinRequestValidationError) Error() string
- func (e AddCasbinRequestValidationError) ErrorName() string
- func (e AddCasbinRequestValidationError) Field() string
- func (e AddCasbinRequestValidationError) Key() bool
- func (e AddCasbinRequestValidationError) Reason() string
- type AddRoleMenuRequest
- func (*AddRoleMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoleMenuRequest) GetComponent() string
- func (x *AddRoleMenuRequest) GetHidden() bool
- func (x *AddRoleMenuRequest) GetIcon() string
- func (x *AddRoleMenuRequest) GetKeepAlive() bool
- func (x *AddRoleMenuRequest) GetName() string
- func (x *AddRoleMenuRequest) GetParentID() int32
- func (x *AddRoleMenuRequest) GetPath() string
- func (x *AddRoleMenuRequest) GetRedirect() string
- func (x *AddRoleMenuRequest) GetRoleIDs() string
- func (x *AddRoleMenuRequest) GetSort() int32
- func (x *AddRoleMenuRequest) GetTitle() string
- func (*AddRoleMenuRequest) ProtoMessage()
- func (x *AddRoleMenuRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoleMenuRequest) Reset()
- func (x *AddRoleMenuRequest) String() string
- func (m *AddRoleMenuRequest) Validate() error
- func (m *AddRoleMenuRequest) ValidateAll() error
- type AddRoleMenuRequestMultiError
- type AddRoleMenuRequestValidationError
- func (e AddRoleMenuRequestValidationError) Cause() error
- func (e AddRoleMenuRequestValidationError) Error() string
- func (e AddRoleMenuRequestValidationError) ErrorName() string
- func (e AddRoleMenuRequestValidationError) Field() string
- func (e AddRoleMenuRequestValidationError) Key() bool
- func (e AddRoleMenuRequestValidationError) Reason() string
- type AddTokenBlackRequest
- func (*AddTokenBlackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTokenBlackRequest) GetToken() string
- func (*AddTokenBlackRequest) ProtoMessage()
- func (x *AddTokenBlackRequest) ProtoReflect() protoreflect.Message
- func (x *AddTokenBlackRequest) Reset()
- func (x *AddTokenBlackRequest) String() string
- func (m *AddTokenBlackRequest) Validate() error
- func (m *AddTokenBlackRequest) ValidateAll() error
- type AddTokenBlackRequestMultiError
- type AddTokenBlackRequestValidationError
- func (e AddTokenBlackRequestValidationError) Cause() error
- func (e AddTokenBlackRequestValidationError) Error() string
- func (e AddTokenBlackRequestValidationError) ErrorName() string
- func (e AddTokenBlackRequestValidationError) Field() string
- func (e AddTokenBlackRequestValidationError) Key() bool
- func (e AddTokenBlackRequestValidationError) Reason() string
- type CaptchaRequest
- func (*CaptchaRequest) Descriptor() ([]byte, []int)deprecated
- func (*CaptchaRequest) ProtoMessage()
- func (x *CaptchaRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaRequest) Reset()
- func (x *CaptchaRequest) String() string
- func (m *CaptchaRequest) Validate() error
- func (m *CaptchaRequest) ValidateAll() error
- type CaptchaRequestMultiError
- type CaptchaRequestValidationError
- func (e CaptchaRequestValidationError) Cause() error
- func (e CaptchaRequestValidationError) Error() string
- func (e CaptchaRequestValidationError) ErrorName() string
- func (e CaptchaRequestValidationError) Field() string
- func (e CaptchaRequestValidationError) Key() bool
- func (e CaptchaRequestValidationError) Reason() string
- type CaptchaResponse
- func (*CaptchaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaResponse) GetCaptchaID() string
- func (x *CaptchaResponse) GetCaptchaLength() int32
- func (x *CaptchaResponse) GetPicPath() string
- func (*CaptchaResponse) ProtoMessage()
- func (x *CaptchaResponse) ProtoReflect() protoreflect.Message
- func (x *CaptchaResponse) Reset()
- func (x *CaptchaResponse) String() string
- func (m *CaptchaResponse) Validate() error
- func (m *CaptchaResponse) ValidateAll() error
- type CaptchaResponseMultiError
- type CaptchaResponseValidationError
- func (e CaptchaResponseValidationError) Cause() error
- func (e CaptchaResponseValidationError) Error() string
- func (e CaptchaResponseValidationError) ErrorName() string
- func (e CaptchaResponseValidationError) Field() string
- func (e CaptchaResponseValidationError) Key() bool
- func (e CaptchaResponseValidationError) Reason() string
- type DebugPerfRequest
- func (*DebugPerfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugPerfRequest) GetText() string
- func (*DebugPerfRequest) ProtoMessage()
- func (x *DebugPerfRequest) ProtoReflect() protoreflect.Message
- func (x *DebugPerfRequest) Reset()
- func (x *DebugPerfRequest) String() string
- func (m *DebugPerfRequest) Validate() error
- func (m *DebugPerfRequest) ValidateAll() error
- type DebugPerfRequestMultiError
- type DebugPerfRequestValidationError
- func (e DebugPerfRequestValidationError) Cause() error
- func (e DebugPerfRequestValidationError) Error() string
- func (e DebugPerfRequestValidationError) ErrorName() string
- func (e DebugPerfRequestValidationError) Field() string
- func (e DebugPerfRequestValidationError) Key() bool
- func (e DebugPerfRequestValidationError) Reason() string
- type DebugPerfResponse
- func (*DebugPerfResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugPerfResponse) GetCreateTime() string
- func (x *DebugPerfResponse) GetCreateUser() string
- func (x *DebugPerfResponse) GetID() int64
- func (x *DebugPerfResponse) GetMotto() string
- func (x *DebugPerfResponse) GetText() string
- func (x *DebugPerfResponse) GetUID() string
- func (x *DebugPerfResponse) GetUserName() string
- func (*DebugPerfResponse) ProtoMessage()
- func (x *DebugPerfResponse) ProtoReflect() protoreflect.Message
- func (x *DebugPerfResponse) Reset()
- func (x *DebugPerfResponse) String() string
- func (m *DebugPerfResponse) Validate() error
- func (m *DebugPerfResponse) ValidateAll() error
- type DebugPerfResponseMultiError
- type DebugPerfResponseValidationError
- func (e DebugPerfResponseValidationError) Cause() error
- func (e DebugPerfResponseValidationError) Error() string
- func (e DebugPerfResponseValidationError) ErrorName() string
- func (e DebugPerfResponseValidationError) Field() string
- func (e DebugPerfResponseValidationError) Key() bool
- func (e DebugPerfResponseValidationError) Reason() string
- type DeleteCasbinRequest
- func (*DeleteCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCasbinRequest) GetID() int64
- func (*DeleteCasbinRequest) ProtoMessage()
- func (x *DeleteCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCasbinRequest) Reset()
- func (x *DeleteCasbinRequest) String() string
- func (m *DeleteCasbinRequest) Validate() error
- func (m *DeleteCasbinRequest) ValidateAll() error
- type DeleteCasbinRequestMultiError
- type DeleteCasbinRequestValidationError
- func (e DeleteCasbinRequestValidationError) Cause() error
- func (e DeleteCasbinRequestValidationError) Error() string
- func (e DeleteCasbinRequestValidationError) ErrorName() string
- func (e DeleteCasbinRequestValidationError) Field() string
- func (e DeleteCasbinRequestValidationError) Key() bool
- func (e DeleteCasbinRequestValidationError) Reason() string
- type DeleteRoleMenuRequest
- func (*DeleteRoleMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleMenuRequest) GetID() int64
- func (*DeleteRoleMenuRequest) ProtoMessage()
- func (x *DeleteRoleMenuRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleMenuRequest) Reset()
- func (x *DeleteRoleMenuRequest) String() string
- func (m *DeleteRoleMenuRequest) Validate() error
- func (m *DeleteRoleMenuRequest) ValidateAll() error
- type DeleteRoleMenuRequestMultiError
- type DeleteRoleMenuRequestValidationError
- func (e DeleteRoleMenuRequestValidationError) Cause() error
- func (e DeleteRoleMenuRequestValidationError) Error() string
- func (e DeleteRoleMenuRequestValidationError) ErrorName() string
- func (e DeleteRoleMenuRequestValidationError) Field() string
- func (e DeleteRoleMenuRequestValidationError) Key() bool
- func (e DeleteRoleMenuRequestValidationError) Reason() string
- type GetCasbinRequest
- func (*GetCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCasbinRequest) GetMethod() string
- func (x *GetCasbinRequest) GetPage() int32
- func (x *GetCasbinRequest) GetPageSize() int32
- func (x *GetCasbinRequest) GetPath() string
- func (x *GetCasbinRequest) GetRoleIDs() string
- func (*GetCasbinRequest) ProtoMessage()
- func (x *GetCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *GetCasbinRequest) Reset()
- func (x *GetCasbinRequest) String() string
- func (m *GetCasbinRequest) Validate() error
- func (m *GetCasbinRequest) ValidateAll() error
- type GetCasbinRequestMultiError
- type GetCasbinRequestValidationError
- func (e GetCasbinRequestValidationError) Cause() error
- func (e GetCasbinRequestValidationError) Error() string
- func (e GetCasbinRequestValidationError) ErrorName() string
- func (e GetCasbinRequestValidationError) Field() string
- func (e GetCasbinRequestValidationError) Key() bool
- func (e GetCasbinRequestValidationError) Reason() string
- type GetCasbinResponse
- func (*GetCasbinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCasbinResponse) GetDesc() string
- func (x *GetCasbinResponse) GetID() int64
- func (x *GetCasbinResponse) GetMethod() string
- func (x *GetCasbinResponse) GetPath() string
- func (x *GetCasbinResponse) GetRoleIDs() string
- func (*GetCasbinResponse) ProtoMessage()
- func (x *GetCasbinResponse) ProtoReflect() protoreflect.Message
- func (x *GetCasbinResponse) Reset()
- func (x *GetCasbinResponse) String() string
- func (m *GetCasbinResponse) Validate() error
- func (m *GetCasbinResponse) ValidateAll() error
- type GetCasbinResponseMultiError
- type GetCasbinResponseValidationError
- func (e GetCasbinResponseValidationError) Cause() error
- func (e GetCasbinResponseValidationError) Error() string
- func (e GetCasbinResponseValidationError) ErrorName() string
- func (e GetCasbinResponseValidationError) Field() string
- func (e GetCasbinResponseValidationError) Key() bool
- func (e GetCasbinResponseValidationError) Reason() string
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResponse) GetAvatar() string
- func (x *GetUserInfoResponse) GetBirth() string
- func (x *GetUserInfoResponse) GetEmail() string
- func (x *GetUserInfoResponse) GetID() int64
- func (x *GetUserInfoResponse) GetMotto() string
- func (x *GetUserInfoResponse) GetNickName() string
- func (x *GetUserInfoResponse) GetPhone() string
- func (x *GetUserInfoResponse) GetRoleID() string
- func (x *GetUserInfoResponse) GetRoleName() string
- func (x *GetUserInfoResponse) GetState() int32
- func (x *GetUserInfoResponse) GetUID() string
- func (x *GetUserInfoResponse) GetUserName() string
- func (x *GetUserInfoResponse) GetWechat() string
- func (*GetUserInfoResponse) ProtoMessage()
- func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResponse) Reset()
- func (x *GetUserInfoResponse) String() string
- func (m *GetUserInfoResponse) Validate() error
- func (m *GetUserInfoResponse) ValidateAll() error
- type GetUserInfoResponseMultiError
- type GetUserInfoResponseValidationError
- func (e GetUserInfoResponseValidationError) Cause() error
- func (e GetUserInfoResponseValidationError) Error() string
- func (e GetUserInfoResponseValidationError) ErrorName() string
- func (e GetUserInfoResponseValidationError) Field() string
- func (e GetUserInfoResponseValidationError) Key() bool
- func (e GetUserInfoResponseValidationError) Reason() string
- type HttpServiceClient
- type HttpServiceHTTPClient
- type HttpServiceHTTPClientImpl
- func (c *HttpServiceHTTPClientImpl) Captcha(ctx context.Context, in *CaptchaRequest, opts ...http.CallOption) (*CaptchaResponse, error)
- func (c *HttpServiceHTTPClientImpl) DebugPerf(ctx context.Context, in *DebugPerfRequest, opts ...http.CallOption) (*DebugPerfResponse, error)
- func (c *HttpServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
- func (c *HttpServiceHTTPClientImpl) Setting(ctx context.Context, in *SettingRequest, opts ...http.CallOption) (*SettingResponse, error)
- type HttpServiceHTTPServer
- type HttpServiceServer
- type IsTokenBlackkRequest
- func (*IsTokenBlackkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsTokenBlackkRequest) GetToken() string
- func (*IsTokenBlackkRequest) ProtoMessage()
- func (x *IsTokenBlackkRequest) ProtoReflect() protoreflect.Message
- func (x *IsTokenBlackkRequest) Reset()
- func (x *IsTokenBlackkRequest) String() string
- func (m *IsTokenBlackkRequest) Validate() error
- func (m *IsTokenBlackkRequest) ValidateAll() error
- type IsTokenBlackkRequestMultiError
- type IsTokenBlackkRequestValidationError
- func (e IsTokenBlackkRequestValidationError) Cause() error
- func (e IsTokenBlackkRequestValidationError) Error() string
- func (e IsTokenBlackkRequestValidationError) ErrorName() string
- func (e IsTokenBlackkRequestValidationError) Field() string
- func (e IsTokenBlackkRequestValidationError) Key() bool
- func (e IsTokenBlackkRequestValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetCaptcha() string
- func (x *LoginRequest) GetCaptchaID() string
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAvatar() string
- func (x *LoginResponse) GetBirth() string
- func (x *LoginResponse) GetEmail() string
- func (x *LoginResponse) GetID() int64
- func (x *LoginResponse) GetMotto() string
- func (x *LoginResponse) GetNickName() string
- func (x *LoginResponse) GetPhone() string
- func (x *LoginResponse) GetRefreshToken() string
- func (x *LoginResponse) GetRoleID() string
- func (x *LoginResponse) GetRoleName() string
- func (x *LoginResponse) GetState() int32
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUID() string
- func (x *LoginResponse) GetUserName() string
- func (x *LoginResponse) GetWechat() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type MenuRequest
- func (*MenuRequest) Descriptor() ([]byte, []int)deprecated
- func (*MenuRequest) ProtoMessage()
- func (x *MenuRequest) ProtoReflect() protoreflect.Message
- func (x *MenuRequest) Reset()
- func (x *MenuRequest) String() string
- func (m *MenuRequest) Validate() error
- func (m *MenuRequest) ValidateAll() error
- type MenuRequestMultiError
- type MenuRequestValidationError
- func (e MenuRequestValidationError) Cause() error
- func (e MenuRequestValidationError) Error() string
- func (e MenuRequestValidationError) ErrorName() string
- func (e MenuRequestValidationError) Field() string
- func (e MenuRequestValidationError) Key() bool
- func (e MenuRequestValidationError) Reason() string
- type MenuResponse
- func (*MenuResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MenuResponse) GetChildren() []*MenuResponse
- func (x *MenuResponse) GetComponent() string
- func (x *MenuResponse) GetMeta() *MenuResponse_Meta
- func (x *MenuResponse) GetName() string
- func (x *MenuResponse) GetPath() string
- func (x *MenuResponse) GetRedirect() string
- func (*MenuResponse) ProtoMessage()
- func (x *MenuResponse) ProtoReflect() protoreflect.Message
- func (x *MenuResponse) Reset()
- func (x *MenuResponse) String() string
- func (m *MenuResponse) Validate() error
- func (m *MenuResponse) ValidateAll() error
- type MenuResponseMultiError
- type MenuResponseValidationError
- func (e MenuResponseValidationError) Cause() error
- func (e MenuResponseValidationError) Error() string
- func (e MenuResponseValidationError) ErrorName() string
- func (e MenuResponseValidationError) Field() string
- func (e MenuResponseValidationError) Key() bool
- func (e MenuResponseValidationError) Reason() string
- type MenuResponse_Meta
- func (*MenuResponse_Meta) Descriptor() ([]byte, []int)deprecated
- func (x *MenuResponse_Meta) GetHidden() bool
- func (x *MenuResponse_Meta) GetID() int64
- func (x *MenuResponse_Meta) GetIcon() string
- func (x *MenuResponse_Meta) GetKeepAlive() bool
- func (x *MenuResponse_Meta) GetParentID() int32
- func (x *MenuResponse_Meta) GetRoleIDs() string
- func (x *MenuResponse_Meta) GetSort() int32
- func (x *MenuResponse_Meta) GetTitle() string
- func (*MenuResponse_Meta) ProtoMessage()
- func (x *MenuResponse_Meta) ProtoReflect() protoreflect.Message
- func (x *MenuResponse_Meta) Reset()
- func (x *MenuResponse_Meta) String() string
- func (m *MenuResponse_Meta) Validate() error
- func (m *MenuResponse_Meta) ValidateAll() error
- type MenuResponse_MetaMultiError
- type MenuResponse_MetaValidationError
- func (e MenuResponse_MetaValidationError) Cause() error
- func (e MenuResponse_MetaValidationError) Error() string
- func (e MenuResponse_MetaValidationError) ErrorName() string
- func (e MenuResponse_MetaValidationError) Field() string
- func (e MenuResponse_MetaValidationError) Key() bool
- func (e MenuResponse_MetaValidationError) Reason() string
- type SettingRequest
- func (*SettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SettingRequest) GetActiveBackgroundColor() string
- func (x *SettingRequest) GetActiveTextColor() string
- func (x *SettingRequest) GetBreadcrumb() bool
- func (x *SettingRequest) GetCollapse() bool
- func (x *SettingRequest) GetDefaultRouter() string
- func (x *SettingRequest) GetLang() string
- func (x *SettingRequest) GetSideModeColor() string
- func (x *SettingRequest) GetUID() string
- func (*SettingRequest) ProtoMessage()
- func (x *SettingRequest) ProtoReflect() protoreflect.Message
- func (x *SettingRequest) Reset()
- func (x *SettingRequest) String() string
- func (m *SettingRequest) Validate() error
- func (m *SettingRequest) ValidateAll() error
- type SettingRequestMultiError
- type SettingRequestValidationError
- func (e SettingRequestValidationError) Cause() error
- func (e SettingRequestValidationError) Error() string
- func (e SettingRequestValidationError) ErrorName() string
- func (e SettingRequestValidationError) Field() string
- func (e SettingRequestValidationError) Key() bool
- func (e SettingRequestValidationError) Reason() string
- type SettingResponse
- func (*SettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SettingResponse) GetActiveBackgroundColor() string
- func (x *SettingResponse) GetActiveTextColor() string
- func (x *SettingResponse) GetBreadcrumb() bool
- func (x *SettingResponse) GetCollapse() bool
- func (x *SettingResponse) GetDefaultRouter() string
- func (x *SettingResponse) GetID() int64
- func (x *SettingResponse) GetLang() string
- func (x *SettingResponse) GetSideModeColor() string
- func (x *SettingResponse) GetUID() string
- func (*SettingResponse) ProtoMessage()
- func (x *SettingResponse) ProtoReflect() protoreflect.Message
- func (x *SettingResponse) Reset()
- func (x *SettingResponse) String() string
- func (m *SettingResponse) Validate() error
- func (m *SettingResponse) ValidateAll() error
- type SettingResponseMultiError
- type SettingResponseValidationError
- func (e SettingResponseValidationError) Cause() error
- func (e SettingResponseValidationError) Error() string
- func (e SettingResponseValidationError) ErrorName() string
- func (e SettingResponseValidationError) Field() string
- func (e SettingResponseValidationError) Key() bool
- func (e SettingResponseValidationError) Reason() string
- type UnimplementedHttpServiceServer
- func (UnimplementedHttpServiceServer) Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error)
- func (UnimplementedHttpServiceServer) DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error)
- func (UnimplementedHttpServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedHttpServiceServer) Setting(context.Context, *SettingRequest) (*SettingResponse, error)
- type UnsafeHttpServiceServer
- type UpdateCasbinRequest
- func (*UpdateCasbinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCasbinRequest) GetDesc() string
- func (x *UpdateCasbinRequest) GetID() int64
- func (x *UpdateCasbinRequest) GetMethod() string
- func (x *UpdateCasbinRequest) GetPath() string
- func (x *UpdateCasbinRequest) GetRoleIDs() string
- func (*UpdateCasbinRequest) ProtoMessage()
- func (x *UpdateCasbinRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCasbinRequest) Reset()
- func (x *UpdateCasbinRequest) String() string
- func (m *UpdateCasbinRequest) Validate() error
- func (m *UpdateCasbinRequest) ValidateAll() error
- type UpdateCasbinRequestMultiError
- type UpdateCasbinRequestValidationError
- func (e UpdateCasbinRequestValidationError) Cause() error
- func (e UpdateCasbinRequestValidationError) Error() string
- func (e UpdateCasbinRequestValidationError) ErrorName() string
- func (e UpdateCasbinRequestValidationError) Field() string
- func (e UpdateCasbinRequestValidationError) Key() bool
- func (e UpdateCasbinRequestValidationError) Reason() string
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNewPassword() string
- func (x *UpdatePasswordRequest) GetOldPassword() string
- func (x *UpdatePasswordRequest) GetUID() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- func (m *UpdatePasswordRequest) Validate() error
- func (m *UpdatePasswordRequest) ValidateAll() error
- type UpdatePasswordRequestMultiError
- type UpdatePasswordRequestValidationError
- func (e UpdatePasswordRequestValidationError) Cause() error
- func (e UpdatePasswordRequestValidationError) Error() string
- func (e UpdatePasswordRequestValidationError) ErrorName() string
- func (e UpdatePasswordRequestValidationError) Field() string
- func (e UpdatePasswordRequestValidationError) Key() bool
- func (e UpdatePasswordRequestValidationError) Reason() string
- type UpdateRoleMenuRequest
- func (*UpdateRoleMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleMenuRequest) GetComponent() string
- func (x *UpdateRoleMenuRequest) GetHidden() bool
- func (x *UpdateRoleMenuRequest) GetID() int64
- func (x *UpdateRoleMenuRequest) GetIcon() string
- func (x *UpdateRoleMenuRequest) GetKeepAlive() bool
- func (x *UpdateRoleMenuRequest) GetName() string
- func (x *UpdateRoleMenuRequest) GetParentID() int32
- func (x *UpdateRoleMenuRequest) GetPath() string
- func (x *UpdateRoleMenuRequest) GetRedirect() string
- func (x *UpdateRoleMenuRequest) GetRoleIDs() string
- func (x *UpdateRoleMenuRequest) GetSort() int32
- func (x *UpdateRoleMenuRequest) GetTitle() string
- func (*UpdateRoleMenuRequest) ProtoMessage()
- func (x *UpdateRoleMenuRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleMenuRequest) Reset()
- func (x *UpdateRoleMenuRequest) String() string
- func (m *UpdateRoleMenuRequest) Validate() error
- func (m *UpdateRoleMenuRequest) ValidateAll() error
- type UpdateRoleMenuRequestMultiError
- type UpdateRoleMenuRequestValidationError
- func (e UpdateRoleMenuRequestValidationError) Cause() error
- func (e UpdateRoleMenuRequestValidationError) Error() string
- func (e UpdateRoleMenuRequestValidationError) ErrorName() string
- func (e UpdateRoleMenuRequestValidationError) Field() string
- func (e UpdateRoleMenuRequestValidationError) Key() bool
- func (e UpdateRoleMenuRequestValidationError) Reason() string
- type UpdateUserInfoRequest
- func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoRequest) GetBirth() string
- func (x *UpdateUserInfoRequest) GetEmail() string
- func (x *UpdateUserInfoRequest) GetMotto() string
- func (x *UpdateUserInfoRequest) GetNickName() string
- func (x *UpdateUserInfoRequest) GetPhone() string
- func (x *UpdateUserInfoRequest) GetUID() string
- func (x *UpdateUserInfoRequest) GetWechat() string
- func (*UpdateUserInfoRequest) ProtoMessage()
- func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoRequest) Reset()
- func (x *UpdateUserInfoRequest) String() string
- func (m *UpdateUserInfoRequest) Validate() error
- func (m *UpdateUserInfoRequest) ValidateAll() error
- type UpdateUserInfoRequestMultiError
- type UpdateUserInfoRequestValidationError
- func (e UpdateUserInfoRequestValidationError) Cause() error
- func (e UpdateUserInfoRequestValidationError) Error() string
- func (e UpdateUserInfoRequestValidationError) ErrorName() string
- func (e UpdateUserInfoRequestValidationError) Field() string
- func (e UpdateUserInfoRequestValidationError) Key() bool
- func (e UpdateUserInfoRequestValidationError) Reason() string
Constants ¶
const ( HttpService_DebugPerf_FullMethodName = "/api.http.v1.HttpService/DebugPerf" HttpService_Login_FullMethodName = "/api.http.v1.HttpService/Login" HttpService_Captcha_FullMethodName = "/api.http.v1.HttpService/Captcha" HttpService_Setting_FullMethodName = "/api.http.v1.HttpService/Setting" )
const OperationHttpServiceCaptcha = "/api.http.v1.HttpService/Captcha"
const OperationHttpServiceDebugPerf = "/api.http.v1.HttpService/DebugPerf"
const OperationHttpServiceLogin = "/api.http.v1.HttpService/Login"
const OperationHttpServiceSetting = "/api.http.v1.HttpService/Setting"
Variables ¶
var File_http_v1_http_proto protoreflect.FileDescriptor
var HttpService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.http.v1.HttpService", HandlerType: (*HttpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DebugPerf", Handler: _HttpService_DebugPerf_Handler, }, { MethodName: "Login", Handler: _HttpService_Login_Handler, }, { MethodName: "Captcha", Handler: _HttpService_Captcha_Handler, }, { MethodName: "Setting", Handler: _HttpService_Setting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "http/v1/http.proto", }
HttpService_ServiceDesc is the grpc.ServiceDesc for HttpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHttpServiceHTTPServer ¶
func RegisterHttpServiceHTTPServer(s *http.Server, srv HttpServiceHTTPServer)
func RegisterHttpServiceServer ¶
func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
Types ¶
type AddCasbinRequest ¶
type AddCasbinRequest struct { RoleIDs string `protobuf:"bytes,1,opt,name=roleIDs,proto3" json:"roleIDs"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method"` Desc string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc"` // contains filtered or unexported fields }
func (*AddCasbinRequest) Descriptor
deprecated
func (*AddCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCasbinRequest.ProtoReflect.Descriptor instead.
func (*AddCasbinRequest) GetDesc ¶
func (x *AddCasbinRequest) GetDesc() string
func (*AddCasbinRequest) GetMethod ¶
func (x *AddCasbinRequest) GetMethod() string
func (*AddCasbinRequest) GetPath ¶
func (x *AddCasbinRequest) GetPath() string
func (*AddCasbinRequest) GetRoleIDs ¶
func (x *AddCasbinRequest) GetRoleIDs() string
func (*AddCasbinRequest) ProtoMessage ¶
func (*AddCasbinRequest) ProtoMessage()
func (*AddCasbinRequest) ProtoReflect ¶
func (x *AddCasbinRequest) ProtoReflect() protoreflect.Message
func (*AddCasbinRequest) Reset ¶
func (x *AddCasbinRequest) Reset()
func (*AddCasbinRequest) String ¶
func (x *AddCasbinRequest) String() string
func (*AddCasbinRequest) Validate ¶
func (m *AddCasbinRequest) Validate() error
Validate checks the field values on AddCasbinRequest 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 (*AddCasbinRequest) ValidateAll ¶
func (m *AddCasbinRequest) ValidateAll() error
ValidateAll checks the field values on AddCasbinRequest 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 AddCasbinRequestMultiError, or nil if none found.
type AddCasbinRequestMultiError ¶
type AddCasbinRequestMultiError []error
AddCasbinRequestMultiError is an error wrapping multiple validation errors returned by AddCasbinRequest.ValidateAll() if the designated constraints aren't met.
func (AddCasbinRequestMultiError) AllErrors ¶
func (m AddCasbinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddCasbinRequestMultiError) Error ¶
func (m AddCasbinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddCasbinRequestValidationError ¶
type AddCasbinRequestValidationError struct {
// contains filtered or unexported fields
}
AddCasbinRequestValidationError is the validation error returned by AddCasbinRequest.Validate if the designated constraints aren't met.
func (AddCasbinRequestValidationError) Cause ¶
func (e AddCasbinRequestValidationError) Cause() error
Cause function returns cause value.
func (AddCasbinRequestValidationError) Error ¶
func (e AddCasbinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddCasbinRequestValidationError) ErrorName ¶
func (e AddCasbinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddCasbinRequestValidationError) Field ¶
func (e AddCasbinRequestValidationError) Field() string
Field function returns field value.
func (AddCasbinRequestValidationError) Key ¶
func (e AddCasbinRequestValidationError) Key() bool
Key function returns key value.
func (AddCasbinRequestValidationError) Reason ¶
func (e AddCasbinRequestValidationError) Reason() string
Reason function returns reason value.
type AddRoleMenuRequest ¶
type AddRoleMenuRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component"` Hidden bool `protobuf:"varint,2,opt,name=hidden,proto3" json:"hidden"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon"` KeepAlive bool `protobuf:"varint,4,opt,name=keepAlive,proto3" json:"keepAlive"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"` ParentID int32 `protobuf:"varint,6,opt,name=parentID,proto3" json:"parentID"` Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path"` RoleIDs string `protobuf:"bytes,8,opt,name=roleIDs,proto3" json:"roleIDs"` Sort int32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort"` Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title"` Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect"` // contains filtered or unexported fields }
func (*AddRoleMenuRequest) Descriptor
deprecated
func (*AddRoleMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleMenuRequest.ProtoReflect.Descriptor instead.
func (*AddRoleMenuRequest) GetComponent ¶
func (x *AddRoleMenuRequest) GetComponent() string
func (*AddRoleMenuRequest) GetHidden ¶
func (x *AddRoleMenuRequest) GetHidden() bool
func (*AddRoleMenuRequest) GetIcon ¶
func (x *AddRoleMenuRequest) GetIcon() string
func (*AddRoleMenuRequest) GetKeepAlive ¶
func (x *AddRoleMenuRequest) GetKeepAlive() bool
func (*AddRoleMenuRequest) GetName ¶
func (x *AddRoleMenuRequest) GetName() string
func (*AddRoleMenuRequest) GetParentID ¶
func (x *AddRoleMenuRequest) GetParentID() int32
func (*AddRoleMenuRequest) GetPath ¶
func (x *AddRoleMenuRequest) GetPath() string
func (*AddRoleMenuRequest) GetRedirect ¶
func (x *AddRoleMenuRequest) GetRedirect() string
func (*AddRoleMenuRequest) GetRoleIDs ¶
func (x *AddRoleMenuRequest) GetRoleIDs() string
func (*AddRoleMenuRequest) GetSort ¶
func (x *AddRoleMenuRequest) GetSort() int32
func (*AddRoleMenuRequest) GetTitle ¶
func (x *AddRoleMenuRequest) GetTitle() string
func (*AddRoleMenuRequest) ProtoMessage ¶
func (*AddRoleMenuRequest) ProtoMessage()
func (*AddRoleMenuRequest) ProtoReflect ¶
func (x *AddRoleMenuRequest) ProtoReflect() protoreflect.Message
func (*AddRoleMenuRequest) Reset ¶
func (x *AddRoleMenuRequest) Reset()
func (*AddRoleMenuRequest) String ¶
func (x *AddRoleMenuRequest) String() string
func (*AddRoleMenuRequest) Validate ¶
func (m *AddRoleMenuRequest) Validate() error
Validate checks the field values on AddRoleMenuRequest 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 (*AddRoleMenuRequest) ValidateAll ¶
func (m *AddRoleMenuRequest) ValidateAll() error
ValidateAll checks the field values on AddRoleMenuRequest 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 AddRoleMenuRequestMultiError, or nil if none found.
type AddRoleMenuRequestMultiError ¶
type AddRoleMenuRequestMultiError []error
AddRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by AddRoleMenuRequest.ValidateAll() if the designated constraints aren't met.
func (AddRoleMenuRequestMultiError) AllErrors ¶
func (m AddRoleMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddRoleMenuRequestMultiError) Error ¶
func (m AddRoleMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddRoleMenuRequestValidationError ¶
type AddRoleMenuRequestValidationError struct {
// contains filtered or unexported fields
}
AddRoleMenuRequestValidationError is the validation error returned by AddRoleMenuRequest.Validate if the designated constraints aren't met.
func (AddRoleMenuRequestValidationError) Cause ¶
func (e AddRoleMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (AddRoleMenuRequestValidationError) Error ¶
func (e AddRoleMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddRoleMenuRequestValidationError) ErrorName ¶
func (e AddRoleMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddRoleMenuRequestValidationError) Field ¶
func (e AddRoleMenuRequestValidationError) Field() string
Field function returns field value.
func (AddRoleMenuRequestValidationError) Key ¶
func (e AddRoleMenuRequestValidationError) Key() bool
Key function returns key value.
func (AddRoleMenuRequestValidationError) Reason ¶
func (e AddRoleMenuRequestValidationError) Reason() string
Reason function returns reason value.
type AddTokenBlackRequest ¶
type AddTokenBlackRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` // contains filtered or unexported fields }
func (*AddTokenBlackRequest) Descriptor
deprecated
func (*AddTokenBlackRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTokenBlackRequest.ProtoReflect.Descriptor instead.
func (*AddTokenBlackRequest) GetToken ¶
func (x *AddTokenBlackRequest) GetToken() string
func (*AddTokenBlackRequest) ProtoMessage ¶
func (*AddTokenBlackRequest) ProtoMessage()
func (*AddTokenBlackRequest) ProtoReflect ¶
func (x *AddTokenBlackRequest) ProtoReflect() protoreflect.Message
func (*AddTokenBlackRequest) Reset ¶
func (x *AddTokenBlackRequest) Reset()
func (*AddTokenBlackRequest) String ¶
func (x *AddTokenBlackRequest) String() string
func (*AddTokenBlackRequest) Validate ¶
func (m *AddTokenBlackRequest) Validate() error
Validate checks the field values on AddTokenBlackRequest 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 (*AddTokenBlackRequest) ValidateAll ¶
func (m *AddTokenBlackRequest) ValidateAll() error
ValidateAll checks the field values on AddTokenBlackRequest 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 AddTokenBlackRequestMultiError, or nil if none found.
type AddTokenBlackRequestMultiError ¶
type AddTokenBlackRequestMultiError []error
AddTokenBlackRequestMultiError is an error wrapping multiple validation errors returned by AddTokenBlackRequest.ValidateAll() if the designated constraints aren't met.
func (AddTokenBlackRequestMultiError) AllErrors ¶
func (m AddTokenBlackRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddTokenBlackRequestMultiError) Error ¶
func (m AddTokenBlackRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddTokenBlackRequestValidationError ¶
type AddTokenBlackRequestValidationError struct {
// contains filtered or unexported fields
}
AddTokenBlackRequestValidationError is the validation error returned by AddTokenBlackRequest.Validate if the designated constraints aren't met.
func (AddTokenBlackRequestValidationError) Cause ¶
func (e AddTokenBlackRequestValidationError) Cause() error
Cause function returns cause value.
func (AddTokenBlackRequestValidationError) Error ¶
func (e AddTokenBlackRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddTokenBlackRequestValidationError) ErrorName ¶
func (e AddTokenBlackRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddTokenBlackRequestValidationError) Field ¶
func (e AddTokenBlackRequestValidationError) Field() string
Field function returns field value.
func (AddTokenBlackRequestValidationError) Key ¶
func (e AddTokenBlackRequestValidationError) Key() bool
Key function returns key value.
func (AddTokenBlackRequestValidationError) Reason ¶
func (e AddTokenBlackRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaRequest ¶
type CaptchaRequest struct {
// contains filtered or unexported fields
}
func (*CaptchaRequest) Descriptor
deprecated
func (*CaptchaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaRequest.ProtoReflect.Descriptor instead.
func (*CaptchaRequest) ProtoMessage ¶
func (*CaptchaRequest) ProtoMessage()
func (*CaptchaRequest) ProtoReflect ¶
func (x *CaptchaRequest) ProtoReflect() protoreflect.Message
func (*CaptchaRequest) Reset ¶
func (x *CaptchaRequest) Reset()
func (*CaptchaRequest) String ¶
func (x *CaptchaRequest) String() string
func (*CaptchaRequest) Validate ¶
func (m *CaptchaRequest) Validate() error
Validate checks the field values on CaptchaRequest 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 (*CaptchaRequest) ValidateAll ¶
func (m *CaptchaRequest) ValidateAll() error
ValidateAll checks the field values on CaptchaRequest 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 CaptchaRequestMultiError, or nil if none found.
type CaptchaRequestMultiError ¶
type CaptchaRequestMultiError []error
CaptchaRequestMultiError is an error wrapping multiple validation errors returned by CaptchaRequest.ValidateAll() if the designated constraints aren't met.
func (CaptchaRequestMultiError) AllErrors ¶
func (m CaptchaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaRequestMultiError) Error ¶
func (m CaptchaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaRequestValidationError ¶
type CaptchaRequestValidationError struct {
// contains filtered or unexported fields
}
CaptchaRequestValidationError is the validation error returned by CaptchaRequest.Validate if the designated constraints aren't met.
func (CaptchaRequestValidationError) Cause ¶
func (e CaptchaRequestValidationError) Cause() error
Cause function returns cause value.
func (CaptchaRequestValidationError) Error ¶
func (e CaptchaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaRequestValidationError) ErrorName ¶
func (e CaptchaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaRequestValidationError) Field ¶
func (e CaptchaRequestValidationError) Field() string
Field function returns field value.
func (CaptchaRequestValidationError) Key ¶
func (e CaptchaRequestValidationError) Key() bool
Key function returns key value.
func (CaptchaRequestValidationError) Reason ¶
func (e CaptchaRequestValidationError) Reason() string
Reason function returns reason value.
type CaptchaResponse ¶
type CaptchaResponse struct { CaptchaID string `protobuf:"bytes,1,opt,name=captchaID,proto3" json:"captchaID"` PicPath string `protobuf:"bytes,2,opt,name=picPath,proto3" json:"picPath"` CaptchaLength int32 `protobuf:"varint,3,opt,name=captchaLength,proto3" json:"captchaLength"` // contains filtered or unexported fields }
func (*CaptchaResponse) Descriptor
deprecated
func (*CaptchaResponse) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaResponse.ProtoReflect.Descriptor instead.
func (*CaptchaResponse) GetCaptchaID ¶
func (x *CaptchaResponse) GetCaptchaID() string
func (*CaptchaResponse) GetCaptchaLength ¶
func (x *CaptchaResponse) GetCaptchaLength() int32
func (*CaptchaResponse) GetPicPath ¶
func (x *CaptchaResponse) GetPicPath() string
func (*CaptchaResponse) ProtoMessage ¶
func (*CaptchaResponse) ProtoMessage()
func (*CaptchaResponse) ProtoReflect ¶
func (x *CaptchaResponse) ProtoReflect() protoreflect.Message
func (*CaptchaResponse) Reset ¶
func (x *CaptchaResponse) Reset()
func (*CaptchaResponse) String ¶
func (x *CaptchaResponse) String() string
func (*CaptchaResponse) Validate ¶
func (m *CaptchaResponse) Validate() error
Validate checks the field values on CaptchaResponse 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 (*CaptchaResponse) ValidateAll ¶
func (m *CaptchaResponse) ValidateAll() error
ValidateAll checks the field values on CaptchaResponse 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 CaptchaResponseMultiError, or nil if none found.
type CaptchaResponseMultiError ¶
type CaptchaResponseMultiError []error
CaptchaResponseMultiError is an error wrapping multiple validation errors returned by CaptchaResponse.ValidateAll() if the designated constraints aren't met.
func (CaptchaResponseMultiError) AllErrors ¶
func (m CaptchaResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaResponseMultiError) Error ¶
func (m CaptchaResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaResponseValidationError ¶
type CaptchaResponseValidationError struct {
// contains filtered or unexported fields
}
CaptchaResponseValidationError is the validation error returned by CaptchaResponse.Validate if the designated constraints aren't met.
func (CaptchaResponseValidationError) Cause ¶
func (e CaptchaResponseValidationError) Cause() error
Cause function returns cause value.
func (CaptchaResponseValidationError) Error ¶
func (e CaptchaResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaResponseValidationError) ErrorName ¶
func (e CaptchaResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaResponseValidationError) Field ¶
func (e CaptchaResponseValidationError) Field() string
Field function returns field value.
func (CaptchaResponseValidationError) Key ¶
func (e CaptchaResponseValidationError) Key() bool
Key function returns key value.
func (CaptchaResponseValidationError) Reason ¶
func (e CaptchaResponseValidationError) Reason() string
Reason function returns reason value.
type DebugPerfRequest ¶
type DebugPerfRequest struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"` // contains filtered or unexported fields }
func (*DebugPerfRequest) Descriptor
deprecated
func (*DebugPerfRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugPerfRequest.ProtoReflect.Descriptor instead.
func (*DebugPerfRequest) GetText ¶
func (x *DebugPerfRequest) GetText() string
func (*DebugPerfRequest) ProtoMessage ¶
func (*DebugPerfRequest) ProtoMessage()
func (*DebugPerfRequest) ProtoReflect ¶
func (x *DebugPerfRequest) ProtoReflect() protoreflect.Message
func (*DebugPerfRequest) Reset ¶
func (x *DebugPerfRequest) Reset()
func (*DebugPerfRequest) String ¶
func (x *DebugPerfRequest) String() string
func (*DebugPerfRequest) Validate ¶
func (m *DebugPerfRequest) Validate() error
Validate checks the field values on DebugPerfRequest 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 (*DebugPerfRequest) ValidateAll ¶
func (m *DebugPerfRequest) ValidateAll() error
ValidateAll checks the field values on DebugPerfRequest 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 DebugPerfRequestMultiError, or nil if none found.
type DebugPerfRequestMultiError ¶
type DebugPerfRequestMultiError []error
DebugPerfRequestMultiError is an error wrapping multiple validation errors returned by DebugPerfRequest.ValidateAll() if the designated constraints aren't met.
func (DebugPerfRequestMultiError) AllErrors ¶
func (m DebugPerfRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugPerfRequestMultiError) Error ¶
func (m DebugPerfRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugPerfRequestValidationError ¶
type DebugPerfRequestValidationError struct {
// contains filtered or unexported fields
}
DebugPerfRequestValidationError is the validation error returned by DebugPerfRequest.Validate if the designated constraints aren't met.
func (DebugPerfRequestValidationError) Cause ¶
func (e DebugPerfRequestValidationError) Cause() error
Cause function returns cause value.
func (DebugPerfRequestValidationError) Error ¶
func (e DebugPerfRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DebugPerfRequestValidationError) ErrorName ¶
func (e DebugPerfRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DebugPerfRequestValidationError) Field ¶
func (e DebugPerfRequestValidationError) Field() string
Field function returns field value.
func (DebugPerfRequestValidationError) Key ¶
func (e DebugPerfRequestValidationError) Key() bool
Key function returns key value.
func (DebugPerfRequestValidationError) Reason ¶
func (e DebugPerfRequestValidationError) Reason() string
Reason function returns reason value.
type DebugPerfResponse ¶
type DebugPerfResponse struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` UID string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"` UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"` Motto string `protobuf:"bytes,4,opt,name=Motto,proto3" json:"Motto"` Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text"` CreateTime string `protobuf:"bytes,6,opt,name=createTime,proto3" json:"createTime"` CreateUser string `protobuf:"bytes,7,opt,name=createUser,proto3" json:"createUser"` // contains filtered or unexported fields }
func (*DebugPerfResponse) Descriptor
deprecated
func (*DebugPerfResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugPerfResponse.ProtoReflect.Descriptor instead.
func (*DebugPerfResponse) GetCreateTime ¶
func (x *DebugPerfResponse) GetCreateTime() string
func (*DebugPerfResponse) GetCreateUser ¶
func (x *DebugPerfResponse) GetCreateUser() string
func (*DebugPerfResponse) GetID ¶
func (x *DebugPerfResponse) GetID() int64
func (*DebugPerfResponse) GetMotto ¶
func (x *DebugPerfResponse) GetMotto() string
func (*DebugPerfResponse) GetText ¶
func (x *DebugPerfResponse) GetText() string
func (*DebugPerfResponse) GetUID ¶
func (x *DebugPerfResponse) GetUID() string
func (*DebugPerfResponse) GetUserName ¶
func (x *DebugPerfResponse) GetUserName() string
func (*DebugPerfResponse) ProtoMessage ¶
func (*DebugPerfResponse) ProtoMessage()
func (*DebugPerfResponse) ProtoReflect ¶
func (x *DebugPerfResponse) ProtoReflect() protoreflect.Message
func (*DebugPerfResponse) Reset ¶
func (x *DebugPerfResponse) Reset()
func (*DebugPerfResponse) String ¶
func (x *DebugPerfResponse) String() string
func (*DebugPerfResponse) Validate ¶
func (m *DebugPerfResponse) Validate() error
Validate checks the field values on DebugPerfResponse 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 (*DebugPerfResponse) ValidateAll ¶
func (m *DebugPerfResponse) ValidateAll() error
ValidateAll checks the field values on DebugPerfResponse 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 DebugPerfResponseMultiError, or nil if none found.
type DebugPerfResponseMultiError ¶
type DebugPerfResponseMultiError []error
DebugPerfResponseMultiError is an error wrapping multiple validation errors returned by DebugPerfResponse.ValidateAll() if the designated constraints aren't met.
func (DebugPerfResponseMultiError) AllErrors ¶
func (m DebugPerfResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugPerfResponseMultiError) Error ¶
func (m DebugPerfResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugPerfResponseValidationError ¶
type DebugPerfResponseValidationError struct {
// contains filtered or unexported fields
}
DebugPerfResponseValidationError is the validation error returned by DebugPerfResponse.Validate if the designated constraints aren't met.
func (DebugPerfResponseValidationError) Cause ¶
func (e DebugPerfResponseValidationError) Cause() error
Cause function returns cause value.
func (DebugPerfResponseValidationError) Error ¶
func (e DebugPerfResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DebugPerfResponseValidationError) ErrorName ¶
func (e DebugPerfResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DebugPerfResponseValidationError) Field ¶
func (e DebugPerfResponseValidationError) Field() string
Field function returns field value.
func (DebugPerfResponseValidationError) Key ¶
func (e DebugPerfResponseValidationError) Key() bool
Key function returns key value.
func (DebugPerfResponseValidationError) Reason ¶
func (e DebugPerfResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteCasbinRequest ¶
type DeleteCasbinRequest struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` // contains filtered or unexported fields }
func (*DeleteCasbinRequest) Descriptor
deprecated
func (*DeleteCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCasbinRequest.ProtoReflect.Descriptor instead.
func (*DeleteCasbinRequest) GetID ¶
func (x *DeleteCasbinRequest) GetID() int64
func (*DeleteCasbinRequest) ProtoMessage ¶
func (*DeleteCasbinRequest) ProtoMessage()
func (*DeleteCasbinRequest) ProtoReflect ¶
func (x *DeleteCasbinRequest) ProtoReflect() protoreflect.Message
func (*DeleteCasbinRequest) Reset ¶
func (x *DeleteCasbinRequest) Reset()
func (*DeleteCasbinRequest) String ¶
func (x *DeleteCasbinRequest) String() string
func (*DeleteCasbinRequest) Validate ¶
func (m *DeleteCasbinRequest) Validate() error
Validate checks the field values on DeleteCasbinRequest 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 (*DeleteCasbinRequest) ValidateAll ¶
func (m *DeleteCasbinRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCasbinRequest 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 DeleteCasbinRequestMultiError, or nil if none found.
type DeleteCasbinRequestMultiError ¶
type DeleteCasbinRequestMultiError []error
DeleteCasbinRequestMultiError is an error wrapping multiple validation errors returned by DeleteCasbinRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCasbinRequestMultiError) AllErrors ¶
func (m DeleteCasbinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCasbinRequestMultiError) Error ¶
func (m DeleteCasbinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCasbinRequestValidationError ¶
type DeleteCasbinRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCasbinRequestValidationError is the validation error returned by DeleteCasbinRequest.Validate if the designated constraints aren't met.
func (DeleteCasbinRequestValidationError) Cause ¶
func (e DeleteCasbinRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCasbinRequestValidationError) Error ¶
func (e DeleteCasbinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCasbinRequestValidationError) ErrorName ¶
func (e DeleteCasbinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCasbinRequestValidationError) Field ¶
func (e DeleteCasbinRequestValidationError) Field() string
Field function returns field value.
func (DeleteCasbinRequestValidationError) Key ¶
func (e DeleteCasbinRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCasbinRequestValidationError) Reason ¶
func (e DeleteCasbinRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleMenuRequest ¶
type DeleteRoleMenuRequest struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` // contains filtered or unexported fields }
func (*DeleteRoleMenuRequest) Descriptor
deprecated
func (*DeleteRoleMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleMenuRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleMenuRequest) GetID ¶
func (x *DeleteRoleMenuRequest) GetID() int64
func (*DeleteRoleMenuRequest) ProtoMessage ¶
func (*DeleteRoleMenuRequest) ProtoMessage()
func (*DeleteRoleMenuRequest) ProtoReflect ¶
func (x *DeleteRoleMenuRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleMenuRequest) Reset ¶
func (x *DeleteRoleMenuRequest) Reset()
func (*DeleteRoleMenuRequest) String ¶
func (x *DeleteRoleMenuRequest) String() string
func (*DeleteRoleMenuRequest) Validate ¶
func (m *DeleteRoleMenuRequest) Validate() error
Validate checks the field values on DeleteRoleMenuRequest 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 (*DeleteRoleMenuRequest) ValidateAll ¶
func (m *DeleteRoleMenuRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRoleMenuRequest 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 DeleteRoleMenuRequestMultiError, or nil if none found.
type DeleteRoleMenuRequestMultiError ¶
type DeleteRoleMenuRequestMultiError []error
DeleteRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleMenuRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleMenuRequestMultiError) AllErrors ¶
func (m DeleteRoleMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleMenuRequestMultiError) Error ¶
func (m DeleteRoleMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleMenuRequestValidationError ¶
type DeleteRoleMenuRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleMenuRequestValidationError is the validation error returned by DeleteRoleMenuRequest.Validate if the designated constraints aren't met.
func (DeleteRoleMenuRequestValidationError) Cause ¶
func (e DeleteRoleMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleMenuRequestValidationError) Error ¶
func (e DeleteRoleMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleMenuRequestValidationError) ErrorName ¶
func (e DeleteRoleMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleMenuRequestValidationError) Field ¶
func (e DeleteRoleMenuRequestValidationError) Field() string
Field function returns field value.
func (DeleteRoleMenuRequestValidationError) Key ¶
func (e DeleteRoleMenuRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRoleMenuRequestValidationError) Reason ¶
func (e DeleteRoleMenuRequestValidationError) Reason() string
Reason function returns reason value.
type GetCasbinRequest ¶
type GetCasbinRequest struct { RoleIDs string `protobuf:"bytes,1,opt,name=roleIDs,proto3" json:"roleIDs"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page"` PageSize int32 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize"` // contains filtered or unexported fields }
获取权限列表
func (*GetCasbinRequest) Descriptor
deprecated
func (*GetCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCasbinRequest.ProtoReflect.Descriptor instead.
func (*GetCasbinRequest) GetMethod ¶
func (x *GetCasbinRequest) GetMethod() string
func (*GetCasbinRequest) GetPage ¶
func (x *GetCasbinRequest) GetPage() int32
func (*GetCasbinRequest) GetPageSize ¶
func (x *GetCasbinRequest) GetPageSize() int32
func (*GetCasbinRequest) GetPath ¶
func (x *GetCasbinRequest) GetPath() string
func (*GetCasbinRequest) GetRoleIDs ¶
func (x *GetCasbinRequest) GetRoleIDs() string
func (*GetCasbinRequest) ProtoMessage ¶
func (*GetCasbinRequest) ProtoMessage()
func (*GetCasbinRequest) ProtoReflect ¶
func (x *GetCasbinRequest) ProtoReflect() protoreflect.Message
func (*GetCasbinRequest) Reset ¶
func (x *GetCasbinRequest) Reset()
func (*GetCasbinRequest) String ¶
func (x *GetCasbinRequest) String() string
func (*GetCasbinRequest) Validate ¶
func (m *GetCasbinRequest) Validate() error
Validate checks the field values on GetCasbinRequest 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 (*GetCasbinRequest) ValidateAll ¶
func (m *GetCasbinRequest) ValidateAll() error
ValidateAll checks the field values on GetCasbinRequest 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 GetCasbinRequestMultiError, or nil if none found.
type GetCasbinRequestMultiError ¶
type GetCasbinRequestMultiError []error
GetCasbinRequestMultiError is an error wrapping multiple validation errors returned by GetCasbinRequest.ValidateAll() if the designated constraints aren't met.
func (GetCasbinRequestMultiError) AllErrors ¶
func (m GetCasbinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCasbinRequestMultiError) Error ¶
func (m GetCasbinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCasbinRequestValidationError ¶
type GetCasbinRequestValidationError struct {
// contains filtered or unexported fields
}
GetCasbinRequestValidationError is the validation error returned by GetCasbinRequest.Validate if the designated constraints aren't met.
func (GetCasbinRequestValidationError) Cause ¶
func (e GetCasbinRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCasbinRequestValidationError) Error ¶
func (e GetCasbinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCasbinRequestValidationError) ErrorName ¶
func (e GetCasbinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCasbinRequestValidationError) Field ¶
func (e GetCasbinRequestValidationError) Field() string
Field function returns field value.
func (GetCasbinRequestValidationError) Key ¶
func (e GetCasbinRequestValidationError) Key() bool
Key function returns key value.
func (GetCasbinRequestValidationError) Reason ¶
func (e GetCasbinRequestValidationError) Reason() string
Reason function returns reason value.
type GetCasbinResponse ¶
type GetCasbinResponse struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` RoleIDs string `protobuf:"bytes,2,opt,name=roleIDs,proto3" json:"roleIDs"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc"` // contains filtered or unexported fields }
func (*GetCasbinResponse) Descriptor
deprecated
func (*GetCasbinResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCasbinResponse.ProtoReflect.Descriptor instead.
func (*GetCasbinResponse) GetDesc ¶
func (x *GetCasbinResponse) GetDesc() string
func (*GetCasbinResponse) GetID ¶
func (x *GetCasbinResponse) GetID() int64
func (*GetCasbinResponse) GetMethod ¶
func (x *GetCasbinResponse) GetMethod() string
func (*GetCasbinResponse) GetPath ¶
func (x *GetCasbinResponse) GetPath() string
func (*GetCasbinResponse) GetRoleIDs ¶
func (x *GetCasbinResponse) GetRoleIDs() string
func (*GetCasbinResponse) ProtoMessage ¶
func (*GetCasbinResponse) ProtoMessage()
func (*GetCasbinResponse) ProtoReflect ¶
func (x *GetCasbinResponse) ProtoReflect() protoreflect.Message
func (*GetCasbinResponse) Reset ¶
func (x *GetCasbinResponse) Reset()
func (*GetCasbinResponse) String ¶
func (x *GetCasbinResponse) String() string
func (*GetCasbinResponse) Validate ¶
func (m *GetCasbinResponse) Validate() error
Validate checks the field values on GetCasbinResponse 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 (*GetCasbinResponse) ValidateAll ¶
func (m *GetCasbinResponse) ValidateAll() error
ValidateAll checks the field values on GetCasbinResponse 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 GetCasbinResponseMultiError, or nil if none found.
type GetCasbinResponseMultiError ¶
type GetCasbinResponseMultiError []error
GetCasbinResponseMultiError is an error wrapping multiple validation errors returned by GetCasbinResponse.ValidateAll() if the designated constraints aren't met.
func (GetCasbinResponseMultiError) AllErrors ¶
func (m GetCasbinResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCasbinResponseMultiError) Error ¶
func (m GetCasbinResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCasbinResponseValidationError ¶
type GetCasbinResponseValidationError struct {
// contains filtered or unexported fields
}
GetCasbinResponseValidationError is the validation error returned by GetCasbinResponse.Validate if the designated constraints aren't met.
func (GetCasbinResponseValidationError) Cause ¶
func (e GetCasbinResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCasbinResponseValidationError) Error ¶
func (e GetCasbinResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCasbinResponseValidationError) ErrorName ¶
func (e GetCasbinResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCasbinResponseValidationError) Field ¶
func (e GetCasbinResponseValidationError) Field() string
Field function returns field value.
func (GetCasbinResponseValidationError) Key ¶
func (e GetCasbinResponseValidationError) Key() bool
Key function returns key value.
func (GetCasbinResponseValidationError) Reason ¶
func (e GetCasbinResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` UID string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"` UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"` NickName string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName"` Birth string `protobuf:"bytes,5,opt,name=birth,proto3" json:"birth"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"` RoleID string `protobuf:"bytes,7,opt,name=roleID,proto3" json:"roleID"` RoleName string `protobuf:"bytes,8,opt,name=roleName,proto3" json:"roleName"` Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone"` Wechat string `protobuf:"bytes,10,opt,name=wechat,proto3" json:"wechat"` Email string `protobuf:"bytes,11,opt,name=email,proto3" json:"email"` State int32 `protobuf:"varint,12,opt,name=state,proto3" json:"state"` Motto string `protobuf:"bytes,13,opt,name=motto,proto3" json:"motto"` // contains filtered or unexported fields }
func (*GetUserInfoResponse) Descriptor
deprecated
func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.
func (*GetUserInfoResponse) GetAvatar ¶
func (x *GetUserInfoResponse) GetAvatar() string
func (*GetUserInfoResponse) GetBirth ¶
func (x *GetUserInfoResponse) GetBirth() string
func (*GetUserInfoResponse) GetEmail ¶
func (x *GetUserInfoResponse) GetEmail() string
func (*GetUserInfoResponse) GetID ¶
func (x *GetUserInfoResponse) GetID() int64
func (*GetUserInfoResponse) GetMotto ¶
func (x *GetUserInfoResponse) GetMotto() string
func (*GetUserInfoResponse) GetNickName ¶
func (x *GetUserInfoResponse) GetNickName() string
func (*GetUserInfoResponse) GetPhone ¶
func (x *GetUserInfoResponse) GetPhone() string
func (*GetUserInfoResponse) GetRoleID ¶
func (x *GetUserInfoResponse) GetRoleID() string
func (*GetUserInfoResponse) GetRoleName ¶
func (x *GetUserInfoResponse) GetRoleName() string
func (*GetUserInfoResponse) GetState ¶
func (x *GetUserInfoResponse) GetState() int32
func (*GetUserInfoResponse) GetUID ¶
func (x *GetUserInfoResponse) GetUID() string
func (*GetUserInfoResponse) GetUserName ¶
func (x *GetUserInfoResponse) GetUserName() string
func (*GetUserInfoResponse) GetWechat ¶
func (x *GetUserInfoResponse) GetWechat() string
func (*GetUserInfoResponse) ProtoMessage ¶
func (*GetUserInfoResponse) ProtoMessage()
func (*GetUserInfoResponse) ProtoReflect ¶
func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
func (*GetUserInfoResponse) Reset ¶
func (x *GetUserInfoResponse) Reset()
func (*GetUserInfoResponse) String ¶
func (x *GetUserInfoResponse) String() string
func (*GetUserInfoResponse) Validate ¶
func (m *GetUserInfoResponse) Validate() error
Validate checks the field values on GetUserInfoResponse 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 (*GetUserInfoResponse) ValidateAll ¶
func (m *GetUserInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetUserInfoResponse 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 GetUserInfoResponseMultiError, or nil if none found.
type GetUserInfoResponseMultiError ¶
type GetUserInfoResponseMultiError []error
GetUserInfoResponseMultiError is an error wrapping multiple validation errors returned by GetUserInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserInfoResponseMultiError) AllErrors ¶
func (m GetUserInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserInfoResponseMultiError) Error ¶
func (m GetUserInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserInfoResponseValidationError ¶
type GetUserInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserInfoResponseValidationError is the validation error returned by GetUserInfoResponse.Validate if the designated constraints aren't met.
func (GetUserInfoResponseValidationError) Cause ¶
func (e GetUserInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserInfoResponseValidationError) Error ¶
func (e GetUserInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserInfoResponseValidationError) ErrorName ¶
func (e GetUserInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserInfoResponseValidationError) Field ¶
func (e GetUserInfoResponseValidationError) Field() string
Field function returns field value.
func (GetUserInfoResponseValidationError) Key ¶
func (e GetUserInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetUserInfoResponseValidationError) Reason ¶
func (e GetUserInfoResponseValidationError) Reason() string
Reason function returns reason value.
type HttpServiceClient ¶
type HttpServiceClient interface { // 性能测试 DebugPerf(ctx context.Context, in *DebugPerfRequest, opts ...grpc.CallOption) (*DebugPerfResponse, error) // 登录 Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // 获取验证码 Captcha(ctx context.Context, in *CaptchaRequest, opts ...grpc.CallOption) (*CaptchaResponse, error) // 设置 Setting(ctx context.Context, in *SettingRequest, opts ...grpc.CallOption) (*SettingResponse, error) }
HttpServiceClient is the client API for HttpService 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 NewHttpServiceClient ¶
func NewHttpServiceClient(cc grpc.ClientConnInterface) HttpServiceClient
type HttpServiceHTTPClient ¶
type HttpServiceHTTPClient interface { Captcha(ctx context.Context, req *CaptchaRequest, opts ...http.CallOption) (rsp *CaptchaResponse, err error) DebugPerf(ctx context.Context, req *DebugPerfRequest, opts ...http.CallOption) (rsp *DebugPerfResponse, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginResponse, err error) Setting(ctx context.Context, req *SettingRequest, opts ...http.CallOption) (rsp *SettingResponse, err error) }
func NewHttpServiceHTTPClient ¶
func NewHttpServiceHTTPClient(client *http.Client) HttpServiceHTTPClient
type HttpServiceHTTPClientImpl ¶
type HttpServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*HttpServiceHTTPClientImpl) Captcha ¶
func (c *HttpServiceHTTPClientImpl) Captcha(ctx context.Context, in *CaptchaRequest, opts ...http.CallOption) (*CaptchaResponse, error)
func (*HttpServiceHTTPClientImpl) DebugPerf ¶
func (c *HttpServiceHTTPClientImpl) DebugPerf(ctx context.Context, in *DebugPerfRequest, opts ...http.CallOption) (*DebugPerfResponse, error)
func (*HttpServiceHTTPClientImpl) Login ¶
func (c *HttpServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
func (*HttpServiceHTTPClientImpl) Setting ¶
func (c *HttpServiceHTTPClientImpl) Setting(ctx context.Context, in *SettingRequest, opts ...http.CallOption) (*SettingResponse, error)
type HttpServiceHTTPServer ¶
type HttpServiceHTTPServer interface { // Captcha获取验证码 Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error) // DebugPerf性能测试 DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error) // Login登录 Login(context.Context, *LoginRequest) (*LoginResponse, error) // Setting设置 Setting(context.Context, *SettingRequest) (*SettingResponse, error) }
type HttpServiceServer ¶
type HttpServiceServer interface { // 性能测试 DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error) // 登录 Login(context.Context, *LoginRequest) (*LoginResponse, error) // 获取验证码 Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error) // 设置 Setting(context.Context, *SettingRequest) (*SettingResponse, error) // contains filtered or unexported methods }
HttpServiceServer is the server API for HttpService service. All implementations must embed UnimplementedHttpServiceServer for forward compatibility
type IsTokenBlackkRequest ¶
type IsTokenBlackkRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` // contains filtered or unexported fields }
func (*IsTokenBlackkRequest) Descriptor
deprecated
func (*IsTokenBlackkRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsTokenBlackkRequest.ProtoReflect.Descriptor instead.
func (*IsTokenBlackkRequest) GetToken ¶
func (x *IsTokenBlackkRequest) GetToken() string
func (*IsTokenBlackkRequest) ProtoMessage ¶
func (*IsTokenBlackkRequest) ProtoMessage()
func (*IsTokenBlackkRequest) ProtoReflect ¶
func (x *IsTokenBlackkRequest) ProtoReflect() protoreflect.Message
func (*IsTokenBlackkRequest) Reset ¶
func (x *IsTokenBlackkRequest) Reset()
func (*IsTokenBlackkRequest) String ¶
func (x *IsTokenBlackkRequest) String() string
func (*IsTokenBlackkRequest) Validate ¶
func (m *IsTokenBlackkRequest) Validate() error
Validate checks the field values on IsTokenBlackkRequest 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 (*IsTokenBlackkRequest) ValidateAll ¶
func (m *IsTokenBlackkRequest) ValidateAll() error
ValidateAll checks the field values on IsTokenBlackkRequest 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 IsTokenBlackkRequestMultiError, or nil if none found.
type IsTokenBlackkRequestMultiError ¶
type IsTokenBlackkRequestMultiError []error
IsTokenBlackkRequestMultiError is an error wrapping multiple validation errors returned by IsTokenBlackkRequest.ValidateAll() if the designated constraints aren't met.
func (IsTokenBlackkRequestMultiError) AllErrors ¶
func (m IsTokenBlackkRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsTokenBlackkRequestMultiError) Error ¶
func (m IsTokenBlackkRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsTokenBlackkRequestValidationError ¶
type IsTokenBlackkRequestValidationError struct {
// contains filtered or unexported fields
}
IsTokenBlackkRequestValidationError is the validation error returned by IsTokenBlackkRequest.Validate if the designated constraints aren't met.
func (IsTokenBlackkRequestValidationError) Cause ¶
func (e IsTokenBlackkRequestValidationError) Cause() error
Cause function returns cause value.
func (IsTokenBlackkRequestValidationError) Error ¶
func (e IsTokenBlackkRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IsTokenBlackkRequestValidationError) ErrorName ¶
func (e IsTokenBlackkRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IsTokenBlackkRequestValidationError) Field ¶
func (e IsTokenBlackkRequestValidationError) Field() string
Field function returns field value.
func (IsTokenBlackkRequestValidationError) Key ¶
func (e IsTokenBlackkRequestValidationError) Key() bool
Key function returns key value.
func (IsTokenBlackkRequestValidationError) Reason ¶
func (e IsTokenBlackkRequestValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { // 用户名 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username"` // 密码 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"` // 验证码 Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha"` // 校验ID CaptchaID string `protobuf:"bytes,4,opt,name=captchaID,proto3" json:"captchaID"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetCaptcha ¶
func (x *LoginRequest) GetCaptcha() 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 ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` UID string `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID"` UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"` NickName string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName"` Birth string `protobuf:"bytes,5,opt,name=birth,proto3" json:"birth"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"` RoleID string `protobuf:"bytes,7,opt,name=roleID,proto3" json:"roleID"` RoleName string `protobuf:"bytes,8,opt,name=roleName,proto3" json:"roleName"` Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone"` Wechat string `protobuf:"bytes,10,opt,name=wechat,proto3" json:"wechat"` Email string `protobuf:"bytes,11,opt,name=email,proto3" json:"email"` State int32 `protobuf:"varint,12,opt,name=state,proto3" json:"state"` Motto string `protobuf:"bytes,13,opt,name=motto,proto3" json:"motto"` Token string `protobuf:"bytes,18,opt,name=token,proto3" json:"token"` RefreshToken string `protobuf:"bytes,19,opt,name=refreshToken,proto3" json:"refreshToken"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAvatar ¶
func (x *LoginResponse) GetAvatar() string
func (*LoginResponse) GetBirth ¶
func (x *LoginResponse) GetBirth() string
func (*LoginResponse) GetEmail ¶
func (x *LoginResponse) GetEmail() string
func (*LoginResponse) GetID ¶
func (x *LoginResponse) GetID() int64
func (*LoginResponse) GetMotto ¶
func (x *LoginResponse) GetMotto() string
func (*LoginResponse) GetNickName ¶
func (x *LoginResponse) GetNickName() string
func (*LoginResponse) GetPhone ¶
func (x *LoginResponse) GetPhone() string
func (*LoginResponse) GetRefreshToken ¶
func (x *LoginResponse) GetRefreshToken() string
func (*LoginResponse) GetRoleID ¶
func (x *LoginResponse) GetRoleID() string
func (*LoginResponse) GetRoleName ¶
func (x *LoginResponse) GetRoleName() string
func (*LoginResponse) GetState ¶
func (x *LoginResponse) GetState() int32
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUID ¶
func (x *LoginResponse) GetUID() string
func (*LoginResponse) GetUserName ¶
func (x *LoginResponse) GetUserName() string
func (*LoginResponse) GetWechat ¶
func (x *LoginResponse) GetWechat() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse 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 (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse 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 LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type MenuRequest ¶
type MenuRequest struct {
// contains filtered or unexported fields
}
func (*MenuRequest) Descriptor
deprecated
func (*MenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use MenuRequest.ProtoReflect.Descriptor instead.
func (*MenuRequest) ProtoMessage ¶
func (*MenuRequest) ProtoMessage()
func (*MenuRequest) ProtoReflect ¶
func (x *MenuRequest) ProtoReflect() protoreflect.Message
func (*MenuRequest) Reset ¶
func (x *MenuRequest) Reset()
func (*MenuRequest) String ¶
func (x *MenuRequest) String() string
func (*MenuRequest) Validate ¶
func (m *MenuRequest) Validate() error
Validate checks the field values on MenuRequest 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 (*MenuRequest) ValidateAll ¶
func (m *MenuRequest) ValidateAll() error
ValidateAll checks the field values on MenuRequest 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 MenuRequestMultiError, or nil if none found.
type MenuRequestMultiError ¶
type MenuRequestMultiError []error
MenuRequestMultiError is an error wrapping multiple validation errors returned by MenuRequest.ValidateAll() if the designated constraints aren't met.
func (MenuRequestMultiError) AllErrors ¶
func (m MenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MenuRequestMultiError) Error ¶
func (m MenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MenuRequestValidationError ¶
type MenuRequestValidationError struct {
// contains filtered or unexported fields
}
MenuRequestValidationError is the validation error returned by MenuRequest.Validate if the designated constraints aren't met.
func (MenuRequestValidationError) Cause ¶
func (e MenuRequestValidationError) Cause() error
Cause function returns cause value.
func (MenuRequestValidationError) Error ¶
func (e MenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MenuRequestValidationError) ErrorName ¶
func (e MenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MenuRequestValidationError) Field ¶
func (e MenuRequestValidationError) Field() string
Field function returns field value.
func (MenuRequestValidationError) Key ¶
func (e MenuRequestValidationError) Key() bool
Key function returns key value.
func (MenuRequestValidationError) Reason ¶
func (e MenuRequestValidationError) Reason() string
Reason function returns reason value.
type MenuResponse ¶
type MenuResponse struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Component string `protobuf:"bytes,3,opt,name=component,proto3" json:"component"` Redirect string `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect"` Meta *MenuResponse_Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta"` Children []*MenuResponse `protobuf:"bytes,6,rep,name=children,proto3" json:"children"` // contains filtered or unexported fields }
func (*MenuResponse) Descriptor
deprecated
func (*MenuResponse) Descriptor() ([]byte, []int)
Deprecated: Use MenuResponse.ProtoReflect.Descriptor instead.
func (*MenuResponse) GetChildren ¶
func (x *MenuResponse) GetChildren() []*MenuResponse
func (*MenuResponse) GetComponent ¶
func (x *MenuResponse) GetComponent() string
func (*MenuResponse) GetMeta ¶
func (x *MenuResponse) GetMeta() *MenuResponse_Meta
func (*MenuResponse) GetName ¶
func (x *MenuResponse) GetName() string
func (*MenuResponse) GetPath ¶
func (x *MenuResponse) GetPath() string
func (*MenuResponse) GetRedirect ¶
func (x *MenuResponse) GetRedirect() string
func (*MenuResponse) ProtoMessage ¶
func (*MenuResponse) ProtoMessage()
func (*MenuResponse) ProtoReflect ¶
func (x *MenuResponse) ProtoReflect() protoreflect.Message
func (*MenuResponse) Reset ¶
func (x *MenuResponse) Reset()
func (*MenuResponse) String ¶
func (x *MenuResponse) String() string
func (*MenuResponse) Validate ¶
func (m *MenuResponse) Validate() error
Validate checks the field values on MenuResponse 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 (*MenuResponse) ValidateAll ¶
func (m *MenuResponse) ValidateAll() error
ValidateAll checks the field values on MenuResponse 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 MenuResponseMultiError, or nil if none found.
type MenuResponseMultiError ¶
type MenuResponseMultiError []error
MenuResponseMultiError is an error wrapping multiple validation errors returned by MenuResponse.ValidateAll() if the designated constraints aren't met.
func (MenuResponseMultiError) AllErrors ¶
func (m MenuResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MenuResponseMultiError) Error ¶
func (m MenuResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MenuResponseValidationError ¶
type MenuResponseValidationError struct {
// contains filtered or unexported fields
}
MenuResponseValidationError is the validation error returned by MenuResponse.Validate if the designated constraints aren't met.
func (MenuResponseValidationError) Cause ¶
func (e MenuResponseValidationError) Cause() error
Cause function returns cause value.
func (MenuResponseValidationError) Error ¶
func (e MenuResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MenuResponseValidationError) ErrorName ¶
func (e MenuResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MenuResponseValidationError) Field ¶
func (e MenuResponseValidationError) Field() string
Field function returns field value.
func (MenuResponseValidationError) Key ¶
func (e MenuResponseValidationError) Key() bool
Key function returns key value.
func (MenuResponseValidationError) Reason ¶
func (e MenuResponseValidationError) Reason() string
Reason function returns reason value.
type MenuResponse_Meta ¶
type MenuResponse_Meta struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` ParentID int32 `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID"` RoleIDs string `protobuf:"bytes,3,opt,name=roleIDs,proto3" json:"roleIDs"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"` Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon"` Hidden bool `protobuf:"varint,6,opt,name=hidden,proto3" json:"hidden"` KeepAlive bool `protobuf:"varint,7,opt,name=keepAlive,proto3" json:"keepAlive"` Sort int32 `protobuf:"varint,8,opt,name=sort,proto3" json:"sort"` // contains filtered or unexported fields }
func (*MenuResponse_Meta) Descriptor
deprecated
func (*MenuResponse_Meta) Descriptor() ([]byte, []int)
Deprecated: Use MenuResponse_Meta.ProtoReflect.Descriptor instead.
func (*MenuResponse_Meta) GetHidden ¶
func (x *MenuResponse_Meta) GetHidden() bool
func (*MenuResponse_Meta) GetID ¶
func (x *MenuResponse_Meta) GetID() int64
func (*MenuResponse_Meta) GetIcon ¶
func (x *MenuResponse_Meta) GetIcon() string
func (*MenuResponse_Meta) GetKeepAlive ¶
func (x *MenuResponse_Meta) GetKeepAlive() bool
func (*MenuResponse_Meta) GetParentID ¶
func (x *MenuResponse_Meta) GetParentID() int32
func (*MenuResponse_Meta) GetRoleIDs ¶
func (x *MenuResponse_Meta) GetRoleIDs() string
func (*MenuResponse_Meta) GetSort ¶
func (x *MenuResponse_Meta) GetSort() int32
func (*MenuResponse_Meta) GetTitle ¶
func (x *MenuResponse_Meta) GetTitle() string
func (*MenuResponse_Meta) ProtoMessage ¶
func (*MenuResponse_Meta) ProtoMessage()
func (*MenuResponse_Meta) ProtoReflect ¶
func (x *MenuResponse_Meta) ProtoReflect() protoreflect.Message
func (*MenuResponse_Meta) Reset ¶
func (x *MenuResponse_Meta) Reset()
func (*MenuResponse_Meta) String ¶
func (x *MenuResponse_Meta) String() string
func (*MenuResponse_Meta) Validate ¶
func (m *MenuResponse_Meta) Validate() error
Validate checks the field values on MenuResponse_Meta 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 (*MenuResponse_Meta) ValidateAll ¶
func (m *MenuResponse_Meta) ValidateAll() error
ValidateAll checks the field values on MenuResponse_Meta 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 MenuResponse_MetaMultiError, or nil if none found.
type MenuResponse_MetaMultiError ¶
type MenuResponse_MetaMultiError []error
MenuResponse_MetaMultiError is an error wrapping multiple validation errors returned by MenuResponse_Meta.ValidateAll() if the designated constraints aren't met.
func (MenuResponse_MetaMultiError) AllErrors ¶
func (m MenuResponse_MetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MenuResponse_MetaMultiError) Error ¶
func (m MenuResponse_MetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MenuResponse_MetaValidationError ¶
type MenuResponse_MetaValidationError struct {
// contains filtered or unexported fields
}
MenuResponse_MetaValidationError is the validation error returned by MenuResponse_Meta.Validate if the designated constraints aren't met.
func (MenuResponse_MetaValidationError) Cause ¶
func (e MenuResponse_MetaValidationError) Cause() error
Cause function returns cause value.
func (MenuResponse_MetaValidationError) Error ¶
func (e MenuResponse_MetaValidationError) Error() string
Error satisfies the builtin error interface
func (MenuResponse_MetaValidationError) ErrorName ¶
func (e MenuResponse_MetaValidationError) ErrorName() string
ErrorName returns error name.
func (MenuResponse_MetaValidationError) Field ¶
func (e MenuResponse_MetaValidationError) Field() string
Field function returns field value.
func (MenuResponse_MetaValidationError) Key ¶
func (e MenuResponse_MetaValidationError) Key() bool
Key function returns key value.
func (MenuResponse_MetaValidationError) Reason ¶
func (e MenuResponse_MetaValidationError) Reason() string
Reason function returns reason value.
type SettingRequest ¶
type SettingRequest struct { Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang"` SideModeColor string `protobuf:"bytes,2,opt,name=sideModeColor,proto3" json:"sideModeColor"` Collapse bool `protobuf:"varint,3,opt,name=collapse,proto3" json:"collapse"` //侧边栏折叠 Breadcrumb bool `protobuf:"varint,4,opt,name=breadcrumb,proto3" json:"breadcrumb"` //面包屑 DefaultRouter string `protobuf:"bytes,5,opt,name=defaultRouter,proto3" json:"defaultRouter"` //默认路由 ActiveTextColor string `protobuf:"bytes,6,opt,name=activeTextColor,proto3" json:"activeTextColor"` //活跃文本颜色 ActiveBackgroundColor string `protobuf:"bytes,7,opt,name=activeBackgroundColor,proto3" json:"activeBackgroundColor"` //活跃文本背景色 UID string `protobuf:"bytes,10,opt,name=UID,proto3" json:"UID"` // contains filtered or unexported fields }
func (*SettingRequest) Descriptor
deprecated
func (*SettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SettingRequest.ProtoReflect.Descriptor instead.
func (*SettingRequest) GetActiveBackgroundColor ¶
func (x *SettingRequest) GetActiveBackgroundColor() string
func (*SettingRequest) GetActiveTextColor ¶
func (x *SettingRequest) GetActiveTextColor() string
func (*SettingRequest) GetBreadcrumb ¶
func (x *SettingRequest) GetBreadcrumb() bool
func (*SettingRequest) GetCollapse ¶
func (x *SettingRequest) GetCollapse() bool
func (*SettingRequest) GetDefaultRouter ¶
func (x *SettingRequest) GetDefaultRouter() string
func (*SettingRequest) GetLang ¶
func (x *SettingRequest) GetLang() string
func (*SettingRequest) GetSideModeColor ¶
func (x *SettingRequest) GetSideModeColor() string
func (*SettingRequest) GetUID ¶
func (x *SettingRequest) GetUID() string
func (*SettingRequest) ProtoMessage ¶
func (*SettingRequest) ProtoMessage()
func (*SettingRequest) ProtoReflect ¶
func (x *SettingRequest) ProtoReflect() protoreflect.Message
func (*SettingRequest) Reset ¶
func (x *SettingRequest) Reset()
func (*SettingRequest) String ¶
func (x *SettingRequest) String() string
func (*SettingRequest) Validate ¶
func (m *SettingRequest) Validate() error
Validate checks the field values on SettingRequest 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 (*SettingRequest) ValidateAll ¶
func (m *SettingRequest) ValidateAll() error
ValidateAll checks the field values on SettingRequest 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 SettingRequestMultiError, or nil if none found.
type SettingRequestMultiError ¶
type SettingRequestMultiError []error
SettingRequestMultiError is an error wrapping multiple validation errors returned by SettingRequest.ValidateAll() if the designated constraints aren't met.
func (SettingRequestMultiError) AllErrors ¶
func (m SettingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettingRequestMultiError) Error ¶
func (m SettingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettingRequestValidationError ¶
type SettingRequestValidationError struct {
// contains filtered or unexported fields
}
SettingRequestValidationError is the validation error returned by SettingRequest.Validate if the designated constraints aren't met.
func (SettingRequestValidationError) Cause ¶
func (e SettingRequestValidationError) Cause() error
Cause function returns cause value.
func (SettingRequestValidationError) Error ¶
func (e SettingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SettingRequestValidationError) ErrorName ¶
func (e SettingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SettingRequestValidationError) Field ¶
func (e SettingRequestValidationError) Field() string
Field function returns field value.
func (SettingRequestValidationError) Key ¶
func (e SettingRequestValidationError) Key() bool
Key function returns key value.
func (SettingRequestValidationError) Reason ¶
func (e SettingRequestValidationError) Reason() string
Reason function returns reason value.
type SettingResponse ¶
type SettingResponse struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang"` SideModeColor string `protobuf:"bytes,3,opt,name=sideModeColor,proto3" json:"sideModeColor"` Collapse bool `protobuf:"varint,4,opt,name=collapse,proto3" json:"collapse"` //侧边栏折叠 Breadcrumb bool `protobuf:"varint,5,opt,name=breadcrumb,proto3" json:"breadcrumb"` //面包屑 DefaultRouter string `protobuf:"bytes,6,opt,name=defaultRouter,proto3" json:"defaultRouter"` //默认路由 ActiveTextColor string `protobuf:"bytes,7,opt,name=activeTextColor,proto3" json:"activeTextColor"` //活跃文本颜色 ActiveBackgroundColor string `protobuf:"bytes,8,opt,name=activeBackgroundColor,proto3" json:"activeBackgroundColor"` //活跃文本背景色 UID string `protobuf:"bytes,10,opt,name=UID,proto3" json:"UID"` // contains filtered or unexported fields }
func (*SettingResponse) Descriptor
deprecated
func (*SettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettingResponse.ProtoReflect.Descriptor instead.
func (*SettingResponse) GetActiveBackgroundColor ¶
func (x *SettingResponse) GetActiveBackgroundColor() string
func (*SettingResponse) GetActiveTextColor ¶
func (x *SettingResponse) GetActiveTextColor() string
func (*SettingResponse) GetBreadcrumb ¶
func (x *SettingResponse) GetBreadcrumb() bool
func (*SettingResponse) GetCollapse ¶
func (x *SettingResponse) GetCollapse() bool
func (*SettingResponse) GetDefaultRouter ¶
func (x *SettingResponse) GetDefaultRouter() string
func (*SettingResponse) GetID ¶
func (x *SettingResponse) GetID() int64
func (*SettingResponse) GetLang ¶
func (x *SettingResponse) GetLang() string
func (*SettingResponse) GetSideModeColor ¶
func (x *SettingResponse) GetSideModeColor() string
func (*SettingResponse) GetUID ¶
func (x *SettingResponse) GetUID() string
func (*SettingResponse) ProtoMessage ¶
func (*SettingResponse) ProtoMessage()
func (*SettingResponse) ProtoReflect ¶
func (x *SettingResponse) ProtoReflect() protoreflect.Message
func (*SettingResponse) Reset ¶
func (x *SettingResponse) Reset()
func (*SettingResponse) String ¶
func (x *SettingResponse) String() string
func (*SettingResponse) Validate ¶
func (m *SettingResponse) Validate() error
Validate checks the field values on SettingResponse 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 (*SettingResponse) ValidateAll ¶
func (m *SettingResponse) ValidateAll() error
ValidateAll checks the field values on SettingResponse 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 SettingResponseMultiError, or nil if none found.
type SettingResponseMultiError ¶
type SettingResponseMultiError []error
SettingResponseMultiError is an error wrapping multiple validation errors returned by SettingResponse.ValidateAll() if the designated constraints aren't met.
func (SettingResponseMultiError) AllErrors ¶
func (m SettingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettingResponseMultiError) Error ¶
func (m SettingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettingResponseValidationError ¶
type SettingResponseValidationError struct {
// contains filtered or unexported fields
}
SettingResponseValidationError is the validation error returned by SettingResponse.Validate if the designated constraints aren't met.
func (SettingResponseValidationError) Cause ¶
func (e SettingResponseValidationError) Cause() error
Cause function returns cause value.
func (SettingResponseValidationError) Error ¶
func (e SettingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SettingResponseValidationError) ErrorName ¶
func (e SettingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SettingResponseValidationError) Field ¶
func (e SettingResponseValidationError) Field() string
Field function returns field value.
func (SettingResponseValidationError) Key ¶
func (e SettingResponseValidationError) Key() bool
Key function returns key value.
func (SettingResponseValidationError) Reason ¶
func (e SettingResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedHttpServiceServer ¶
type UnimplementedHttpServiceServer struct { }
UnimplementedHttpServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHttpServiceServer) Captcha ¶
func (UnimplementedHttpServiceServer) Captcha(context.Context, *CaptchaRequest) (*CaptchaResponse, error)
func (UnimplementedHttpServiceServer) DebugPerf ¶
func (UnimplementedHttpServiceServer) DebugPerf(context.Context, *DebugPerfRequest) (*DebugPerfResponse, error)
func (UnimplementedHttpServiceServer) Login ¶
func (UnimplementedHttpServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedHttpServiceServer) Setting ¶
func (UnimplementedHttpServiceServer) Setting(context.Context, *SettingRequest) (*SettingResponse, error)
type UnsafeHttpServiceServer ¶
type UnsafeHttpServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHttpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HttpServiceServer will result in compilation errors.
type UpdateCasbinRequest ¶
type UpdateCasbinRequest struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID"` RoleIDs string `protobuf:"bytes,2,opt,name=roleIDs,proto3" json:"roleIDs"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc"` // contains filtered or unexported fields }
func (*UpdateCasbinRequest) Descriptor
deprecated
func (*UpdateCasbinRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCasbinRequest.ProtoReflect.Descriptor instead.
func (*UpdateCasbinRequest) GetDesc ¶
func (x *UpdateCasbinRequest) GetDesc() string
func (*UpdateCasbinRequest) GetID ¶
func (x *UpdateCasbinRequest) GetID() int64
func (*UpdateCasbinRequest) GetMethod ¶
func (x *UpdateCasbinRequest) GetMethod() string
func (*UpdateCasbinRequest) GetPath ¶
func (x *UpdateCasbinRequest) GetPath() string
func (*UpdateCasbinRequest) GetRoleIDs ¶
func (x *UpdateCasbinRequest) GetRoleIDs() string
func (*UpdateCasbinRequest) ProtoMessage ¶
func (*UpdateCasbinRequest) ProtoMessage()
func (*UpdateCasbinRequest) ProtoReflect ¶
func (x *UpdateCasbinRequest) ProtoReflect() protoreflect.Message
func (*UpdateCasbinRequest) Reset ¶
func (x *UpdateCasbinRequest) Reset()
func (*UpdateCasbinRequest) String ¶
func (x *UpdateCasbinRequest) String() string
func (*UpdateCasbinRequest) Validate ¶
func (m *UpdateCasbinRequest) Validate() error
Validate checks the field values on UpdateCasbinRequest 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 (*UpdateCasbinRequest) ValidateAll ¶
func (m *UpdateCasbinRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCasbinRequest 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 UpdateCasbinRequestMultiError, or nil if none found.
type UpdateCasbinRequestMultiError ¶
type UpdateCasbinRequestMultiError []error
UpdateCasbinRequestMultiError is an error wrapping multiple validation errors returned by UpdateCasbinRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCasbinRequestMultiError) AllErrors ¶
func (m UpdateCasbinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCasbinRequestMultiError) Error ¶
func (m UpdateCasbinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCasbinRequestValidationError ¶
type UpdateCasbinRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCasbinRequestValidationError is the validation error returned by UpdateCasbinRequest.Validate if the designated constraints aren't met.
func (UpdateCasbinRequestValidationError) Cause ¶
func (e UpdateCasbinRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCasbinRequestValidationError) Error ¶
func (e UpdateCasbinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCasbinRequestValidationError) ErrorName ¶
func (e UpdateCasbinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCasbinRequestValidationError) Field ¶
func (e UpdateCasbinRequestValidationError) Field() string
Field function returns field value.
func (UpdateCasbinRequestValidationError) Key ¶
func (e UpdateCasbinRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCasbinRequestValidationError) Reason ¶
func (e UpdateCasbinRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { UID string `protobuf:"bytes,1,opt,name=UID,proto3" json:"UID"` OldPassword string `protobuf:"bytes,2,opt,name=oldPassword,proto3" json:"oldPassword"` NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetNewPassword ¶
func (x *UpdatePasswordRequest) GetNewPassword() string
func (*UpdatePasswordRequest) GetOldPassword ¶
func (x *UpdatePasswordRequest) GetOldPassword() string
func (*UpdatePasswordRequest) GetUID ¶
func (x *UpdatePasswordRequest) GetUID() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
func (*UpdatePasswordRequest) Validate ¶
func (m *UpdatePasswordRequest) Validate() error
Validate checks the field values on UpdatePasswordRequest 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 (*UpdatePasswordRequest) ValidateAll ¶
func (m *UpdatePasswordRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordRequest 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 UpdatePasswordRequestMultiError, or nil if none found.
type UpdatePasswordRequestMultiError ¶
type UpdatePasswordRequestMultiError []error
UpdatePasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdatePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordRequestMultiError) AllErrors ¶
func (m UpdatePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordRequestMultiError) Error ¶
func (m UpdatePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordRequestValidationError ¶
type UpdatePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.
func (UpdatePasswordRequestValidationError) Cause ¶
func (e UpdatePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordRequestValidationError) Error ¶
func (e UpdatePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordRequestValidationError) ErrorName ¶
func (e UpdatePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordRequestValidationError) Field ¶
func (e UpdatePasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdatePasswordRequestValidationError) Key ¶
func (e UpdatePasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordRequestValidationError) Reason ¶
func (e UpdatePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleMenuRequest ¶
type UpdateRoleMenuRequest struct { Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component"` Hidden bool `protobuf:"varint,2,opt,name=hidden,proto3" json:"hidden"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon"` KeepAlive bool `protobuf:"varint,4,opt,name=keepAlive,proto3" json:"keepAlive"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"` ParentID int32 `protobuf:"varint,6,opt,name=parentID,proto3" json:"parentID"` Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path"` RoleIDs string `protobuf:"bytes,8,opt,name=roleIDs,proto3" json:"roleIDs"` Sort int32 `protobuf:"varint,9,opt,name=sort,proto3" json:"sort"` Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title"` ID int64 `protobuf:"varint,11,opt,name=ID,proto3" json:"ID"` Redirect string `protobuf:"bytes,12,opt,name=redirect,proto3" json:"redirect"` // contains filtered or unexported fields }
func (*UpdateRoleMenuRequest) Descriptor
deprecated
func (*UpdateRoleMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleMenuRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleMenuRequest) GetComponent ¶
func (x *UpdateRoleMenuRequest) GetComponent() string
func (*UpdateRoleMenuRequest) GetHidden ¶
func (x *UpdateRoleMenuRequest) GetHidden() bool
func (*UpdateRoleMenuRequest) GetID ¶
func (x *UpdateRoleMenuRequest) GetID() int64
func (*UpdateRoleMenuRequest) GetIcon ¶
func (x *UpdateRoleMenuRequest) GetIcon() string
func (*UpdateRoleMenuRequest) GetKeepAlive ¶
func (x *UpdateRoleMenuRequest) GetKeepAlive() bool
func (*UpdateRoleMenuRequest) GetName ¶
func (x *UpdateRoleMenuRequest) GetName() string
func (*UpdateRoleMenuRequest) GetParentID ¶
func (x *UpdateRoleMenuRequest) GetParentID() int32
func (*UpdateRoleMenuRequest) GetPath ¶
func (x *UpdateRoleMenuRequest) GetPath() string
func (*UpdateRoleMenuRequest) GetRedirect ¶
func (x *UpdateRoleMenuRequest) GetRedirect() string
func (*UpdateRoleMenuRequest) GetRoleIDs ¶
func (x *UpdateRoleMenuRequest) GetRoleIDs() string
func (*UpdateRoleMenuRequest) GetSort ¶
func (x *UpdateRoleMenuRequest) GetSort() int32
func (*UpdateRoleMenuRequest) GetTitle ¶
func (x *UpdateRoleMenuRequest) GetTitle() string
func (*UpdateRoleMenuRequest) ProtoMessage ¶
func (*UpdateRoleMenuRequest) ProtoMessage()
func (*UpdateRoleMenuRequest) ProtoReflect ¶
func (x *UpdateRoleMenuRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleMenuRequest) Reset ¶
func (x *UpdateRoleMenuRequest) Reset()
func (*UpdateRoleMenuRequest) String ¶
func (x *UpdateRoleMenuRequest) String() string
func (*UpdateRoleMenuRequest) Validate ¶
func (m *UpdateRoleMenuRequest) Validate() error
Validate checks the field values on UpdateRoleMenuRequest 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 (*UpdateRoleMenuRequest) ValidateAll ¶
func (m *UpdateRoleMenuRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleMenuRequest 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 UpdateRoleMenuRequestMultiError, or nil if none found.
type UpdateRoleMenuRequestMultiError ¶
type UpdateRoleMenuRequestMultiError []error
UpdateRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleMenuRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleMenuRequestMultiError) AllErrors ¶
func (m UpdateRoleMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleMenuRequestMultiError) Error ¶
func (m UpdateRoleMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleMenuRequestValidationError ¶
type UpdateRoleMenuRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleMenuRequestValidationError is the validation error returned by UpdateRoleMenuRequest.Validate if the designated constraints aren't met.
func (UpdateRoleMenuRequestValidationError) Cause ¶
func (e UpdateRoleMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleMenuRequestValidationError) Error ¶
func (e UpdateRoleMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleMenuRequestValidationError) ErrorName ¶
func (e UpdateRoleMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleMenuRequestValidationError) Field ¶
func (e UpdateRoleMenuRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleMenuRequestValidationError) Key ¶
func (e UpdateRoleMenuRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleMenuRequestValidationError) Reason ¶
func (e UpdateRoleMenuRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserInfoRequest ¶
type UpdateUserInfoRequest struct { UID string `protobuf:"bytes,1,opt,name=UID,proto3" json:"UID"` NickName string `protobuf:"bytes,2,opt,name=nickName,proto3" json:"nickName"` Birth string `protobuf:"bytes,3,opt,name=birth,proto3" json:"birth"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` Wechat string `protobuf:"bytes,5,opt,name=wechat,proto3" json:"wechat"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email"` Motto string `protobuf:"bytes,7,opt,name=motto,proto3" json:"motto"` // contains filtered or unexported fields }
func (*UpdateUserInfoRequest) Descriptor
deprecated
func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoRequest) GetBirth ¶
func (x *UpdateUserInfoRequest) GetBirth() string
func (*UpdateUserInfoRequest) GetEmail ¶
func (x *UpdateUserInfoRequest) GetEmail() string
func (*UpdateUserInfoRequest) GetMotto ¶
func (x *UpdateUserInfoRequest) GetMotto() string
func (*UpdateUserInfoRequest) GetNickName ¶
func (x *UpdateUserInfoRequest) GetNickName() string
func (*UpdateUserInfoRequest) GetPhone ¶
func (x *UpdateUserInfoRequest) GetPhone() string
func (*UpdateUserInfoRequest) GetUID ¶
func (x *UpdateUserInfoRequest) GetUID() string
func (*UpdateUserInfoRequest) GetWechat ¶
func (x *UpdateUserInfoRequest) GetWechat() string
func (*UpdateUserInfoRequest) ProtoMessage ¶
func (*UpdateUserInfoRequest) ProtoMessage()
func (*UpdateUserInfoRequest) ProtoReflect ¶
func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoRequest) Reset ¶
func (x *UpdateUserInfoRequest) Reset()
func (*UpdateUserInfoRequest) String ¶
func (x *UpdateUserInfoRequest) String() string
func (*UpdateUserInfoRequest) Validate ¶
func (m *UpdateUserInfoRequest) Validate() error
Validate checks the field values on UpdateUserInfoRequest 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 (*UpdateUserInfoRequest) ValidateAll ¶
func (m *UpdateUserInfoRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserInfoRequest 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 UpdateUserInfoRequestMultiError, or nil if none found.
type UpdateUserInfoRequestMultiError ¶
type UpdateUserInfoRequestMultiError []error
UpdateUserInfoRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserInfoRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserInfoRequestMultiError) AllErrors ¶
func (m UpdateUserInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserInfoRequestMultiError) Error ¶
func (m UpdateUserInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserInfoRequestValidationError ¶
type UpdateUserInfoRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserInfoRequestValidationError is the validation error returned by UpdateUserInfoRequest.Validate if the designated constraints aren't met.
func (UpdateUserInfoRequestValidationError) Cause ¶
func (e UpdateUserInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserInfoRequestValidationError) Error ¶
func (e UpdateUserInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserInfoRequestValidationError) ErrorName ¶
func (e UpdateUserInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserInfoRequestValidationError) Field ¶
func (e UpdateUserInfoRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserInfoRequestValidationError) Key ¶
func (e UpdateUserInfoRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserInfoRequestValidationError) Reason ¶
func (e UpdateUserInfoRequestValidationError) Reason() string
Reason function returns reason value.