Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterApiHTTPServer(s *http.Server, srv ApiHTTPServer)
- func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)
- func RegisterDictHTTPServer(s *http.Server, srv DictHTTPServer)
- func RegisterDictServer(s grpc.ServiceRegistrar, srv DictServer)
- func RegisterRoleHTTPServer(s *http.Server, srv RoleHTTPServer)
- func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)
- func RegisterSyslogHTTPServer(s *http.Server, srv SyslogHTTPServer)
- func RegisterSyslogServer(s grpc.ServiceRegistrar, srv SyslogServer)
- func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type ApiClient
- type ApiHTTPClient
- type ApiHTTPClientImpl
- func (c *ApiHTTPClientImpl) AuthorizeApi(ctx context.Context, in *AuthorizeApiRequest, opts ...http.CallOption) (*AuthorizeApiReply, error)
- func (c *ApiHTTPClientImpl) CreateApi(ctx context.Context, in *CreateApiRequest, opts ...http.CallOption) (*CreateApiReply, error)
- func (c *ApiHTTPClientImpl) DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...http.CallOption) (*DeleteApiReply, error)
- func (c *ApiHTTPClientImpl) EditApiStatus(ctx context.Context, in *EditApiStatusRequest, opts ...http.CallOption) (*EditApiStatusReply, error)
- func (c *ApiHTTPClientImpl) GetApi(ctx context.Context, in *GetApiRequest, opts ...http.CallOption) (*GetApiReply, error)
- func (c *ApiHTTPClientImpl) GetApiTree(ctx context.Context, in *GetApiTreeRequest, opts ...http.CallOption) (*GetApiTreeReply, error)
- func (c *ApiHTTPClientImpl) ListApi(ctx context.Context, in *ListApiRequest, opts ...http.CallOption) (*ListApiReply, error)
- func (c *ApiHTTPClientImpl) SelectApi(ctx context.Context, in *SelectApiRequest, opts ...http.CallOption) (*SelectApiReply, error)
- func (c *ApiHTTPClientImpl) UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...http.CallOption) (*UpdateApiReply, error)
- type ApiHTTPServer
- type ApiServer
- type AuthorizeApiReply
- func (*AuthorizeApiReply) Descriptor() ([]byte, []int)deprecated
- func (*AuthorizeApiReply) ProtoMessage()
- func (x *AuthorizeApiReply) ProtoReflect() protoreflect.Message
- func (x *AuthorizeApiReply) Reset()
- func (x *AuthorizeApiReply) String() string
- func (m *AuthorizeApiReply) Validate() error
- func (m *AuthorizeApiReply) ValidateAll() error
- type AuthorizeApiReplyMultiError
- type AuthorizeApiReplyValidationError
- func (e AuthorizeApiReplyValidationError) Cause() error
- func (e AuthorizeApiReplyValidationError) Error() string
- func (e AuthorizeApiReplyValidationError) ErrorName() string
- func (e AuthorizeApiReplyValidationError) Field() string
- func (e AuthorizeApiReplyValidationError) Key() bool
- func (e AuthorizeApiReplyValidationError) Reason() string
- type AuthorizeApiRequest
- func (*AuthorizeApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeApiRequest) GetModel() string
- func (x *AuthorizeApiRequest) GetModelId() uint32
- func (x *AuthorizeApiRequest) GetOp() api.Action
- func (x *AuthorizeApiRequest) GetRoleIds() []uint32
- func (x *AuthorizeApiRequest) GetUserIds() []uint32
- func (*AuthorizeApiRequest) ProtoMessage()
- func (x *AuthorizeApiRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeApiRequest) Reset()
- func (x *AuthorizeApiRequest) String() string
- func (m *AuthorizeApiRequest) Validate() error
- func (m *AuthorizeApiRequest) ValidateAll() error
- type AuthorizeApiRequestMultiError
- type AuthorizeApiRequestValidationError
- func (e AuthorizeApiRequestValidationError) Cause() error
- func (e AuthorizeApiRequestValidationError) Error() string
- func (e AuthorizeApiRequestValidationError) ErrorName() string
- func (e AuthorizeApiRequestValidationError) Field() string
- func (e AuthorizeApiRequestValidationError) Key() bool
- func (e AuthorizeApiRequestValidationError) Reason() string
- type BatchDeleteDictReply
- func (*BatchDeleteDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteDictReply) GetIds() []uint32
- func (*BatchDeleteDictReply) ProtoMessage()
- func (x *BatchDeleteDictReply) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteDictReply) Reset()
- func (x *BatchDeleteDictReply) String() string
- func (m *BatchDeleteDictReply) Validate() error
- func (m *BatchDeleteDictReply) ValidateAll() error
- type BatchDeleteDictReplyMultiError
- type BatchDeleteDictReplyValidationError
- func (e BatchDeleteDictReplyValidationError) Cause() error
- func (e BatchDeleteDictReplyValidationError) Error() string
- func (e BatchDeleteDictReplyValidationError) ErrorName() string
- func (e BatchDeleteDictReplyValidationError) Field() string
- func (e BatchDeleteDictReplyValidationError) Key() bool
- func (e BatchDeleteDictReplyValidationError) Reason() string
- type BatchDeleteDictRequest
- func (*BatchDeleteDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteDictRequest) GetIds() []uint32
- func (*BatchDeleteDictRequest) ProtoMessage()
- func (x *BatchDeleteDictRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteDictRequest) Reset()
- func (x *BatchDeleteDictRequest) String() string
- func (m *BatchDeleteDictRequest) Validate() error
- func (m *BatchDeleteDictRequest) ValidateAll() error
- type BatchDeleteDictRequestMultiError
- type BatchDeleteDictRequestValidationError
- func (e BatchDeleteDictRequestValidationError) Cause() error
- func (e BatchDeleteDictRequestValidationError) Error() string
- func (e BatchDeleteDictRequestValidationError) ErrorName() string
- func (e BatchDeleteDictRequestValidationError) Field() string
- func (e BatchDeleteDictRequestValidationError) Key() bool
- func (e BatchDeleteDictRequestValidationError) Reason() string
- type BatchUpdateDictStatusReply
- func (*BatchUpdateDictStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateDictStatusReply) GetIds() []uint32
- func (*BatchUpdateDictStatusReply) ProtoMessage()
- func (x *BatchUpdateDictStatusReply) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateDictStatusReply) Reset()
- func (x *BatchUpdateDictStatusReply) String() string
- func (m *BatchUpdateDictStatusReply) Validate() error
- func (m *BatchUpdateDictStatusReply) ValidateAll() error
- type BatchUpdateDictStatusReplyMultiError
- type BatchUpdateDictStatusReplyValidationError
- func (e BatchUpdateDictStatusReplyValidationError) Cause() error
- func (e BatchUpdateDictStatusReplyValidationError) Error() string
- func (e BatchUpdateDictStatusReplyValidationError) ErrorName() string
- func (e BatchUpdateDictStatusReplyValidationError) Field() string
- func (e BatchUpdateDictStatusReplyValidationError) Key() bool
- func (e BatchUpdateDictStatusReplyValidationError) Reason() string
- type BatchUpdateDictStatusRequest
- func (*BatchUpdateDictStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateDictStatusRequest) GetIds() []uint32
- func (x *BatchUpdateDictStatusRequest) GetStatus() api.Status
- func (*BatchUpdateDictStatusRequest) ProtoMessage()
- func (x *BatchUpdateDictStatusRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateDictStatusRequest) Reset()
- func (x *BatchUpdateDictStatusRequest) String() string
- func (m *BatchUpdateDictStatusRequest) Validate() error
- func (m *BatchUpdateDictStatusRequest) ValidateAll() error
- type BatchUpdateDictStatusRequestMultiError
- type BatchUpdateDictStatusRequestValidationError
- func (e BatchUpdateDictStatusRequestValidationError) Cause() error
- func (e BatchUpdateDictStatusRequestValidationError) Error() string
- func (e BatchUpdateDictStatusRequestValidationError) ErrorName() string
- func (e BatchUpdateDictStatusRequestValidationError) Field() string
- func (e BatchUpdateDictStatusRequestValidationError) Key() bool
- func (e BatchUpdateDictStatusRequestValidationError) Reason() string
- type CountAlarmPageReply
- func (*CountAlarmPageReply) Descriptor() ([]byte, []int)deprecated
- func (x *CountAlarmPageReply) GetAlarmCount() map[uint32]int64
- func (*CountAlarmPageReply) ProtoMessage()
- func (x *CountAlarmPageReply) ProtoReflect() protoreflect.Message
- func (x *CountAlarmPageReply) Reset()
- func (x *CountAlarmPageReply) String() string
- func (m *CountAlarmPageReply) Validate() error
- func (m *CountAlarmPageReply) ValidateAll() error
- type CountAlarmPageReplyMultiError
- type CountAlarmPageReplyValidationError
- func (e CountAlarmPageReplyValidationError) Cause() error
- func (e CountAlarmPageReplyValidationError) Error() string
- func (e CountAlarmPageReplyValidationError) ErrorName() string
- func (e CountAlarmPageReplyValidationError) Field() string
- func (e CountAlarmPageReplyValidationError) Key() bool
- func (e CountAlarmPageReplyValidationError) Reason() string
- type CountAlarmPageRequest
- func (*CountAlarmPageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountAlarmPageRequest) GetIds() []uint32
- func (*CountAlarmPageRequest) ProtoMessage()
- func (x *CountAlarmPageRequest) ProtoReflect() protoreflect.Message
- func (x *CountAlarmPageRequest) Reset()
- func (x *CountAlarmPageRequest) String() string
- func (m *CountAlarmPageRequest) Validate() error
- func (m *CountAlarmPageRequest) ValidateAll() error
- type CountAlarmPageRequestMultiError
- type CountAlarmPageRequestValidationError
- func (e CountAlarmPageRequestValidationError) Cause() error
- func (e CountAlarmPageRequestValidationError) Error() string
- func (e CountAlarmPageRequestValidationError) ErrorName() string
- func (e CountAlarmPageRequestValidationError) Field() string
- func (e CountAlarmPageRequestValidationError) Key() bool
- func (e CountAlarmPageRequestValidationError) Reason() string
- type CreateApiReply
- func (*CreateApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiReply) GetId() uint32
- func (*CreateApiReply) ProtoMessage()
- func (x *CreateApiReply) ProtoReflect() protoreflect.Message
- func (x *CreateApiReply) Reset()
- func (x *CreateApiReply) String() string
- func (m *CreateApiReply) Validate() error
- func (m *CreateApiReply) ValidateAll() error
- type CreateApiReplyMultiError
- type CreateApiReplyValidationError
- func (e CreateApiReplyValidationError) Cause() error
- func (e CreateApiReplyValidationError) Error() string
- func (e CreateApiReplyValidationError) ErrorName() string
- func (e CreateApiReplyValidationError) Field() string
- func (e CreateApiReplyValidationError) Key() bool
- func (e CreateApiReplyValidationError) Reason() string
- type CreateApiRequest
- func (*CreateApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiRequest) GetDomain() api.DomainType
- func (x *CreateApiRequest) GetMethod() string
- func (x *CreateApiRequest) GetModule() api.ModuleType
- func (x *CreateApiRequest) GetName() string
- func (x *CreateApiRequest) GetPath() string
- func (x *CreateApiRequest) GetRemark() string
- func (*CreateApiRequest) ProtoMessage()
- func (x *CreateApiRequest) ProtoReflect() protoreflect.Message
- func (x *CreateApiRequest) Reset()
- func (x *CreateApiRequest) String() string
- func (m *CreateApiRequest) Validate() error
- func (m *CreateApiRequest) ValidateAll() error
- type CreateApiRequestMultiError
- type CreateApiRequestValidationError
- func (e CreateApiRequestValidationError) Cause() error
- func (e CreateApiRequestValidationError) Error() string
- func (e CreateApiRequestValidationError) ErrorName() string
- func (e CreateApiRequestValidationError) Field() string
- func (e CreateApiRequestValidationError) Key() bool
- func (e CreateApiRequestValidationError) Reason() string
- type CreateDictReply
- func (*CreateDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDictReply) GetId() uint32
- func (*CreateDictReply) ProtoMessage()
- func (x *CreateDictReply) ProtoReflect() protoreflect.Message
- func (x *CreateDictReply) Reset()
- func (x *CreateDictReply) String() string
- func (m *CreateDictReply) Validate() error
- func (m *CreateDictReply) ValidateAll() error
- type CreateDictReplyMultiError
- type CreateDictReplyValidationError
- func (e CreateDictReplyValidationError) Cause() error
- func (e CreateDictReplyValidationError) Error() string
- func (e CreateDictReplyValidationError) ErrorName() string
- func (e CreateDictReplyValidationError) Field() string
- func (e CreateDictReplyValidationError) Key() bool
- func (e CreateDictReplyValidationError) Reason() string
- type CreateDictRequest
- func (*CreateDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDictRequest) GetCategory() api.Category
- func (x *CreateDictRequest) GetColor() string
- func (x *CreateDictRequest) GetName() string
- func (x *CreateDictRequest) GetRemark() string
- func (*CreateDictRequest) ProtoMessage()
- func (x *CreateDictRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDictRequest) Reset()
- func (x *CreateDictRequest) String() string
- func (m *CreateDictRequest) Validate() error
- func (m *CreateDictRequest) ValidateAll() error
- type CreateDictRequestMultiError
- type CreateDictRequestValidationError
- func (e CreateDictRequestValidationError) Cause() error
- func (e CreateDictRequestValidationError) Error() string
- func (e CreateDictRequestValidationError) ErrorName() string
- func (e CreateDictRequestValidationError) Field() string
- func (e CreateDictRequestValidationError) Key() bool
- func (e CreateDictRequestValidationError) Reason() string
- type CreateRoleReply
- func (*CreateRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleReply) GetId() uint32
- func (*CreateRoleReply) ProtoMessage()
- func (x *CreateRoleReply) ProtoReflect() protoreflect.Message
- func (x *CreateRoleReply) Reset()
- func (x *CreateRoleReply) String() string
- func (m *CreateRoleReply) Validate() error
- func (m *CreateRoleReply) ValidateAll() error
- type CreateRoleReplyMultiError
- type CreateRoleReplyValidationError
- func (e CreateRoleReplyValidationError) Cause() error
- func (e CreateRoleReplyValidationError) Error() string
- func (e CreateRoleReplyValidationError) ErrorName() string
- func (e CreateRoleReplyValidationError) Field() string
- func (e CreateRoleReplyValidationError) Key() bool
- func (e CreateRoleReplyValidationError) Reason() string
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleRequest) GetName() string
- func (x *CreateRoleRequest) GetRemark() string
- func (*CreateRoleRequest) ProtoMessage()
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleRequest) Reset()
- func (x *CreateRoleRequest) String() string
- func (m *CreateRoleRequest) Validate() error
- func (m *CreateRoleRequest) ValidateAll() error
- type CreateRoleRequestMultiError
- type CreateRoleRequestValidationError
- func (e CreateRoleRequestValidationError) Cause() error
- func (e CreateRoleRequestValidationError) Error() string
- func (e CreateRoleRequestValidationError) ErrorName() string
- func (e CreateRoleRequestValidationError) Field() string
- func (e CreateRoleRequestValidationError) Key() bool
- func (e CreateRoleRequestValidationError) Reason() string
- type CreateUserReply
- func (*CreateUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserReply) GetId() uint32
- func (*CreateUserReply) ProtoMessage()
- func (x *CreateUserReply) ProtoReflect() protoreflect.Message
- func (x *CreateUserReply) Reset()
- func (x *CreateUserReply) String() string
- func (m *CreateUserReply) Validate() error
- func (m *CreateUserReply) ValidateAll() error
- type CreateUserReplyMultiError
- type CreateUserReplyValidationError
- func (e CreateUserReplyValidationError) Cause() error
- func (e CreateUserReplyValidationError) Error() string
- func (e CreateUserReplyValidationError) ErrorName() string
- func (e CreateUserReplyValidationError) Field() string
- func (e CreateUserReplyValidationError) Key() bool
- func (e CreateUserReplyValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetGender() api.Gender
- func (x *CreateUserRequest) GetNickname() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetPhone() string
- func (x *CreateUserRequest) GetRoleIds() []uint32
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type DeleteApiReply
- func (*DeleteApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteApiReply) GetId() uint32
- func (*DeleteApiReply) ProtoMessage()
- func (x *DeleteApiReply) ProtoReflect() protoreflect.Message
- func (x *DeleteApiReply) Reset()
- func (x *DeleteApiReply) String() string
- func (m *DeleteApiReply) Validate() error
- func (m *DeleteApiReply) ValidateAll() error
- type DeleteApiReplyMultiError
- type DeleteApiReplyValidationError
- func (e DeleteApiReplyValidationError) Cause() error
- func (e DeleteApiReplyValidationError) Error() string
- func (e DeleteApiReplyValidationError) ErrorName() string
- func (e DeleteApiReplyValidationError) Field() string
- func (e DeleteApiReplyValidationError) Key() bool
- func (e DeleteApiReplyValidationError) Reason() string
- type DeleteApiRequest
- func (*DeleteApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteApiRequest) GetId() uint32
- func (*DeleteApiRequest) ProtoMessage()
- func (x *DeleteApiRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteApiRequest) Reset()
- func (x *DeleteApiRequest) String() string
- func (m *DeleteApiRequest) Validate() error
- func (m *DeleteApiRequest) ValidateAll() error
- type DeleteApiRequestMultiError
- type DeleteApiRequestValidationError
- func (e DeleteApiRequestValidationError) Cause() error
- func (e DeleteApiRequestValidationError) Error() string
- func (e DeleteApiRequestValidationError) ErrorName() string
- func (e DeleteApiRequestValidationError) Field() string
- func (e DeleteApiRequestValidationError) Key() bool
- func (e DeleteApiRequestValidationError) Reason() string
- type DeleteDictReply
- func (*DeleteDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictReply) GetId() uint32
- func (*DeleteDictReply) ProtoMessage()
- func (x *DeleteDictReply) ProtoReflect() protoreflect.Message
- func (x *DeleteDictReply) Reset()
- func (x *DeleteDictReply) String() string
- func (m *DeleteDictReply) Validate() error
- func (m *DeleteDictReply) ValidateAll() error
- type DeleteDictReplyMultiError
- type DeleteDictReplyValidationError
- func (e DeleteDictReplyValidationError) Cause() error
- func (e DeleteDictReplyValidationError) Error() string
- func (e DeleteDictReplyValidationError) ErrorName() string
- func (e DeleteDictReplyValidationError) Field() string
- func (e DeleteDictReplyValidationError) Key() bool
- func (e DeleteDictReplyValidationError) Reason() string
- type DeleteDictRequest
- func (*DeleteDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictRequest) GetId() uint32
- func (*DeleteDictRequest) ProtoMessage()
- func (x *DeleteDictRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDictRequest) Reset()
- func (x *DeleteDictRequest) String() string
- func (m *DeleteDictRequest) Validate() error
- func (m *DeleteDictRequest) ValidateAll() error
- type DeleteDictRequestMultiError
- type DeleteDictRequestValidationError
- func (e DeleteDictRequestValidationError) Cause() error
- func (e DeleteDictRequestValidationError) Error() string
- func (e DeleteDictRequestValidationError) ErrorName() string
- func (e DeleteDictRequestValidationError) Field() string
- func (e DeleteDictRequestValidationError) Key() bool
- func (e DeleteDictRequestValidationError) Reason() string
- type DeleteRoleReply
- func (*DeleteRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleReply) GetId() uint32
- func (*DeleteRoleReply) ProtoMessage()
- func (x *DeleteRoleReply) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleReply) Reset()
- func (x *DeleteRoleReply) String() string
- func (m *DeleteRoleReply) Validate() error
- func (m *DeleteRoleReply) ValidateAll() error
- type DeleteRoleReplyMultiError
- type DeleteRoleReplyValidationError
- func (e DeleteRoleReplyValidationError) Cause() error
- func (e DeleteRoleReplyValidationError) Error() string
- func (e DeleteRoleReplyValidationError) ErrorName() string
- func (e DeleteRoleReplyValidationError) Field() string
- func (e DeleteRoleReplyValidationError) Key() bool
- func (e DeleteRoleReplyValidationError) Reason() string
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetId() uint32
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- func (m *DeleteRoleRequest) Validate() error
- func (m *DeleteRoleRequest) ValidateAll() error
- type DeleteRoleRequestMultiError
- type DeleteRoleRequestValidationError
- func (e DeleteRoleRequestValidationError) Cause() error
- func (e DeleteRoleRequestValidationError) Error() string
- func (e DeleteRoleRequestValidationError) ErrorName() string
- func (e DeleteRoleRequestValidationError) Field() string
- func (e DeleteRoleRequestValidationError) Key() bool
- func (e DeleteRoleRequestValidationError) Reason() string
- type DeleteUserReply
- func (*DeleteUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserReply) GetId() uint32
- func (*DeleteUserReply) ProtoMessage()
- func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserReply) Reset()
- func (x *DeleteUserReply) String() string
- func (m *DeleteUserReply) Validate() error
- func (m *DeleteUserReply) ValidateAll() error
- type DeleteUserReplyMultiError
- type DeleteUserReplyValidationError
- func (e DeleteUserReplyValidationError) Cause() error
- func (e DeleteUserReplyValidationError) Error() string
- func (e DeleteUserReplyValidationError) ErrorName() string
- func (e DeleteUserReplyValidationError) Field() string
- func (e DeleteUserReplyValidationError) Key() bool
- func (e DeleteUserReplyValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetId() uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DictClient
- type DictHTTPClient
- type DictHTTPClientImpl
- func (c *DictHTTPClientImpl) BatchDeleteDict(ctx context.Context, in *BatchDeleteDictRequest, opts ...http.CallOption) (*BatchDeleteDictReply, error)
- func (c *DictHTTPClientImpl) BatchUpdateDictStatus(ctx context.Context, in *BatchUpdateDictStatusRequest, opts ...http.CallOption) (*BatchUpdateDictStatusReply, error)
- func (c *DictHTTPClientImpl) CountAlarmPage(ctx context.Context, in *CountAlarmPageRequest, opts ...http.CallOption) (*CountAlarmPageReply, error)
- func (c *DictHTTPClientImpl) CreateDict(ctx context.Context, in *CreateDictRequest, opts ...http.CallOption) (*CreateDictReply, error)
- func (c *DictHTTPClientImpl) DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...http.CallOption) (*DeleteDictReply, error)
- func (c *DictHTTPClientImpl) GetDict(ctx context.Context, in *GetDictRequest, opts ...http.CallOption) (*GetDictReply, error)
- func (c *DictHTTPClientImpl) ListDict(ctx context.Context, in *ListDictRequest, opts ...http.CallOption) (*ListDictReply, error)
- func (c *DictHTTPClientImpl) ListMyAlarmPage(ctx context.Context, in *ListMyAlarmPageRequest, opts ...http.CallOption) (*ListMyAlarmPageReply, error)
- func (c *DictHTTPClientImpl) MyAlarmPagesConfig(ctx context.Context, in *MyAlarmPagesConfigRequest, opts ...http.CallOption) (*MyAlarmPagesConfigReply, error)
- func (c *DictHTTPClientImpl) SelectDict(ctx context.Context, in *SelectDictRequest, opts ...http.CallOption) (*SelectDictReply, error)
- func (c *DictHTTPClientImpl) UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...http.CallOption) (*UpdateDictReply, error)
- type DictHTTPServer
- type DictServer
- type EditApiStatusReply
- func (*EditApiStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *EditApiStatusReply) GetIds() []uint32
- func (*EditApiStatusReply) ProtoMessage()
- func (x *EditApiStatusReply) ProtoReflect() protoreflect.Message
- func (x *EditApiStatusReply) Reset()
- func (x *EditApiStatusReply) String() string
- func (m *EditApiStatusReply) Validate() error
- func (m *EditApiStatusReply) ValidateAll() error
- type EditApiStatusReplyMultiError
- type EditApiStatusReplyValidationError
- func (e EditApiStatusReplyValidationError) Cause() error
- func (e EditApiStatusReplyValidationError) Error() string
- func (e EditApiStatusReplyValidationError) ErrorName() string
- func (e EditApiStatusReplyValidationError) Field() string
- func (e EditApiStatusReplyValidationError) Key() bool
- func (e EditApiStatusReplyValidationError) Reason() string
- type EditApiStatusRequest
- func (*EditApiStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditApiStatusRequest) GetIds() []uint32
- func (x *EditApiStatusRequest) GetStatus() api.Status
- func (*EditApiStatusRequest) ProtoMessage()
- func (x *EditApiStatusRequest) ProtoReflect() protoreflect.Message
- func (x *EditApiStatusRequest) Reset()
- func (x *EditApiStatusRequest) String() string
- func (m *EditApiStatusRequest) Validate() error
- func (m *EditApiStatusRequest) ValidateAll() error
- type EditApiStatusRequestMultiError
- type EditApiStatusRequestValidationError
- func (e EditApiStatusRequestValidationError) Cause() error
- func (e EditApiStatusRequestValidationError) Error() string
- func (e EditApiStatusRequestValidationError) ErrorName() string
- func (e EditApiStatusRequestValidationError) Field() string
- func (e EditApiStatusRequestValidationError) Key() bool
- func (e EditApiStatusRequestValidationError) Reason() string
- type EditRoleStatusReply
- func (*EditRoleStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *EditRoleStatusReply) GetIds() []uint32
- func (*EditRoleStatusReply) ProtoMessage()
- func (x *EditRoleStatusReply) ProtoReflect() protoreflect.Message
- func (x *EditRoleStatusReply) Reset()
- func (x *EditRoleStatusReply) String() string
- func (m *EditRoleStatusReply) Validate() error
- func (m *EditRoleStatusReply) ValidateAll() error
- type EditRoleStatusReplyMultiError
- type EditRoleStatusReplyValidationError
- func (e EditRoleStatusReplyValidationError) Cause() error
- func (e EditRoleStatusReplyValidationError) Error() string
- func (e EditRoleStatusReplyValidationError) ErrorName() string
- func (e EditRoleStatusReplyValidationError) Field() string
- func (e EditRoleStatusReplyValidationError) Key() bool
- func (e EditRoleStatusReplyValidationError) Reason() string
- type EditRoleStatusRequest
- func (*EditRoleStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditRoleStatusRequest) GetIds() []uint32
- func (x *EditRoleStatusRequest) GetStatus() api.Status
- func (*EditRoleStatusRequest) ProtoMessage()
- func (x *EditRoleStatusRequest) ProtoReflect() protoreflect.Message
- func (x *EditRoleStatusRequest) Reset()
- func (x *EditRoleStatusRequest) String() string
- func (m *EditRoleStatusRequest) Validate() error
- func (m *EditRoleStatusRequest) ValidateAll() error
- type EditRoleStatusRequestMultiError
- type EditRoleStatusRequestValidationError
- func (e EditRoleStatusRequestValidationError) Cause() error
- func (e EditRoleStatusRequestValidationError) Error() string
- func (e EditRoleStatusRequestValidationError) ErrorName() string
- func (e EditRoleStatusRequestValidationError) Field() string
- func (e EditRoleStatusRequestValidationError) Key() bool
- func (e EditRoleStatusRequestValidationError) Reason() string
- type EditUserPasswordReply
- func (*EditUserPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (x *EditUserPasswordReply) GetId() uint32
- func (*EditUserPasswordReply) ProtoMessage()
- func (x *EditUserPasswordReply) ProtoReflect() protoreflect.Message
- func (x *EditUserPasswordReply) Reset()
- func (x *EditUserPasswordReply) String() string
- func (m *EditUserPasswordReply) Validate() error
- func (m *EditUserPasswordReply) ValidateAll() error
- type EditUserPasswordReplyMultiError
- type EditUserPasswordReplyValidationError
- func (e EditUserPasswordReplyValidationError) Cause() error
- func (e EditUserPasswordReplyValidationError) Error() string
- func (e EditUserPasswordReplyValidationError) ErrorName() string
- func (e EditUserPasswordReplyValidationError) Field() string
- func (e EditUserPasswordReplyValidationError) Key() bool
- func (e EditUserPasswordReplyValidationError) Reason() string
- type EditUserPasswordRequest
- func (*EditUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditUserPasswordRequest) GetCaptchaId() string
- func (x *EditUserPasswordRequest) GetCode() string
- func (x *EditUserPasswordRequest) GetNewPassword() string
- func (x *EditUserPasswordRequest) GetOldPassword() string
- func (*EditUserPasswordRequest) ProtoMessage()
- func (x *EditUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *EditUserPasswordRequest) Reset()
- func (x *EditUserPasswordRequest) String() string
- func (m *EditUserPasswordRequest) Validate() error
- func (m *EditUserPasswordRequest) ValidateAll() error
- type EditUserPasswordRequestMultiError
- type EditUserPasswordRequestValidationError
- func (e EditUserPasswordRequestValidationError) Cause() error
- func (e EditUserPasswordRequestValidationError) Error() string
- func (e EditUserPasswordRequestValidationError) ErrorName() string
- func (e EditUserPasswordRequestValidationError) Field() string
- func (e EditUserPasswordRequestValidationError) Key() bool
- func (e EditUserPasswordRequestValidationError) Reason() string
- type EditUserStatusReply
- func (*EditUserStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *EditUserStatusReply) GetIds() []uint32
- func (*EditUserStatusReply) ProtoMessage()
- func (x *EditUserStatusReply) ProtoReflect() protoreflect.Message
- func (x *EditUserStatusReply) Reset()
- func (x *EditUserStatusReply) String() string
- func (m *EditUserStatusReply) Validate() error
- func (m *EditUserStatusReply) ValidateAll() error
- type EditUserStatusReplyMultiError
- type EditUserStatusReplyValidationError
- func (e EditUserStatusReplyValidationError) Cause() error
- func (e EditUserStatusReplyValidationError) Error() string
- func (e EditUserStatusReplyValidationError) ErrorName() string
- func (e EditUserStatusReplyValidationError) Field() string
- func (e EditUserStatusReplyValidationError) Key() bool
- func (e EditUserStatusReplyValidationError) Reason() string
- type EditUserStatusRequest
- func (*EditUserStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditUserStatusRequest) GetIds() []uint32
- func (x *EditUserStatusRequest) GetStatus() api.Status
- func (*EditUserStatusRequest) ProtoMessage()
- func (x *EditUserStatusRequest) ProtoReflect() protoreflect.Message
- func (x *EditUserStatusRequest) Reset()
- func (x *EditUserStatusRequest) String() string
- func (m *EditUserStatusRequest) Validate() error
- func (m *EditUserStatusRequest) ValidateAll() error
- type EditUserStatusRequestMultiError
- type EditUserStatusRequestValidationError
- func (e EditUserStatusRequestValidationError) Cause() error
- func (e EditUserStatusRequestValidationError) Error() string
- func (e EditUserStatusRequestValidationError) ErrorName() string
- func (e EditUserStatusRequestValidationError) Field() string
- func (e EditUserStatusRequestValidationError) Key() bool
- func (e EditUserStatusRequestValidationError) Reason() string
- type GetApiReply
- func (*GetApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiReply) GetDetail() *api.ApiV1
- func (*GetApiReply) ProtoMessage()
- func (x *GetApiReply) ProtoReflect() protoreflect.Message
- func (x *GetApiReply) Reset()
- func (x *GetApiReply) String() string
- func (m *GetApiReply) Validate() error
- func (m *GetApiReply) ValidateAll() error
- type GetApiReplyMultiError
- type GetApiReplyValidationError
- func (e GetApiReplyValidationError) Cause() error
- func (e GetApiReplyValidationError) Error() string
- func (e GetApiReplyValidationError) ErrorName() string
- func (e GetApiReplyValidationError) Field() string
- func (e GetApiReplyValidationError) Key() bool
- func (e GetApiReplyValidationError) Reason() string
- type GetApiRequest
- func (*GetApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiRequest) GetId() uint32
- func (*GetApiRequest) ProtoMessage()
- func (x *GetApiRequest) ProtoReflect() protoreflect.Message
- func (x *GetApiRequest) Reset()
- func (x *GetApiRequest) String() string
- func (m *GetApiRequest) Validate() error
- func (m *GetApiRequest) ValidateAll() error
- type GetApiRequestMultiError
- type GetApiRequestValidationError
- func (e GetApiRequestValidationError) Cause() error
- func (e GetApiRequestValidationError) Error() string
- func (e GetApiRequestValidationError) ErrorName() string
- func (e GetApiRequestValidationError) Field() string
- func (e GetApiRequestValidationError) Key() bool
- func (e GetApiRequestValidationError) Reason() string
- type GetApiTreeReply
- func (*GetApiTreeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiTreeReply) GetTree() []*api.ApiTree
- func (*GetApiTreeReply) ProtoMessage()
- func (x *GetApiTreeReply) ProtoReflect() protoreflect.Message
- func (x *GetApiTreeReply) Reset()
- func (x *GetApiTreeReply) String() string
- func (m *GetApiTreeReply) Validate() error
- func (m *GetApiTreeReply) ValidateAll() error
- type GetApiTreeReplyMultiError
- type GetApiTreeReplyValidationError
- func (e GetApiTreeReplyValidationError) Cause() error
- func (e GetApiTreeReplyValidationError) Error() string
- func (e GetApiTreeReplyValidationError) ErrorName() string
- func (e GetApiTreeReplyValidationError) Field() string
- func (e GetApiTreeReplyValidationError) Key() bool
- func (e GetApiTreeReplyValidationError) Reason() string
- type GetApiTreeRequest
- func (*GetApiTreeRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetApiTreeRequest) ProtoMessage()
- func (x *GetApiTreeRequest) ProtoReflect() protoreflect.Message
- func (x *GetApiTreeRequest) Reset()
- func (x *GetApiTreeRequest) String() string
- func (m *GetApiTreeRequest) Validate() error
- func (m *GetApiTreeRequest) ValidateAll() error
- type GetApiTreeRequestMultiError
- type GetApiTreeRequestValidationError
- func (e GetApiTreeRequestValidationError) Cause() error
- func (e GetApiTreeRequestValidationError) Error() string
- func (e GetApiTreeRequestValidationError) ErrorName() string
- func (e GetApiTreeRequestValidationError) Field() string
- func (e GetApiTreeRequestValidationError) Key() bool
- func (e GetApiTreeRequestValidationError) Reason() string
- type GetDictReply
- func (*GetDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDictReply) GetPromDict() *api.DictV1
- func (*GetDictReply) ProtoMessage()
- func (x *GetDictReply) ProtoReflect() protoreflect.Message
- func (x *GetDictReply) Reset()
- func (x *GetDictReply) String() string
- func (m *GetDictReply) Validate() error
- func (m *GetDictReply) ValidateAll() error
- type GetDictReplyMultiError
- type GetDictReplyValidationError
- func (e GetDictReplyValidationError) Cause() error
- func (e GetDictReplyValidationError) Error() string
- func (e GetDictReplyValidationError) ErrorName() string
- func (e GetDictReplyValidationError) Field() string
- func (e GetDictReplyValidationError) Key() bool
- func (e GetDictReplyValidationError) Reason() string
- type GetDictRequest
- func (*GetDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDictRequest) GetId() uint32
- func (x *GetDictRequest) GetIsDeleted() bool
- func (*GetDictRequest) ProtoMessage()
- func (x *GetDictRequest) ProtoReflect() protoreflect.Message
- func (x *GetDictRequest) Reset()
- func (x *GetDictRequest) String() string
- func (m *GetDictRequest) Validate() error
- func (m *GetDictRequest) ValidateAll() error
- type GetDictRequestMultiError
- type GetDictRequestValidationError
- func (e GetDictRequestValidationError) Cause() error
- func (e GetDictRequestValidationError) Error() string
- func (e GetDictRequestValidationError) ErrorName() string
- func (e GetDictRequestValidationError) Field() string
- func (e GetDictRequestValidationError) Key() bool
- func (e GetDictRequestValidationError) Reason() string
- type GetRoleReply
- func (*GetRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleReply) GetDetail() *api.RoleV1
- func (*GetRoleReply) ProtoMessage()
- func (x *GetRoleReply) ProtoReflect() protoreflect.Message
- func (x *GetRoleReply) Reset()
- func (x *GetRoleReply) String() string
- func (m *GetRoleReply) Validate() error
- func (m *GetRoleReply) ValidateAll() error
- type GetRoleReplyMultiError
- type GetRoleReplyValidationError
- func (e GetRoleReplyValidationError) Cause() error
- func (e GetRoleReplyValidationError) Error() string
- func (e GetRoleReplyValidationError) ErrorName() string
- func (e GetRoleReplyValidationError) Field() string
- func (e GetRoleReplyValidationError) Key() bool
- func (e GetRoleReplyValidationError) Reason() string
- type GetRoleRequest
- func (*GetRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleRequest) GetId() uint32
- func (*GetRoleRequest) ProtoMessage()
- func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleRequest) Reset()
- func (x *GetRoleRequest) String() string
- func (m *GetRoleRequest) Validate() error
- func (m *GetRoleRequest) ValidateAll() error
- type GetRoleRequestMultiError
- type GetRoleRequestValidationError
- func (e GetRoleRequestValidationError) Cause() error
- func (e GetRoleRequestValidationError) Error() string
- func (e GetRoleRequestValidationError) ErrorName() string
- func (e GetRoleRequestValidationError) Field() string
- func (e GetRoleRequestValidationError) Key() bool
- func (e GetRoleRequestValidationError) Reason() string
- type GetUserReply
- func (*GetUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply) GetDetail() *api.UserV1
- func (*GetUserReply) ProtoMessage()
- func (x *GetUserReply) ProtoReflect() protoreflect.Message
- func (x *GetUserReply) Reset()
- func (x *GetUserReply) String() string
- func (m *GetUserReply) Validate() error
- func (m *GetUserReply) ValidateAll() error
- type GetUserReplyMultiError
- type GetUserReplyValidationError
- func (e GetUserReplyValidationError) Cause() error
- func (e GetUserReplyValidationError) Error() string
- func (e GetUserReplyValidationError) ErrorName() string
- func (e GetUserReplyValidationError) Field() string
- func (e GetUserReplyValidationError) Key() bool
- func (e GetUserReplyValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() uint32
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type ListApiReply
- func (*ListApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiReply) GetList() []*api.ApiV1
- func (x *ListApiReply) GetPage() *api.PageReply
- func (*ListApiReply) ProtoMessage()
- func (x *ListApiReply) ProtoReflect() protoreflect.Message
- func (x *ListApiReply) Reset()
- func (x *ListApiReply) String() string
- func (m *ListApiReply) Validate() error
- func (m *ListApiReply) ValidateAll() error
- type ListApiReplyMultiError
- type ListApiReplyValidationError
- func (e ListApiReplyValidationError) Cause() error
- func (e ListApiReplyValidationError) Error() string
- func (e ListApiReplyValidationError) ErrorName() string
- func (e ListApiReplyValidationError) Field() string
- func (e ListApiReplyValidationError) Key() bool
- func (e ListApiReplyValidationError) Reason() string
- type ListApiRequest
- func (*ListApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiRequest) GetKeyword() string
- func (x *ListApiRequest) GetPage() *api.PageRequest
- func (x *ListApiRequest) GetStatus() api.Status
- func (*ListApiRequest) ProtoMessage()
- func (x *ListApiRequest) ProtoReflect() protoreflect.Message
- func (x *ListApiRequest) Reset()
- func (x *ListApiRequest) String() string
- func (m *ListApiRequest) Validate() error
- func (m *ListApiRequest) ValidateAll() error
- type ListApiRequestMultiError
- type ListApiRequestValidationError
- func (e ListApiRequestValidationError) Cause() error
- func (e ListApiRequestValidationError) Error() string
- func (e ListApiRequestValidationError) ErrorName() string
- func (e ListApiRequestValidationError) Field() string
- func (e ListApiRequestValidationError) Key() bool
- func (e ListApiRequestValidationError) Reason() string
- type ListDictReply
- func (*ListDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDictReply) GetList() []*api.DictV1
- func (x *ListDictReply) GetPage() *api.PageReply
- func (*ListDictReply) ProtoMessage()
- func (x *ListDictReply) ProtoReflect() protoreflect.Message
- func (x *ListDictReply) Reset()
- func (x *ListDictReply) String() string
- func (m *ListDictReply) Validate() error
- func (m *ListDictReply) ValidateAll() error
- type ListDictReplyMultiError
- type ListDictReplyValidationError
- func (e ListDictReplyValidationError) Cause() error
- func (e ListDictReplyValidationError) Error() string
- func (e ListDictReplyValidationError) ErrorName() string
- func (e ListDictReplyValidationError) Field() string
- func (e ListDictReplyValidationError) Key() bool
- func (e ListDictReplyValidationError) Reason() string
- type ListDictRequest
- func (*ListDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDictRequest) GetCategory() api.Category
- func (x *ListDictRequest) GetIsDeleted() bool
- func (x *ListDictRequest) GetKeyword() string
- func (x *ListDictRequest) GetPage() *api.PageRequest
- func (x *ListDictRequest) GetStatus() api.Status
- func (*ListDictRequest) ProtoMessage()
- func (x *ListDictRequest) ProtoReflect() protoreflect.Message
- func (x *ListDictRequest) Reset()
- func (x *ListDictRequest) String() string
- func (m *ListDictRequest) Validate() error
- func (m *ListDictRequest) ValidateAll() error
- type ListDictRequestMultiError
- type ListDictRequestValidationError
- func (e ListDictRequestValidationError) Cause() error
- func (e ListDictRequestValidationError) Error() string
- func (e ListDictRequestValidationError) ErrorName() string
- func (e ListDictRequestValidationError) Field() string
- func (e ListDictRequestValidationError) Key() bool
- func (e ListDictRequestValidationError) Reason() string
- type ListMyAlarmPageReply
- func (*ListMyAlarmPageReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListMyAlarmPageReply) GetList() []*api.DictV1
- func (*ListMyAlarmPageReply) ProtoMessage()
- func (x *ListMyAlarmPageReply) ProtoReflect() protoreflect.Message
- func (x *ListMyAlarmPageReply) Reset()
- func (x *ListMyAlarmPageReply) String() string
- func (m *ListMyAlarmPageReply) Validate() error
- func (m *ListMyAlarmPageReply) ValidateAll() error
- type ListMyAlarmPageReplyMultiError
- type ListMyAlarmPageReplyValidationError
- func (e ListMyAlarmPageReplyValidationError) Cause() error
- func (e ListMyAlarmPageReplyValidationError) Error() string
- func (e ListMyAlarmPageReplyValidationError) ErrorName() string
- func (e ListMyAlarmPageReplyValidationError) Field() string
- func (e ListMyAlarmPageReplyValidationError) Key() bool
- func (e ListMyAlarmPageReplyValidationError) Reason() string
- type ListMyAlarmPageRequest
- func (*ListMyAlarmPageRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListMyAlarmPageRequest) ProtoMessage()
- func (x *ListMyAlarmPageRequest) ProtoReflect() protoreflect.Message
- func (x *ListMyAlarmPageRequest) Reset()
- func (x *ListMyAlarmPageRequest) String() string
- func (m *ListMyAlarmPageRequest) Validate() error
- func (m *ListMyAlarmPageRequest) ValidateAll() error
- type ListMyAlarmPageRequestMultiError
- type ListMyAlarmPageRequestValidationError
- func (e ListMyAlarmPageRequestValidationError) Cause() error
- func (e ListMyAlarmPageRequestValidationError) Error() string
- func (e ListMyAlarmPageRequestValidationError) ErrorName() string
- func (e ListMyAlarmPageRequestValidationError) Field() string
- func (e ListMyAlarmPageRequestValidationError) Key() bool
- func (e ListMyAlarmPageRequestValidationError) Reason() string
- type ListRoleReply
- func (*ListRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleReply) GetList() []*api.RoleV1
- func (x *ListRoleReply) GetPage() *api.PageReply
- func (*ListRoleReply) ProtoMessage()
- func (x *ListRoleReply) ProtoReflect() protoreflect.Message
- func (x *ListRoleReply) Reset()
- func (x *ListRoleReply) String() string
- func (m *ListRoleReply) Validate() error
- func (m *ListRoleReply) ValidateAll() error
- type ListRoleReplyMultiError
- type ListRoleReplyValidationError
- func (e ListRoleReplyValidationError) Cause() error
- func (e ListRoleReplyValidationError) Error() string
- func (e ListRoleReplyValidationError) ErrorName() string
- func (e ListRoleReplyValidationError) Field() string
- func (e ListRoleReplyValidationError) Key() bool
- func (e ListRoleReplyValidationError) Reason() string
- type ListRoleRequest
- func (*ListRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleRequest) GetKeyword() string
- func (x *ListRoleRequest) GetPage() *api.PageRequest
- func (x *ListRoleRequest) GetStatus() api.Status
- func (*ListRoleRequest) ProtoMessage()
- func (x *ListRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoleRequest) Reset()
- func (x *ListRoleRequest) String() string
- func (m *ListRoleRequest) Validate() error
- func (m *ListRoleRequest) ValidateAll() error
- type ListRoleRequestMultiError
- type ListRoleRequestValidationError
- func (e ListRoleRequestValidationError) Cause() error
- func (e ListRoleRequestValidationError) Error() string
- func (e ListRoleRequestValidationError) ErrorName() string
- func (e ListRoleRequestValidationError) Field() string
- func (e ListRoleRequestValidationError) Key() bool
- func (e ListRoleRequestValidationError) Reason() string
- type ListSyslogReply
- func (*ListSyslogReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListSyslogReply) GetList() []*api.SysLogV1Item
- func (x *ListSyslogReply) GetPage() *api.PageReply
- func (*ListSyslogReply) ProtoMessage()
- func (x *ListSyslogReply) ProtoReflect() protoreflect.Message
- func (x *ListSyslogReply) Reset()
- func (x *ListSyslogReply) String() string
- func (m *ListSyslogReply) Validate() error
- func (m *ListSyslogReply) ValidateAll() error
- type ListSyslogReplyMultiError
- type ListSyslogReplyValidationError
- func (e ListSyslogReplyValidationError) Cause() error
- func (e ListSyslogReplyValidationError) Error() string
- func (e ListSyslogReplyValidationError) ErrorName() string
- func (e ListSyslogReplyValidationError) Field() string
- func (e ListSyslogReplyValidationError) Key() bool
- func (e ListSyslogReplyValidationError) Reason() string
- type ListSyslogRequest
- func (*ListSyslogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSyslogRequest) GetModuleId() uint32
- func (x *ListSyslogRequest) GetModuleName() int32
- func (x *ListSyslogRequest) GetPage() *api.PageRequest
- func (*ListSyslogRequest) ProtoMessage()
- func (x *ListSyslogRequest) ProtoReflect() protoreflect.Message
- func (x *ListSyslogRequest) Reset()
- func (x *ListSyslogRequest) String() string
- func (m *ListSyslogRequest) Validate() error
- func (m *ListSyslogRequest) ValidateAll() error
- type ListSyslogRequestMultiError
- type ListSyslogRequestValidationError
- func (e ListSyslogRequestValidationError) Cause() error
- func (e ListSyslogRequestValidationError) Error() string
- func (e ListSyslogRequestValidationError) ErrorName() string
- func (e ListSyslogRequestValidationError) Field() string
- func (e ListSyslogRequestValidationError) Key() bool
- func (e ListSyslogRequestValidationError) Reason() string
- type ListUserReply
- func (*ListUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserReply) GetList() []*api.UserV1
- func (x *ListUserReply) GetPage() *api.PageReply
- func (*ListUserReply) ProtoMessage()
- func (x *ListUserReply) ProtoReflect() protoreflect.Message
- func (x *ListUserReply) Reset()
- func (x *ListUserReply) String() string
- func (m *ListUserReply) Validate() error
- func (m *ListUserReply) ValidateAll() error
- type ListUserReplyMultiError
- type ListUserReplyValidationError
- func (e ListUserReplyValidationError) Cause() error
- func (e ListUserReplyValidationError) Error() string
- func (e ListUserReplyValidationError) ErrorName() string
- func (e ListUserReplyValidationError) Field() string
- func (e ListUserReplyValidationError) Key() bool
- func (e ListUserReplyValidationError) Reason() string
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetKeyword() string
- func (x *ListUserRequest) GetPage() *api.PageRequest
- func (x *ListUserRequest) GetStatus() api.Status
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- func (m *ListUserRequest) Validate() error
- func (m *ListUserRequest) ValidateAll() error
- type ListUserRequestMultiError
- type ListUserRequestValidationError
- func (e ListUserRequestValidationError) Cause() error
- func (e ListUserRequestValidationError) Error() string
- func (e ListUserRequestValidationError) ErrorName() string
- func (e ListUserRequestValidationError) Field() string
- func (e ListUserRequestValidationError) Key() bool
- func (e ListUserRequestValidationError) Reason() string
- type MyAlarmPagesConfigReply
- func (*MyAlarmPagesConfigReply) Descriptor() ([]byte, []int)deprecated
- func (*MyAlarmPagesConfigReply) ProtoMessage()
- func (x *MyAlarmPagesConfigReply) ProtoReflect() protoreflect.Message
- func (x *MyAlarmPagesConfigReply) Reset()
- func (x *MyAlarmPagesConfigReply) String() string
- func (m *MyAlarmPagesConfigReply) Validate() error
- func (m *MyAlarmPagesConfigReply) ValidateAll() error
- type MyAlarmPagesConfigReplyMultiError
- type MyAlarmPagesConfigReplyValidationError
- func (e MyAlarmPagesConfigReplyValidationError) Cause() error
- func (e MyAlarmPagesConfigReplyValidationError) Error() string
- func (e MyAlarmPagesConfigReplyValidationError) ErrorName() string
- func (e MyAlarmPagesConfigReplyValidationError) Field() string
- func (e MyAlarmPagesConfigReplyValidationError) Key() bool
- func (e MyAlarmPagesConfigReplyValidationError) Reason() string
- type MyAlarmPagesConfigRequest
- func (*MyAlarmPagesConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MyAlarmPagesConfigRequest) GetAlarmIds() []uint32
- func (*MyAlarmPagesConfigRequest) ProtoMessage()
- func (x *MyAlarmPagesConfigRequest) ProtoReflect() protoreflect.Message
- func (x *MyAlarmPagesConfigRequest) Reset()
- func (x *MyAlarmPagesConfigRequest) String() string
- func (m *MyAlarmPagesConfigRequest) Validate() error
- func (m *MyAlarmPagesConfigRequest) ValidateAll() error
- type MyAlarmPagesConfigRequestMultiError
- type MyAlarmPagesConfigRequestValidationError
- func (e MyAlarmPagesConfigRequestValidationError) Cause() error
- func (e MyAlarmPagesConfigRequestValidationError) Error() string
- func (e MyAlarmPagesConfigRequestValidationError) ErrorName() string
- func (e MyAlarmPagesConfigRequestValidationError) Field() string
- func (e MyAlarmPagesConfigRequestValidationError) Key() bool
- func (e MyAlarmPagesConfigRequestValidationError) Reason() string
- type RelateApiReply
- func (*RelateApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *RelateApiReply) GetId() uint32
- func (*RelateApiReply) ProtoMessage()
- func (x *RelateApiReply) ProtoReflect() protoreflect.Message
- func (x *RelateApiReply) Reset()
- func (x *RelateApiReply) String() string
- func (m *RelateApiReply) Validate() error
- func (m *RelateApiReply) ValidateAll() error
- type RelateApiReplyMultiError
- type RelateApiReplyValidationError
- func (e RelateApiReplyValidationError) Cause() error
- func (e RelateApiReplyValidationError) Error() string
- func (e RelateApiReplyValidationError) ErrorName() string
- func (e RelateApiReplyValidationError) Field() string
- func (e RelateApiReplyValidationError) Key() bool
- func (e RelateApiReplyValidationError) Reason() string
- type RelateApiRequest
- func (*RelateApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelateApiRequest) GetApiIds() []uint32
- func (x *RelateApiRequest) GetId() uint32
- func (*RelateApiRequest) ProtoMessage()
- func (x *RelateApiRequest) ProtoReflect() protoreflect.Message
- func (x *RelateApiRequest) Reset()
- func (x *RelateApiRequest) String() string
- func (m *RelateApiRequest) Validate() error
- func (m *RelateApiRequest) ValidateAll() error
- type RelateApiRequestMultiError
- type RelateApiRequestValidationError
- func (e RelateApiRequestValidationError) Cause() error
- func (e RelateApiRequestValidationError) Error() string
- func (e RelateApiRequestValidationError) ErrorName() string
- func (e RelateApiRequestValidationError) Field() string
- func (e RelateApiRequestValidationError) Key() bool
- func (e RelateApiRequestValidationError) Reason() string
- type RelateRolesReply
- func (*RelateRolesReply) Descriptor() ([]byte, []int)deprecated
- func (x *RelateRolesReply) GetId() uint32
- func (*RelateRolesReply) ProtoMessage()
- func (x *RelateRolesReply) ProtoReflect() protoreflect.Message
- func (x *RelateRolesReply) Reset()
- func (x *RelateRolesReply) String() string
- func (m *RelateRolesReply) Validate() error
- func (m *RelateRolesReply) ValidateAll() error
- type RelateRolesReplyMultiError
- type RelateRolesReplyValidationError
- func (e RelateRolesReplyValidationError) Cause() error
- func (e RelateRolesReplyValidationError) Error() string
- func (e RelateRolesReplyValidationError) ErrorName() string
- func (e RelateRolesReplyValidationError) Field() string
- func (e RelateRolesReplyValidationError) Key() bool
- func (e RelateRolesReplyValidationError) Reason() string
- type RelateRolesRequest
- func (*RelateRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelateRolesRequest) GetId() uint32
- func (x *RelateRolesRequest) GetRoleIds() []uint32
- func (*RelateRolesRequest) ProtoMessage()
- func (x *RelateRolesRequest) ProtoReflect() protoreflect.Message
- func (x *RelateRolesRequest) Reset()
- func (x *RelateRolesRequest) String() string
- func (m *RelateRolesRequest) Validate() error
- func (m *RelateRolesRequest) ValidateAll() error
- type RelateRolesRequestMultiError
- type RelateRolesRequestValidationError
- func (e RelateRolesRequestValidationError) Cause() error
- func (e RelateRolesRequestValidationError) Error() string
- func (e RelateRolesRequestValidationError) ErrorName() string
- func (e RelateRolesRequestValidationError) Field() string
- func (e RelateRolesRequestValidationError) Key() bool
- func (e RelateRolesRequestValidationError) Reason() string
- type RoleClient
- type RoleHTTPClient
- type RoleHTTPClientImpl
- func (c *RoleHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...http.CallOption) (*CreateRoleReply, error)
- func (c *RoleHTTPClientImpl) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...http.CallOption) (*DeleteRoleReply, error)
- func (c *RoleHTTPClientImpl) EditRoleStatus(ctx context.Context, in *EditRoleStatusRequest, opts ...http.CallOption) (*EditRoleStatusReply, error)
- func (c *RoleHTTPClientImpl) GetRole(ctx context.Context, in *GetRoleRequest, opts ...http.CallOption) (*GetRoleReply, error)
- func (c *RoleHTTPClientImpl) ListRole(ctx context.Context, in *ListRoleRequest, opts ...http.CallOption) (*ListRoleReply, error)
- func (c *RoleHTTPClientImpl) RelateApi(ctx context.Context, in *RelateApiRequest, opts ...http.CallOption) (*RelateApiReply, error)
- func (c *RoleHTTPClientImpl) SelectRole(ctx context.Context, in *SelectRoleRequest, opts ...http.CallOption) (*SelectRoleReply, error)
- func (c *RoleHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*UpdateRoleReply, error)
- type RoleHTTPServer
- type RoleServer
- type SelectApiReply
- func (*SelectApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectApiReply) GetList() []*api.ApiSelectV1
- func (x *SelectApiReply) GetPage() *api.PageReply
- func (*SelectApiReply) ProtoMessage()
- func (x *SelectApiReply) ProtoReflect() protoreflect.Message
- func (x *SelectApiReply) Reset()
- func (x *SelectApiReply) String() string
- func (m *SelectApiReply) Validate() error
- func (m *SelectApiReply) ValidateAll() error
- type SelectApiReplyMultiError
- type SelectApiReplyValidationError
- func (e SelectApiReplyValidationError) Cause() error
- func (e SelectApiReplyValidationError) Error() string
- func (e SelectApiReplyValidationError) ErrorName() string
- func (e SelectApiReplyValidationError) Field() string
- func (e SelectApiReplyValidationError) Key() bool
- func (e SelectApiReplyValidationError) Reason() string
- type SelectApiRequest
- func (*SelectApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectApiRequest) GetKeyword() string
- func (x *SelectApiRequest) GetPage() *api.PageRequest
- func (x *SelectApiRequest) GetStatus() api.Status
- func (*SelectApiRequest) ProtoMessage()
- func (x *SelectApiRequest) ProtoReflect() protoreflect.Message
- func (x *SelectApiRequest) Reset()
- func (x *SelectApiRequest) String() string
- func (m *SelectApiRequest) Validate() error
- func (m *SelectApiRequest) ValidateAll() error
- type SelectApiRequestMultiError
- type SelectApiRequestValidationError
- func (e SelectApiRequestValidationError) Cause() error
- func (e SelectApiRequestValidationError) Error() string
- func (e SelectApiRequestValidationError) ErrorName() string
- func (e SelectApiRequestValidationError) Field() string
- func (e SelectApiRequestValidationError) Key() bool
- func (e SelectApiRequestValidationError) Reason() string
- type SelectDictReply
- func (*SelectDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectDictReply) GetList() []*api.DictSelectV1
- func (x *SelectDictReply) GetPage() *api.PageReply
- func (*SelectDictReply) ProtoMessage()
- func (x *SelectDictReply) ProtoReflect() protoreflect.Message
- func (x *SelectDictReply) Reset()
- func (x *SelectDictReply) String() string
- func (m *SelectDictReply) Validate() error
- func (m *SelectDictReply) ValidateAll() error
- type SelectDictReplyMultiError
- type SelectDictReplyValidationError
- func (e SelectDictReplyValidationError) Cause() error
- func (e SelectDictReplyValidationError) Error() string
- func (e SelectDictReplyValidationError) ErrorName() string
- func (e SelectDictReplyValidationError) Field() string
- func (e SelectDictReplyValidationError) Key() bool
- func (e SelectDictReplyValidationError) Reason() string
- type SelectDictRequest
- func (*SelectDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectDictRequest) GetCategory() api.Category
- func (x *SelectDictRequest) GetIsDeleted() bool
- func (x *SelectDictRequest) GetKeyword() string
- func (x *SelectDictRequest) GetPage() *api.PageRequest
- func (x *SelectDictRequest) GetStatus() api.Status
- func (*SelectDictRequest) ProtoMessage()
- func (x *SelectDictRequest) ProtoReflect() protoreflect.Message
- func (x *SelectDictRequest) Reset()
- func (x *SelectDictRequest) String() string
- func (m *SelectDictRequest) Validate() error
- func (m *SelectDictRequest) ValidateAll() error
- type SelectDictRequestMultiError
- type SelectDictRequestValidationError
- func (e SelectDictRequestValidationError) Cause() error
- func (e SelectDictRequestValidationError) Error() string
- func (e SelectDictRequestValidationError) ErrorName() string
- func (e SelectDictRequestValidationError) Field() string
- func (e SelectDictRequestValidationError) Key() bool
- func (e SelectDictRequestValidationError) Reason() string
- type SelectRoleReply
- func (*SelectRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectRoleReply) GetList() []*api.RoleSelectV1
- func (x *SelectRoleReply) GetPage() *api.PageReply
- func (*SelectRoleReply) ProtoMessage()
- func (x *SelectRoleReply) ProtoReflect() protoreflect.Message
- func (x *SelectRoleReply) Reset()
- func (x *SelectRoleReply) String() string
- func (m *SelectRoleReply) Validate() error
- func (m *SelectRoleReply) ValidateAll() error
- type SelectRoleReplyMultiError
- type SelectRoleReplyValidationError
- func (e SelectRoleReplyValidationError) Cause() error
- func (e SelectRoleReplyValidationError) Error() string
- func (e SelectRoleReplyValidationError) ErrorName() string
- func (e SelectRoleReplyValidationError) Field() string
- func (e SelectRoleReplyValidationError) Key() bool
- func (e SelectRoleReplyValidationError) Reason() string
- type SelectRoleRequest
- func (*SelectRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectRoleRequest) GetKeyword() string
- func (x *SelectRoleRequest) GetPage() *api.PageRequest
- func (x *SelectRoleRequest) GetStatus() api.Status
- func (x *SelectRoleRequest) GetUserId() uint32
- func (*SelectRoleRequest) ProtoMessage()
- func (x *SelectRoleRequest) ProtoReflect() protoreflect.Message
- func (x *SelectRoleRequest) Reset()
- func (x *SelectRoleRequest) String() string
- func (m *SelectRoleRequest) Validate() error
- func (m *SelectRoleRequest) ValidateAll() error
- type SelectRoleRequestMultiError
- type SelectRoleRequestValidationError
- func (e SelectRoleRequestValidationError) Cause() error
- func (e SelectRoleRequestValidationError) Error() string
- func (e SelectRoleRequestValidationError) ErrorName() string
- func (e SelectRoleRequestValidationError) Field() string
- func (e SelectRoleRequestValidationError) Key() bool
- func (e SelectRoleRequestValidationError) Reason() string
- type SelectUserReply
- func (*SelectUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectUserReply) GetList() []*api.UserSelectV1
- func (x *SelectUserReply) GetPage() *api.PageReply
- func (*SelectUserReply) ProtoMessage()
- func (x *SelectUserReply) ProtoReflect() protoreflect.Message
- func (x *SelectUserReply) Reset()
- func (x *SelectUserReply) String() string
- func (m *SelectUserReply) Validate() error
- func (m *SelectUserReply) ValidateAll() error
- type SelectUserReplyMultiError
- type SelectUserReplyValidationError
- func (e SelectUserReplyValidationError) Cause() error
- func (e SelectUserReplyValidationError) Error() string
- func (e SelectUserReplyValidationError) ErrorName() string
- func (e SelectUserReplyValidationError) Field() string
- func (e SelectUserReplyValidationError) Key() bool
- func (e SelectUserReplyValidationError) Reason() string
- type SelectUserRequest
- func (*SelectUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectUserRequest) GetKeyword() string
- func (x *SelectUserRequest) GetPage() *api.PageRequest
- func (x *SelectUserRequest) GetStatus() api.Status
- func (*SelectUserRequest) ProtoMessage()
- func (x *SelectUserRequest) ProtoReflect() protoreflect.Message
- func (x *SelectUserRequest) Reset()
- func (x *SelectUserRequest) String() string
- func (m *SelectUserRequest) Validate() error
- func (m *SelectUserRequest) ValidateAll() error
- type SelectUserRequestMultiError
- type SelectUserRequestValidationError
- func (e SelectUserRequestValidationError) Cause() error
- func (e SelectUserRequestValidationError) Error() string
- func (e SelectUserRequestValidationError) ErrorName() string
- func (e SelectUserRequestValidationError) Field() string
- func (e SelectUserRequestValidationError) Key() bool
- func (e SelectUserRequestValidationError) Reason() string
- type SyslogClient
- type SyslogHTTPClient
- type SyslogHTTPClientImpl
- type SyslogHTTPServer
- type SyslogServer
- type UnimplementedApiServer
- func (UnimplementedApiServer) AuthorizeApi(context.Context, *AuthorizeApiRequest) (*AuthorizeApiReply, error)
- func (UnimplementedApiServer) CreateApi(context.Context, *CreateApiRequest) (*CreateApiReply, error)
- func (UnimplementedApiServer) DeleteApi(context.Context, *DeleteApiRequest) (*DeleteApiReply, error)
- func (UnimplementedApiServer) EditApiStatus(context.Context, *EditApiStatusRequest) (*EditApiStatusReply, error)
- func (UnimplementedApiServer) GetApi(context.Context, *GetApiRequest) (*GetApiReply, error)
- func (UnimplementedApiServer) GetApiTree(context.Context, *GetApiTreeRequest) (*GetApiTreeReply, error)
- func (UnimplementedApiServer) ListApi(context.Context, *ListApiRequest) (*ListApiReply, error)
- func (UnimplementedApiServer) SelectApi(context.Context, *SelectApiRequest) (*SelectApiReply, error)
- func (UnimplementedApiServer) UpdateApi(context.Context, *UpdateApiRequest) (*UpdateApiReply, error)
- type UnimplementedDictServer
- func (UnimplementedDictServer) BatchDeleteDict(context.Context, *BatchDeleteDictRequest) (*BatchDeleteDictReply, error)
- func (UnimplementedDictServer) BatchUpdateDictStatus(context.Context, *BatchUpdateDictStatusRequest) (*BatchUpdateDictStatusReply, error)
- func (UnimplementedDictServer) CountAlarmPage(context.Context, *CountAlarmPageRequest) (*CountAlarmPageReply, error)
- func (UnimplementedDictServer) CreateDict(context.Context, *CreateDictRequest) (*CreateDictReply, error)
- func (UnimplementedDictServer) DeleteDict(context.Context, *DeleteDictRequest) (*DeleteDictReply, error)
- func (UnimplementedDictServer) GetDict(context.Context, *GetDictRequest) (*GetDictReply, error)
- func (UnimplementedDictServer) ListDict(context.Context, *ListDictRequest) (*ListDictReply, error)
- func (UnimplementedDictServer) ListMyAlarmPage(context.Context, *ListMyAlarmPageRequest) (*ListMyAlarmPageReply, error)
- func (UnimplementedDictServer) MyAlarmPagesConfig(context.Context, *MyAlarmPagesConfigRequest) (*MyAlarmPagesConfigReply, error)
- func (UnimplementedDictServer) SelectDict(context.Context, *SelectDictRequest) (*SelectDictReply, error)
- func (UnimplementedDictServer) UpdateDict(context.Context, *UpdateDictRequest) (*UpdateDictReply, error)
- type UnimplementedRoleServer
- func (UnimplementedRoleServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleReply, error)
- func (UnimplementedRoleServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleReply, error)
- func (UnimplementedRoleServer) EditRoleStatus(context.Context, *EditRoleStatusRequest) (*EditRoleStatusReply, error)
- func (UnimplementedRoleServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error)
- func (UnimplementedRoleServer) ListRole(context.Context, *ListRoleRequest) (*ListRoleReply, error)
- func (UnimplementedRoleServer) RelateApi(context.Context, *RelateApiRequest) (*RelateApiReply, error)
- func (UnimplementedRoleServer) SelectRole(context.Context, *SelectRoleRequest) (*SelectRoleReply, error)
- func (UnimplementedRoleServer) UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleReply, error)
- type UnimplementedSyslogServer
- type UnimplementedUserServer
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
- func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
- func (UnimplementedUserServer) EditUserPassword(context.Context, *EditUserPasswordRequest) (*EditUserPasswordReply, error)
- func (UnimplementedUserServer) EditUserStatus(context.Context, *EditUserStatusRequest) (*EditUserStatusReply, error)
- func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
- func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
- func (UnimplementedUserServer) RelateRoles(context.Context, *RelateRolesRequest) (*RelateRolesReply, error)
- func (UnimplementedUserServer) SelectUser(context.Context, *SelectUserRequest) (*SelectUserReply, error)
- func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
- type UnsafeApiServer
- type UnsafeDictServer
- type UnsafeRoleServer
- type UnsafeSyslogServer
- type UnsafeUserServer
- type UpdateApiReply
- func (*UpdateApiReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiReply) GetId() uint32
- func (*UpdateApiReply) ProtoMessage()
- func (x *UpdateApiReply) ProtoReflect() protoreflect.Message
- func (x *UpdateApiReply) Reset()
- func (x *UpdateApiReply) String() string
- func (m *UpdateApiReply) Validate() error
- func (m *UpdateApiReply) ValidateAll() error
- type UpdateApiReplyMultiError
- type UpdateApiReplyValidationError
- func (e UpdateApiReplyValidationError) Cause() error
- func (e UpdateApiReplyValidationError) Error() string
- func (e UpdateApiReplyValidationError) ErrorName() string
- func (e UpdateApiReplyValidationError) Field() string
- func (e UpdateApiReplyValidationError) Key() bool
- func (e UpdateApiReplyValidationError) Reason() string
- type UpdateApiRequest
- func (*UpdateApiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiRequest) GetDomain() api.DomainType
- func (x *UpdateApiRequest) GetId() uint32
- func (x *UpdateApiRequest) GetMethod() string
- func (x *UpdateApiRequest) GetModule() api.ModuleType
- func (x *UpdateApiRequest) GetName() string
- func (x *UpdateApiRequest) GetPath() string
- func (x *UpdateApiRequest) GetRemark() string
- func (x *UpdateApiRequest) GetStatus() api.Status
- func (*UpdateApiRequest) ProtoMessage()
- func (x *UpdateApiRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateApiRequest) Reset()
- func (x *UpdateApiRequest) String() string
- func (m *UpdateApiRequest) Validate() error
- func (m *UpdateApiRequest) ValidateAll() error
- type UpdateApiRequestMultiError
- type UpdateApiRequestValidationError
- func (e UpdateApiRequestValidationError) Cause() error
- func (e UpdateApiRequestValidationError) Error() string
- func (e UpdateApiRequestValidationError) ErrorName() string
- func (e UpdateApiRequestValidationError) Field() string
- func (e UpdateApiRequestValidationError) Key() bool
- func (e UpdateApiRequestValidationError) Reason() string
- type UpdateDictReply
- func (*UpdateDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDictReply) GetId() uint32
- func (*UpdateDictReply) ProtoMessage()
- func (x *UpdateDictReply) ProtoReflect() protoreflect.Message
- func (x *UpdateDictReply) Reset()
- func (x *UpdateDictReply) String() string
- func (m *UpdateDictReply) Validate() error
- func (m *UpdateDictReply) ValidateAll() error
- type UpdateDictReplyMultiError
- type UpdateDictReplyValidationError
- func (e UpdateDictReplyValidationError) Cause() error
- func (e UpdateDictReplyValidationError) Error() string
- func (e UpdateDictReplyValidationError) ErrorName() string
- func (e UpdateDictReplyValidationError) Field() string
- func (e UpdateDictReplyValidationError) Key() bool
- func (e UpdateDictReplyValidationError) Reason() string
- type UpdateDictRequest
- func (*UpdateDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDictRequest) GetCategory() api.Category
- func (x *UpdateDictRequest) GetColor() string
- func (x *UpdateDictRequest) GetId() uint32
- func (x *UpdateDictRequest) GetName() string
- func (x *UpdateDictRequest) GetRemark() string
- func (x *UpdateDictRequest) GetStatus() api.Status
- func (*UpdateDictRequest) ProtoMessage()
- func (x *UpdateDictRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDictRequest) Reset()
- func (x *UpdateDictRequest) String() string
- func (m *UpdateDictRequest) Validate() error
- func (m *UpdateDictRequest) ValidateAll() error
- type UpdateDictRequestMultiError
- type UpdateDictRequestValidationError
- func (e UpdateDictRequestValidationError) Cause() error
- func (e UpdateDictRequestValidationError) Error() string
- func (e UpdateDictRequestValidationError) ErrorName() string
- func (e UpdateDictRequestValidationError) Field() string
- func (e UpdateDictRequestValidationError) Key() bool
- func (e UpdateDictRequestValidationError) Reason() string
- type UpdateRoleReply
- func (*UpdateRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleReply) GetId() uint32
- func (*UpdateRoleReply) ProtoMessage()
- func (x *UpdateRoleReply) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleReply) Reset()
- func (x *UpdateRoleReply) String() string
- func (m *UpdateRoleReply) Validate() error
- func (m *UpdateRoleReply) ValidateAll() error
- type UpdateRoleReplyMultiError
- type UpdateRoleReplyValidationError
- func (e UpdateRoleReplyValidationError) Cause() error
- func (e UpdateRoleReplyValidationError) Error() string
- func (e UpdateRoleReplyValidationError) ErrorName() string
- func (e UpdateRoleReplyValidationError) Field() string
- func (e UpdateRoleReplyValidationError) Key() bool
- func (e UpdateRoleReplyValidationError) Reason() string
- type UpdateRoleRequest
- func (*UpdateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleRequest) GetId() uint32
- func (x *UpdateRoleRequest) GetName() string
- func (x *UpdateRoleRequest) GetRemark() string
- func (x *UpdateRoleRequest) GetStatus() api.Status
- func (*UpdateRoleRequest) ProtoMessage()
- func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleRequest) Reset()
- func (x *UpdateRoleRequest) String() string
- func (m *UpdateRoleRequest) Validate() error
- func (m *UpdateRoleRequest) ValidateAll() error
- type UpdateRoleRequestMultiError
- type UpdateRoleRequestValidationError
- func (e UpdateRoleRequestValidationError) Cause() error
- func (e UpdateRoleRequestValidationError) Error() string
- func (e UpdateRoleRequestValidationError) ErrorName() string
- func (e UpdateRoleRequestValidationError) Field() string
- func (e UpdateRoleRequestValidationError) Key() bool
- func (e UpdateRoleRequestValidationError) Reason() string
- type UpdateUserReply
- func (*UpdateUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserReply) GetId() uint32
- func (*UpdateUserReply) ProtoMessage()
- func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReply) Reset()
- func (x *UpdateUserReply) String() string
- func (m *UpdateUserReply) Validate() error
- func (m *UpdateUserReply) ValidateAll() error
- type UpdateUserReplyMultiError
- type UpdateUserReplyValidationError
- func (e UpdateUserReplyValidationError) Cause() error
- func (e UpdateUserReplyValidationError) Error() string
- func (e UpdateUserReplyValidationError) ErrorName() string
- func (e UpdateUserReplyValidationError) Field() string
- func (e UpdateUserReplyValidationError) Key() bool
- func (e UpdateUserReplyValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAvatar() string
- func (x *UpdateUserRequest) GetGender() api.Gender
- func (x *UpdateUserRequest) GetId() uint32
- func (x *UpdateUserRequest) GetNickname() string
- func (x *UpdateUserRequest) GetRemark() string
- func (x *UpdateUserRequest) GetRoleIds() []uint32
- func (x *UpdateUserRequest) GetStatus() api.Status
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UserClient
- type UserHTTPClient
- type UserHTTPClientImpl
- func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
- func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserReply, error)
- func (c *UserHTTPClientImpl) EditUserPassword(ctx context.Context, in *EditUserPasswordRequest, opts ...http.CallOption) (*EditUserPasswordReply, error)
- func (c *UserHTTPClientImpl) EditUserStatus(ctx context.Context, in *EditUserStatusRequest, opts ...http.CallOption) (*EditUserStatusReply, error)
- func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
- func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
- func (c *UserHTTPClientImpl) RelateRoles(ctx context.Context, in *RelateRolesRequest, opts ...http.CallOption) (*RelateRolesReply, error)
- func (c *UserHTTPClientImpl) SelectUser(ctx context.Context, in *SelectUserRequest, opts ...http.CallOption) (*SelectUserReply, error)
- func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
- type UserHTTPServer
- type UserServer
Constants ¶
const ( Api_CreateApi_FullMethodName = "/api.server.system.Api/CreateApi" Api_UpdateApi_FullMethodName = "/api.server.system.Api/UpdateApi" Api_DeleteApi_FullMethodName = "/api.server.system.Api/DeleteApi" Api_GetApi_FullMethodName = "/api.server.system.Api/GetApi" Api_ListApi_FullMethodName = "/api.server.system.Api/ListApi" Api_SelectApi_FullMethodName = "/api.server.system.Api/SelectApi" Api_EditApiStatus_FullMethodName = "/api.server.system.Api/EditApiStatus" Api_GetApiTree_FullMethodName = "/api.server.system.Api/GetApiTree" Api_AuthorizeApi_FullMethodName = "/api.server.system.Api/AuthorizeApi" )
const ( Dict_CreateDict_FullMethodName = "/api.server.system.Dict/CreateDict" Dict_UpdateDict_FullMethodName = "/api.server.system.Dict/UpdateDict" Dict_BatchUpdateDictStatus_FullMethodName = "/api.server.system.Dict/BatchUpdateDictStatus" Dict_DeleteDict_FullMethodName = "/api.server.system.Dict/DeleteDict" Dict_BatchDeleteDict_FullMethodName = "/api.server.system.Dict/BatchDeleteDict" Dict_GetDict_FullMethodName = "/api.server.system.Dict/GetDict" Dict_ListDict_FullMethodName = "/api.server.system.Dict/ListDict" Dict_SelectDict_FullMethodName = "/api.server.system.Dict/SelectDict" Dict_CountAlarmPage_FullMethodName = "/api.server.system.Dict/CountAlarmPage" Dict_ListMyAlarmPage_FullMethodName = "/api.server.system.Dict/ListMyAlarmPage" Dict_MyAlarmPagesConfig_FullMethodName = "/api.server.system.Dict/MyAlarmPagesConfig" )
const ( Role_CreateRole_FullMethodName = "/api.system.Role/CreateRole" Role_UpdateRole_FullMethodName = "/api.system.Role/UpdateRole" Role_DeleteRole_FullMethodName = "/api.system.Role/DeleteRole" Role_GetRole_FullMethodName = "/api.system.Role/GetRole" Role_ListRole_FullMethodName = "/api.system.Role/ListRole" Role_SelectRole_FullMethodName = "/api.system.Role/SelectRole" Role_RelateApi_FullMethodName = "/api.system.Role/RelateApi" Role_EditRoleStatus_FullMethodName = "/api.system.Role/EditRoleStatus" )
const ( User_CreateUser_FullMethodName = "/api.system.User/CreateUser" User_UpdateUser_FullMethodName = "/api.system.User/UpdateUser" User_DeleteUser_FullMethodName = "/api.system.User/DeleteUser" User_GetUser_FullMethodName = "/api.system.User/GetUser" User_ListUser_FullMethodName = "/api.system.User/ListUser" User_SelectUser_FullMethodName = "/api.system.User/SelectUser" User_EditUserPassword_FullMethodName = "/api.system.User/EditUserPassword" User_EditUserStatus_FullMethodName = "/api.system.User/EditUserStatus" User_RelateRoles_FullMethodName = "/api.system.User/RelateRoles" )
const OperationApiAuthorizeApi = "/api.server.system.Api/AuthorizeApi"
const OperationApiCreateApi = "/api.server.system.Api/CreateApi"
const OperationApiDeleteApi = "/api.server.system.Api/DeleteApi"
const OperationApiEditApiStatus = "/api.server.system.Api/EditApiStatus"
const OperationApiGetApi = "/api.server.system.Api/GetApi"
const OperationApiGetApiTree = "/api.server.system.Api/GetApiTree"
const OperationApiListApi = "/api.server.system.Api/ListApi"
const OperationApiSelectApi = "/api.server.system.Api/SelectApi"
const OperationApiUpdateApi = "/api.server.system.Api/UpdateApi"
const OperationDictBatchDeleteDict = "/api.server.system.Dict/BatchDeleteDict"
const OperationDictBatchUpdateDictStatus = "/api.server.system.Dict/BatchUpdateDictStatus"
const OperationDictCountAlarmPage = "/api.server.system.Dict/CountAlarmPage"
const OperationDictCreateDict = "/api.server.system.Dict/CreateDict"
const OperationDictDeleteDict = "/api.server.system.Dict/DeleteDict"
const OperationDictGetDict = "/api.server.system.Dict/GetDict"
const OperationDictListDict = "/api.server.system.Dict/ListDict"
const OperationDictListMyAlarmPage = "/api.server.system.Dict/ListMyAlarmPage"
const OperationDictMyAlarmPagesConfig = "/api.server.system.Dict/MyAlarmPagesConfig"
const OperationDictSelectDict = "/api.server.system.Dict/SelectDict"
const OperationDictUpdateDict = "/api.server.system.Dict/UpdateDict"
const OperationRoleCreateRole = "/api.system.Role/CreateRole"
const OperationRoleDeleteRole = "/api.system.Role/DeleteRole"
const OperationRoleEditRoleStatus = "/api.system.Role/EditRoleStatus"
const OperationRoleGetRole = "/api.system.Role/GetRole"
const OperationRoleListRole = "/api.system.Role/ListRole"
const OperationRoleRelateApi = "/api.system.Role/RelateApi"
const OperationRoleSelectRole = "/api.system.Role/SelectRole"
const OperationRoleUpdateRole = "/api.system.Role/UpdateRole"
const OperationSyslogListSyslog = "/api.system.Syslog/ListSyslog"
const OperationUserCreateUser = "/api.system.User/CreateUser"
const OperationUserDeleteUser = "/api.system.User/DeleteUser"
const OperationUserEditUserPassword = "/api.system.User/EditUserPassword"
const OperationUserEditUserStatus = "/api.system.User/EditUserStatus"
const OperationUserGetUser = "/api.system.User/GetUser"
const OperationUserListUser = "/api.system.User/ListUser"
const OperationUserRelateRoles = "/api.system.User/RelateRoles"
const OperationUserSelectUser = "/api.system.User/SelectUser"
const OperationUserUpdateUser = "/api.system.User/UpdateUser"
const (
Syslog_ListSyslog_FullMethodName = "/api.system.Syslog/ListSyslog"
)
Variables ¶
var Api_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.system.Api", HandlerType: (*ApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateApi", Handler: _Api_CreateApi_Handler, }, { MethodName: "UpdateApi", Handler: _Api_UpdateApi_Handler, }, { MethodName: "DeleteApi", Handler: _Api_DeleteApi_Handler, }, { MethodName: "GetApi", Handler: _Api_GetApi_Handler, }, { MethodName: "ListApi", Handler: _Api_ListApi_Handler, }, { MethodName: "SelectApi", Handler: _Api_SelectApi_Handler, }, { MethodName: "EditApiStatus", Handler: _Api_EditApiStatus_Handler, }, { MethodName: "GetApiTree", Handler: _Api_GetApiTree_Handler, }, { MethodName: "AuthorizeApi", Handler: _Api_AuthorizeApi_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/system/api.proto", }
Api_ServiceDesc is the grpc.ServiceDesc for Api service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Dict_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.system.Dict", HandlerType: (*DictServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDict", Handler: _Dict_CreateDict_Handler, }, { MethodName: "UpdateDict", Handler: _Dict_UpdateDict_Handler, }, { MethodName: "BatchUpdateDictStatus", Handler: _Dict_BatchUpdateDictStatus_Handler, }, { MethodName: "DeleteDict", Handler: _Dict_DeleteDict_Handler, }, { MethodName: "BatchDeleteDict", Handler: _Dict_BatchDeleteDict_Handler, }, { MethodName: "GetDict", Handler: _Dict_GetDict_Handler, }, { MethodName: "ListDict", Handler: _Dict_ListDict_Handler, }, { MethodName: "SelectDict", Handler: _Dict_SelectDict_Handler, }, { MethodName: "CountAlarmPage", Handler: _Dict_CountAlarmPage_Handler, }, { MethodName: "ListMyAlarmPage", Handler: _Dict_ListMyAlarmPage_Handler, }, { MethodName: "MyAlarmPagesConfig", Handler: _Dict_MyAlarmPagesConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/system/dict.proto", }
Dict_ServiceDesc is the grpc.ServiceDesc for Dict service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_server_system_api_proto protoreflect.FileDescriptor
var File_server_system_dict_proto protoreflect.FileDescriptor
var File_server_system_role_proto protoreflect.FileDescriptor
var File_server_system_syslog_proto protoreflect.FileDescriptor
var File_server_system_user_proto protoreflect.FileDescriptor
var Role_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.system.Role", HandlerType: (*RoleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRole", Handler: _Role_CreateRole_Handler, }, { MethodName: "UpdateRole", Handler: _Role_UpdateRole_Handler, }, { MethodName: "DeleteRole", Handler: _Role_DeleteRole_Handler, }, { MethodName: "GetRole", Handler: _Role_GetRole_Handler, }, { MethodName: "ListRole", Handler: _Role_ListRole_Handler, }, { MethodName: "SelectRole", Handler: _Role_SelectRole_Handler, }, { MethodName: "RelateApi", Handler: _Role_RelateApi_Handler, }, { MethodName: "EditRoleStatus", Handler: _Role_EditRoleStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/system/role.proto", }
Role_ServiceDesc is the grpc.ServiceDesc for Role service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Syslog_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.system.Syslog", HandlerType: (*SyslogServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListSyslog", Handler: _Syslog_ListSyslog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/system/syslog.proto", }
Syslog_ServiceDesc is the grpc.ServiceDesc for Syslog service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.system.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _User_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _User_DeleteUser_Handler, }, { MethodName: "GetUser", Handler: _User_GetUser_Handler, }, { MethodName: "ListUser", Handler: _User_ListUser_Handler, }, { MethodName: "SelectUser", Handler: _User_SelectUser_Handler, }, { MethodName: "EditUserPassword", Handler: _User_EditUserPassword_Handler, }, { MethodName: "EditUserStatus", Handler: _User_EditUserStatus_Handler, }, { MethodName: "RelateRoles", Handler: _User_RelateRoles_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/system/user.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterApiHTTPServer ¶
func RegisterApiHTTPServer(s *http.Server, srv ApiHTTPServer)
func RegisterApiServer ¶
func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)
func RegisterDictHTTPServer ¶
func RegisterDictHTTPServer(s *http.Server, srv DictHTTPServer)
func RegisterDictServer ¶
func RegisterDictServer(s grpc.ServiceRegistrar, srv DictServer)
func RegisterRoleHTTPServer ¶
func RegisterRoleHTTPServer(s *http.Server, srv RoleHTTPServer)
func RegisterRoleServer ¶
func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)
func RegisterSyslogHTTPServer ¶
func RegisterSyslogHTTPServer(s *http.Server, srv SyslogHTTPServer)
func RegisterSyslogServer ¶
func RegisterSyslogServer(s grpc.ServiceRegistrar, srv SyslogServer)
func RegisterUserHTTPServer ¶
func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type ApiClient ¶
type ApiClient interface { // 创建API数据 CreateApi(ctx context.Context, in *CreateApiRequest, opts ...grpc.CallOption) (*CreateApiReply, error) // 更新API数据 UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...grpc.CallOption) (*UpdateApiReply, error) // 删除API数据 DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...grpc.CallOption) (*DeleteApiReply, error) // 获取API数据 GetApi(ctx context.Context, in *GetApiRequest, opts ...grpc.CallOption) (*GetApiReply, error) // 获取API列表 ListApi(ctx context.Context, in *ListApiRequest, opts ...grpc.CallOption) (*ListApiReply, error) // 获取API下拉列表 SelectApi(ctx context.Context, in *SelectApiRequest, opts ...grpc.CallOption) (*SelectApiReply, error) // 修改API状态 EditApiStatus(ctx context.Context, in *EditApiStatusRequest, opts ...grpc.CallOption) (*EditApiStatusReply, error) // 获取API权限树 GetApiTree(ctx context.Context, in *GetApiTreeRequest, opts ...grpc.CallOption) (*GetApiTreeReply, error) // 授权数据权限 AuthorizeApi(ctx context.Context, in *AuthorizeApiRequest, opts ...grpc.CallOption) (*AuthorizeApiReply, error) }
ApiClient is the client API for Api 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 NewApiClient ¶
func NewApiClient(cc grpc.ClientConnInterface) ApiClient
type ApiHTTPClient ¶
type ApiHTTPClient interface { AuthorizeApi(ctx context.Context, req *AuthorizeApiRequest, opts ...http.CallOption) (rsp *AuthorizeApiReply, err error) CreateApi(ctx context.Context, req *CreateApiRequest, opts ...http.CallOption) (rsp *CreateApiReply, err error) DeleteApi(ctx context.Context, req *DeleteApiRequest, opts ...http.CallOption) (rsp *DeleteApiReply, err error) EditApiStatus(ctx context.Context, req *EditApiStatusRequest, opts ...http.CallOption) (rsp *EditApiStatusReply, err error) GetApi(ctx context.Context, req *GetApiRequest, opts ...http.CallOption) (rsp *GetApiReply, err error) GetApiTree(ctx context.Context, req *GetApiTreeRequest, opts ...http.CallOption) (rsp *GetApiTreeReply, err error) ListApi(ctx context.Context, req *ListApiRequest, opts ...http.CallOption) (rsp *ListApiReply, err error) SelectApi(ctx context.Context, req *SelectApiRequest, opts ...http.CallOption) (rsp *SelectApiReply, err error) UpdateApi(ctx context.Context, req *UpdateApiRequest, opts ...http.CallOption) (rsp *UpdateApiReply, err error) }
func NewApiHTTPClient ¶
func NewApiHTTPClient(client *http.Client) ApiHTTPClient
type ApiHTTPClientImpl ¶
type ApiHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ApiHTTPClientImpl) AuthorizeApi ¶
func (c *ApiHTTPClientImpl) AuthorizeApi(ctx context.Context, in *AuthorizeApiRequest, opts ...http.CallOption) (*AuthorizeApiReply, error)
func (*ApiHTTPClientImpl) CreateApi ¶
func (c *ApiHTTPClientImpl) CreateApi(ctx context.Context, in *CreateApiRequest, opts ...http.CallOption) (*CreateApiReply, error)
func (*ApiHTTPClientImpl) DeleteApi ¶
func (c *ApiHTTPClientImpl) DeleteApi(ctx context.Context, in *DeleteApiRequest, opts ...http.CallOption) (*DeleteApiReply, error)
func (*ApiHTTPClientImpl) EditApiStatus ¶
func (c *ApiHTTPClientImpl) EditApiStatus(ctx context.Context, in *EditApiStatusRequest, opts ...http.CallOption) (*EditApiStatusReply, error)
func (*ApiHTTPClientImpl) GetApi ¶
func (c *ApiHTTPClientImpl) GetApi(ctx context.Context, in *GetApiRequest, opts ...http.CallOption) (*GetApiReply, error)
func (*ApiHTTPClientImpl) GetApiTree ¶
func (c *ApiHTTPClientImpl) GetApiTree(ctx context.Context, in *GetApiTreeRequest, opts ...http.CallOption) (*GetApiTreeReply, error)
func (*ApiHTTPClientImpl) ListApi ¶
func (c *ApiHTTPClientImpl) ListApi(ctx context.Context, in *ListApiRequest, opts ...http.CallOption) (*ListApiReply, error)
func (*ApiHTTPClientImpl) SelectApi ¶
func (c *ApiHTTPClientImpl) SelectApi(ctx context.Context, in *SelectApiRequest, opts ...http.CallOption) (*SelectApiReply, error)
func (*ApiHTTPClientImpl) UpdateApi ¶
func (c *ApiHTTPClientImpl) UpdateApi(ctx context.Context, in *UpdateApiRequest, opts ...http.CallOption) (*UpdateApiReply, error)
type ApiHTTPServer ¶
type ApiHTTPServer interface { // AuthorizeApi 授权数据权限 AuthorizeApi(context.Context, *AuthorizeApiRequest) (*AuthorizeApiReply, error) // CreateApi 创建API数据 CreateApi(context.Context, *CreateApiRequest) (*CreateApiReply, error) // DeleteApi 删除API数据 DeleteApi(context.Context, *DeleteApiRequest) (*DeleteApiReply, error) // EditApiStatus 修改API状态 EditApiStatus(context.Context, *EditApiStatusRequest) (*EditApiStatusReply, error) // GetApi 获取API数据 GetApi(context.Context, *GetApiRequest) (*GetApiReply, error) // GetApiTree 获取API权限树 GetApiTree(context.Context, *GetApiTreeRequest) (*GetApiTreeReply, error) // ListApi 获取API列表 ListApi(context.Context, *ListApiRequest) (*ListApiReply, error) // SelectApi 获取API下拉列表 SelectApi(context.Context, *SelectApiRequest) (*SelectApiReply, error) // UpdateApi 更新API数据 UpdateApi(context.Context, *UpdateApiRequest) (*UpdateApiReply, error) }
type ApiServer ¶
type ApiServer interface { // 创建API数据 CreateApi(context.Context, *CreateApiRequest) (*CreateApiReply, error) // 更新API数据 UpdateApi(context.Context, *UpdateApiRequest) (*UpdateApiReply, error) // 删除API数据 DeleteApi(context.Context, *DeleteApiRequest) (*DeleteApiReply, error) // 获取API数据 GetApi(context.Context, *GetApiRequest) (*GetApiReply, error) // 获取API列表 ListApi(context.Context, *ListApiRequest) (*ListApiReply, error) // 获取API下拉列表 SelectApi(context.Context, *SelectApiRequest) (*SelectApiReply, error) // 修改API状态 EditApiStatus(context.Context, *EditApiStatusRequest) (*EditApiStatusReply, error) // 获取API权限树 GetApiTree(context.Context, *GetApiTreeRequest) (*GetApiTreeReply, error) // 授权数据权限 AuthorizeApi(context.Context, *AuthorizeApiRequest) (*AuthorizeApiReply, error) // contains filtered or unexported methods }
ApiServer is the server API for Api service. All implementations must embed UnimplementedApiServer for forward compatibility
type AuthorizeApiReply ¶
type AuthorizeApiReply struct {
// contains filtered or unexported fields
}
func (*AuthorizeApiReply) Descriptor
deprecated
func (*AuthorizeApiReply) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeApiReply.ProtoReflect.Descriptor instead.
func (*AuthorizeApiReply) ProtoMessage ¶
func (*AuthorizeApiReply) ProtoMessage()
func (*AuthorizeApiReply) ProtoReflect ¶
func (x *AuthorizeApiReply) ProtoReflect() protoreflect.Message
func (*AuthorizeApiReply) Reset ¶
func (x *AuthorizeApiReply) Reset()
func (*AuthorizeApiReply) String ¶
func (x *AuthorizeApiReply) String() string
func (*AuthorizeApiReply) Validate ¶
func (m *AuthorizeApiReply) Validate() error
Validate checks the field values on AuthorizeApiReply 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 (*AuthorizeApiReply) ValidateAll ¶
func (m *AuthorizeApiReply) ValidateAll() error
ValidateAll checks the field values on AuthorizeApiReply 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 AuthorizeApiReplyMultiError, or nil if none found.
type AuthorizeApiReplyMultiError ¶
type AuthorizeApiReplyMultiError []error
AuthorizeApiReplyMultiError is an error wrapping multiple validation errors returned by AuthorizeApiReply.ValidateAll() if the designated constraints aren't met.
func (AuthorizeApiReplyMultiError) AllErrors ¶
func (m AuthorizeApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizeApiReplyMultiError) Error ¶
func (m AuthorizeApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizeApiReplyValidationError ¶
type AuthorizeApiReplyValidationError struct {
// contains filtered or unexported fields
}
AuthorizeApiReplyValidationError is the validation error returned by AuthorizeApiReply.Validate if the designated constraints aren't met.
func (AuthorizeApiReplyValidationError) Cause ¶
func (e AuthorizeApiReplyValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeApiReplyValidationError) Error ¶
func (e AuthorizeApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeApiReplyValidationError) ErrorName ¶
func (e AuthorizeApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeApiReplyValidationError) Field ¶
func (e AuthorizeApiReplyValidationError) Field() string
Field function returns field value.
func (AuthorizeApiReplyValidationError) Key ¶
func (e AuthorizeApiReplyValidationError) Key() bool
Key function returns key value.
func (AuthorizeApiReplyValidationError) Reason ¶
func (e AuthorizeApiReplyValidationError) Reason() string
Reason function returns reason value.
type AuthorizeApiRequest ¶
type AuthorizeApiRequest struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` ModelId uint32 `protobuf:"varint,2,opt,name=modelId,proto3" json:"modelId,omitempty"` UserIds []uint32 `protobuf:"varint,3,rep,packed,name=userIds,proto3" json:"userIds,omitempty"` RoleIds []uint32 `protobuf:"varint,4,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` Op api.Action `protobuf:"varint,5,opt,name=op,proto3,enum=api.Action" json:"op,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeApiRequest) Descriptor
deprecated
func (*AuthorizeApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeApiRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeApiRequest) GetModel ¶
func (x *AuthorizeApiRequest) GetModel() string
func (*AuthorizeApiRequest) GetModelId ¶
func (x *AuthorizeApiRequest) GetModelId() uint32
func (*AuthorizeApiRequest) GetOp ¶
func (x *AuthorizeApiRequest) GetOp() api.Action
func (*AuthorizeApiRequest) GetRoleIds ¶
func (x *AuthorizeApiRequest) GetRoleIds() []uint32
func (*AuthorizeApiRequest) GetUserIds ¶
func (x *AuthorizeApiRequest) GetUserIds() []uint32
func (*AuthorizeApiRequest) ProtoMessage ¶
func (*AuthorizeApiRequest) ProtoMessage()
func (*AuthorizeApiRequest) ProtoReflect ¶
func (x *AuthorizeApiRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeApiRequest) Reset ¶
func (x *AuthorizeApiRequest) Reset()
func (*AuthorizeApiRequest) String ¶
func (x *AuthorizeApiRequest) String() string
func (*AuthorizeApiRequest) Validate ¶
func (m *AuthorizeApiRequest) Validate() error
Validate checks the field values on AuthorizeApiRequest 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 (*AuthorizeApiRequest) ValidateAll ¶
func (m *AuthorizeApiRequest) ValidateAll() error
ValidateAll checks the field values on AuthorizeApiRequest 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 AuthorizeApiRequestMultiError, or nil if none found.
type AuthorizeApiRequestMultiError ¶
type AuthorizeApiRequestMultiError []error
AuthorizeApiRequestMultiError is an error wrapping multiple validation errors returned by AuthorizeApiRequest.ValidateAll() if the designated constraints aren't met.
func (AuthorizeApiRequestMultiError) AllErrors ¶
func (m AuthorizeApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizeApiRequestMultiError) Error ¶
func (m AuthorizeApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizeApiRequestValidationError ¶
type AuthorizeApiRequestValidationError struct {
// contains filtered or unexported fields
}
AuthorizeApiRequestValidationError is the validation error returned by AuthorizeApiRequest.Validate if the designated constraints aren't met.
func (AuthorizeApiRequestValidationError) Cause ¶
func (e AuthorizeApiRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeApiRequestValidationError) Error ¶
func (e AuthorizeApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeApiRequestValidationError) ErrorName ¶
func (e AuthorizeApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeApiRequestValidationError) Field ¶
func (e AuthorizeApiRequestValidationError) Field() string
Field function returns field value.
func (AuthorizeApiRequestValidationError) Key ¶
func (e AuthorizeApiRequestValidationError) Key() bool
Key function returns key value.
func (AuthorizeApiRequestValidationError) Reason ¶
func (e AuthorizeApiRequestValidationError) Reason() string
Reason function returns reason value.
type BatchDeleteDictReply ¶
type BatchDeleteDictReply struct { // 删除成功后的字典ID列表 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
批量删除字典列表响应参数
func (*BatchDeleteDictReply) Descriptor
deprecated
func (*BatchDeleteDictReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteDictReply.ProtoReflect.Descriptor instead.
func (*BatchDeleteDictReply) GetIds ¶
func (x *BatchDeleteDictReply) GetIds() []uint32
func (*BatchDeleteDictReply) ProtoMessage ¶
func (*BatchDeleteDictReply) ProtoMessage()
func (*BatchDeleteDictReply) ProtoReflect ¶
func (x *BatchDeleteDictReply) ProtoReflect() protoreflect.Message
func (*BatchDeleteDictReply) Reset ¶
func (x *BatchDeleteDictReply) Reset()
func (*BatchDeleteDictReply) String ¶
func (x *BatchDeleteDictReply) String() string
func (*BatchDeleteDictReply) Validate ¶
func (m *BatchDeleteDictReply) Validate() error
Validate checks the field values on BatchDeleteDictReply 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 (*BatchDeleteDictReply) ValidateAll ¶
func (m *BatchDeleteDictReply) ValidateAll() error
ValidateAll checks the field values on BatchDeleteDictReply 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 BatchDeleteDictReplyMultiError, or nil if none found.
type BatchDeleteDictReplyMultiError ¶
type BatchDeleteDictReplyMultiError []error
BatchDeleteDictReplyMultiError is an error wrapping multiple validation errors returned by BatchDeleteDictReply.ValidateAll() if the designated constraints aren't met.
func (BatchDeleteDictReplyMultiError) AllErrors ¶
func (m BatchDeleteDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchDeleteDictReplyMultiError) Error ¶
func (m BatchDeleteDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchDeleteDictReplyValidationError ¶
type BatchDeleteDictReplyValidationError struct {
// contains filtered or unexported fields
}
BatchDeleteDictReplyValidationError is the validation error returned by BatchDeleteDictReply.Validate if the designated constraints aren't met.
func (BatchDeleteDictReplyValidationError) Cause ¶
func (e BatchDeleteDictReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchDeleteDictReplyValidationError) Error ¶
func (e BatchDeleteDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchDeleteDictReplyValidationError) ErrorName ¶
func (e BatchDeleteDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchDeleteDictReplyValidationError) Field ¶
func (e BatchDeleteDictReplyValidationError) Field() string
Field function returns field value.
func (BatchDeleteDictReplyValidationError) Key ¶
func (e BatchDeleteDictReplyValidationError) Key() bool
Key function returns key value.
func (BatchDeleteDictReplyValidationError) Reason ¶
func (e BatchDeleteDictReplyValidationError) Reason() string
Reason function returns reason value.
type BatchDeleteDictRequest ¶
type BatchDeleteDictRequest struct { // 需要删除的字典ID列表 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
批量删除字典列表请求参数
func (*BatchDeleteDictRequest) Descriptor
deprecated
func (*BatchDeleteDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteDictRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteDictRequest) GetIds ¶
func (x *BatchDeleteDictRequest) GetIds() []uint32
func (*BatchDeleteDictRequest) ProtoMessage ¶
func (*BatchDeleteDictRequest) ProtoMessage()
func (*BatchDeleteDictRequest) ProtoReflect ¶
func (x *BatchDeleteDictRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteDictRequest) Reset ¶
func (x *BatchDeleteDictRequest) Reset()
func (*BatchDeleteDictRequest) String ¶
func (x *BatchDeleteDictRequest) String() string
func (*BatchDeleteDictRequest) Validate ¶
func (m *BatchDeleteDictRequest) Validate() error
Validate checks the field values on BatchDeleteDictRequest 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 (*BatchDeleteDictRequest) ValidateAll ¶
func (m *BatchDeleteDictRequest) ValidateAll() error
ValidateAll checks the field values on BatchDeleteDictRequest 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 BatchDeleteDictRequestMultiError, or nil if none found.
type BatchDeleteDictRequestMultiError ¶
type BatchDeleteDictRequestMultiError []error
BatchDeleteDictRequestMultiError is an error wrapping multiple validation errors returned by BatchDeleteDictRequest.ValidateAll() if the designated constraints aren't met.
func (BatchDeleteDictRequestMultiError) AllErrors ¶
func (m BatchDeleteDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchDeleteDictRequestMultiError) Error ¶
func (m BatchDeleteDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchDeleteDictRequestValidationError ¶
type BatchDeleteDictRequestValidationError struct {
// contains filtered or unexported fields
}
BatchDeleteDictRequestValidationError is the validation error returned by BatchDeleteDictRequest.Validate if the designated constraints aren't met.
func (BatchDeleteDictRequestValidationError) Cause ¶
func (e BatchDeleteDictRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchDeleteDictRequestValidationError) Error ¶
func (e BatchDeleteDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchDeleteDictRequestValidationError) ErrorName ¶
func (e BatchDeleteDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchDeleteDictRequestValidationError) Field ¶
func (e BatchDeleteDictRequestValidationError) Field() string
Field function returns field value.
func (BatchDeleteDictRequestValidationError) Key ¶
func (e BatchDeleteDictRequestValidationError) Key() bool
Key function returns key value.
func (BatchDeleteDictRequestValidationError) Reason ¶
func (e BatchDeleteDictRequestValidationError) Reason() string
Reason function returns reason value.
type BatchUpdateDictStatusReply ¶
type BatchUpdateDictStatusReply struct { // 更新成功后的字典ID列表 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
更新字典状态响应参数
func (*BatchUpdateDictStatusReply) Descriptor
deprecated
func (*BatchUpdateDictStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateDictStatusReply.ProtoReflect.Descriptor instead.
func (*BatchUpdateDictStatusReply) GetIds ¶
func (x *BatchUpdateDictStatusReply) GetIds() []uint32
func (*BatchUpdateDictStatusReply) ProtoMessage ¶
func (*BatchUpdateDictStatusReply) ProtoMessage()
func (*BatchUpdateDictStatusReply) ProtoReflect ¶
func (x *BatchUpdateDictStatusReply) ProtoReflect() protoreflect.Message
func (*BatchUpdateDictStatusReply) Reset ¶
func (x *BatchUpdateDictStatusReply) Reset()
func (*BatchUpdateDictStatusReply) String ¶
func (x *BatchUpdateDictStatusReply) String() string
func (*BatchUpdateDictStatusReply) Validate ¶
func (m *BatchUpdateDictStatusReply) Validate() error
Validate checks the field values on BatchUpdateDictStatusReply 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 (*BatchUpdateDictStatusReply) ValidateAll ¶
func (m *BatchUpdateDictStatusReply) ValidateAll() error
ValidateAll checks the field values on BatchUpdateDictStatusReply 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 BatchUpdateDictStatusReplyMultiError, or nil if none found.
type BatchUpdateDictStatusReplyMultiError ¶
type BatchUpdateDictStatusReplyMultiError []error
BatchUpdateDictStatusReplyMultiError is an error wrapping multiple validation errors returned by BatchUpdateDictStatusReply.ValidateAll() if the designated constraints aren't met.
func (BatchUpdateDictStatusReplyMultiError) AllErrors ¶
func (m BatchUpdateDictStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchUpdateDictStatusReplyMultiError) Error ¶
func (m BatchUpdateDictStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchUpdateDictStatusReplyValidationError ¶
type BatchUpdateDictStatusReplyValidationError struct {
// contains filtered or unexported fields
}
BatchUpdateDictStatusReplyValidationError is the validation error returned by BatchUpdateDictStatusReply.Validate if the designated constraints aren't met.
func (BatchUpdateDictStatusReplyValidationError) Cause ¶
func (e BatchUpdateDictStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchUpdateDictStatusReplyValidationError) Error ¶
func (e BatchUpdateDictStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchUpdateDictStatusReplyValidationError) ErrorName ¶
func (e BatchUpdateDictStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchUpdateDictStatusReplyValidationError) Field ¶
func (e BatchUpdateDictStatusReplyValidationError) Field() string
Field function returns field value.
func (BatchUpdateDictStatusReplyValidationError) Key ¶
func (e BatchUpdateDictStatusReplyValidationError) Key() bool
Key function returns key value.
func (BatchUpdateDictStatusReplyValidationError) Reason ¶
func (e BatchUpdateDictStatusReplyValidationError) Reason() string
Reason function returns reason value.
type BatchUpdateDictStatusRequest ¶
type BatchUpdateDictStatusRequest struct { // 需要更新的字典ID列表 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 字典状态 Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
更新字典状态请求参数
func (*BatchUpdateDictStatusRequest) Descriptor
deprecated
func (*BatchUpdateDictStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateDictStatusRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateDictStatusRequest) GetIds ¶
func (x *BatchUpdateDictStatusRequest) GetIds() []uint32
func (*BatchUpdateDictStatusRequest) GetStatus ¶
func (x *BatchUpdateDictStatusRequest) GetStatus() api.Status
func (*BatchUpdateDictStatusRequest) ProtoMessage ¶
func (*BatchUpdateDictStatusRequest) ProtoMessage()
func (*BatchUpdateDictStatusRequest) ProtoReflect ¶
func (x *BatchUpdateDictStatusRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateDictStatusRequest) Reset ¶
func (x *BatchUpdateDictStatusRequest) Reset()
func (*BatchUpdateDictStatusRequest) String ¶
func (x *BatchUpdateDictStatusRequest) String() string
func (*BatchUpdateDictStatusRequest) Validate ¶
func (m *BatchUpdateDictStatusRequest) Validate() error
Validate checks the field values on BatchUpdateDictStatusRequest 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 (*BatchUpdateDictStatusRequest) ValidateAll ¶
func (m *BatchUpdateDictStatusRequest) ValidateAll() error
ValidateAll checks the field values on BatchUpdateDictStatusRequest 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 BatchUpdateDictStatusRequestMultiError, or nil if none found.
type BatchUpdateDictStatusRequestMultiError ¶
type BatchUpdateDictStatusRequestMultiError []error
BatchUpdateDictStatusRequestMultiError is an error wrapping multiple validation errors returned by BatchUpdateDictStatusRequest.ValidateAll() if the designated constraints aren't met.
func (BatchUpdateDictStatusRequestMultiError) AllErrors ¶
func (m BatchUpdateDictStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchUpdateDictStatusRequestMultiError) Error ¶
func (m BatchUpdateDictStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchUpdateDictStatusRequestValidationError ¶
type BatchUpdateDictStatusRequestValidationError struct {
// contains filtered or unexported fields
}
BatchUpdateDictStatusRequestValidationError is the validation error returned by BatchUpdateDictStatusRequest.Validate if the designated constraints aren't met.
func (BatchUpdateDictStatusRequestValidationError) Cause ¶
func (e BatchUpdateDictStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchUpdateDictStatusRequestValidationError) Error ¶
func (e BatchUpdateDictStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchUpdateDictStatusRequestValidationError) ErrorName ¶
func (e BatchUpdateDictStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchUpdateDictStatusRequestValidationError) Field ¶
func (e BatchUpdateDictStatusRequestValidationError) Field() string
Field function returns field value.
func (BatchUpdateDictStatusRequestValidationError) Key ¶
func (e BatchUpdateDictStatusRequestValidationError) Key() bool
Key function returns key value.
func (BatchUpdateDictStatusRequestValidationError) Reason ¶
func (e BatchUpdateDictStatusRequestValidationError) Reason() string
Reason function returns reason value.
type CountAlarmPageReply ¶
type CountAlarmPageReply struct { AlarmCount map[uint32]int64 `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
统计各告警页面告警的数量响应参数
func (*CountAlarmPageReply) Descriptor
deprecated
func (*CountAlarmPageReply) Descriptor() ([]byte, []int)
Deprecated: Use CountAlarmPageReply.ProtoReflect.Descriptor instead.
func (*CountAlarmPageReply) GetAlarmCount ¶
func (x *CountAlarmPageReply) GetAlarmCount() map[uint32]int64
func (*CountAlarmPageReply) ProtoMessage ¶
func (*CountAlarmPageReply) ProtoMessage()
func (*CountAlarmPageReply) ProtoReflect ¶
func (x *CountAlarmPageReply) ProtoReflect() protoreflect.Message
func (*CountAlarmPageReply) Reset ¶
func (x *CountAlarmPageReply) Reset()
func (*CountAlarmPageReply) String ¶
func (x *CountAlarmPageReply) String() string
func (*CountAlarmPageReply) Validate ¶
func (m *CountAlarmPageReply) Validate() error
Validate checks the field values on CountAlarmPageReply 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 (*CountAlarmPageReply) ValidateAll ¶
func (m *CountAlarmPageReply) ValidateAll() error
ValidateAll checks the field values on CountAlarmPageReply 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 CountAlarmPageReplyMultiError, or nil if none found.
type CountAlarmPageReplyMultiError ¶
type CountAlarmPageReplyMultiError []error
CountAlarmPageReplyMultiError is an error wrapping multiple validation errors returned by CountAlarmPageReply.ValidateAll() if the designated constraints aren't met.
func (CountAlarmPageReplyMultiError) AllErrors ¶
func (m CountAlarmPageReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAlarmPageReplyMultiError) Error ¶
func (m CountAlarmPageReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountAlarmPageReplyValidationError ¶
type CountAlarmPageReplyValidationError struct {
// contains filtered or unexported fields
}
CountAlarmPageReplyValidationError is the validation error returned by CountAlarmPageReply.Validate if the designated constraints aren't met.
func (CountAlarmPageReplyValidationError) Cause ¶
func (e CountAlarmPageReplyValidationError) Cause() error
Cause function returns cause value.
func (CountAlarmPageReplyValidationError) Error ¶
func (e CountAlarmPageReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CountAlarmPageReplyValidationError) ErrorName ¶
func (e CountAlarmPageReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CountAlarmPageReplyValidationError) Field ¶
func (e CountAlarmPageReplyValidationError) Field() string
Field function returns field value.
func (CountAlarmPageReplyValidationError) Key ¶
func (e CountAlarmPageReplyValidationError) Key() bool
Key function returns key value.
func (CountAlarmPageReplyValidationError) Reason ¶
func (e CountAlarmPageReplyValidationError) Reason() string
Reason function returns reason value.
type CountAlarmPageRequest ¶
type CountAlarmPageRequest struct { // 告警页面ID列表(大于0) Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
统计各告警页面告警的数量请求参数
func (*CountAlarmPageRequest) Descriptor
deprecated
func (*CountAlarmPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountAlarmPageRequest.ProtoReflect.Descriptor instead.
func (*CountAlarmPageRequest) GetIds ¶
func (x *CountAlarmPageRequest) GetIds() []uint32
func (*CountAlarmPageRequest) ProtoMessage ¶
func (*CountAlarmPageRequest) ProtoMessage()
func (*CountAlarmPageRequest) ProtoReflect ¶
func (x *CountAlarmPageRequest) ProtoReflect() protoreflect.Message
func (*CountAlarmPageRequest) Reset ¶
func (x *CountAlarmPageRequest) Reset()
func (*CountAlarmPageRequest) String ¶
func (x *CountAlarmPageRequest) String() string
func (*CountAlarmPageRequest) Validate ¶
func (m *CountAlarmPageRequest) Validate() error
Validate checks the field values on CountAlarmPageRequest 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 (*CountAlarmPageRequest) ValidateAll ¶
func (m *CountAlarmPageRequest) ValidateAll() error
ValidateAll checks the field values on CountAlarmPageRequest 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 CountAlarmPageRequestMultiError, or nil if none found.
type CountAlarmPageRequestMultiError ¶
type CountAlarmPageRequestMultiError []error
CountAlarmPageRequestMultiError is an error wrapping multiple validation errors returned by CountAlarmPageRequest.ValidateAll() if the designated constraints aren't met.
func (CountAlarmPageRequestMultiError) AllErrors ¶
func (m CountAlarmPageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAlarmPageRequestMultiError) Error ¶
func (m CountAlarmPageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountAlarmPageRequestValidationError ¶
type CountAlarmPageRequestValidationError struct {
// contains filtered or unexported fields
}
CountAlarmPageRequestValidationError is the validation error returned by CountAlarmPageRequest.Validate if the designated constraints aren't met.
func (CountAlarmPageRequestValidationError) Cause ¶
func (e CountAlarmPageRequestValidationError) Cause() error
Cause function returns cause value.
func (CountAlarmPageRequestValidationError) Error ¶
func (e CountAlarmPageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CountAlarmPageRequestValidationError) ErrorName ¶
func (e CountAlarmPageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CountAlarmPageRequestValidationError) Field ¶
func (e CountAlarmPageRequestValidationError) Field() string
Field function returns field value.
func (CountAlarmPageRequestValidationError) Key ¶
func (e CountAlarmPageRequestValidationError) Key() bool
Key function returns key value.
func (CountAlarmPageRequestValidationError) Reason ¶
func (e CountAlarmPageRequestValidationError) Reason() string
Reason function returns reason value.
type CreateApiReply ¶
type CreateApiReply struct { // id 接口ID, 创建成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建API数据响应参数
func (*CreateApiReply) Descriptor
deprecated
func (*CreateApiReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiReply.ProtoReflect.Descriptor instead.
func (*CreateApiReply) GetId ¶
func (x *CreateApiReply) GetId() uint32
func (*CreateApiReply) ProtoMessage ¶
func (*CreateApiReply) ProtoMessage()
func (*CreateApiReply) ProtoReflect ¶
func (x *CreateApiReply) ProtoReflect() protoreflect.Message
func (*CreateApiReply) Reset ¶
func (x *CreateApiReply) Reset()
func (*CreateApiReply) String ¶
func (x *CreateApiReply) String() string
func (*CreateApiReply) Validate ¶
func (m *CreateApiReply) Validate() error
Validate checks the field values on CreateApiReply 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 (*CreateApiReply) ValidateAll ¶
func (m *CreateApiReply) ValidateAll() error
ValidateAll checks the field values on CreateApiReply 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 CreateApiReplyMultiError, or nil if none found.
type CreateApiReplyMultiError ¶
type CreateApiReplyMultiError []error
CreateApiReplyMultiError is an error wrapping multiple validation errors returned by CreateApiReply.ValidateAll() if the designated constraints aren't met.
func (CreateApiReplyMultiError) AllErrors ¶
func (m CreateApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateApiReplyMultiError) Error ¶
func (m CreateApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateApiReplyValidationError ¶
type CreateApiReplyValidationError struct {
// contains filtered or unexported fields
}
CreateApiReplyValidationError is the validation error returned by CreateApiReply.Validate if the designated constraints aren't met.
func (CreateApiReplyValidationError) Cause ¶
func (e CreateApiReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateApiReplyValidationError) Error ¶
func (e CreateApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateApiReplyValidationError) ErrorName ¶
func (e CreateApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateApiReplyValidationError) Field ¶
func (e CreateApiReplyValidationError) Field() string
Field function returns field value.
func (CreateApiReplyValidationError) Key ¶
func (e CreateApiReplyValidationError) Key() bool
Key function returns key value.
func (CreateApiReplyValidationError) Reason ¶
func (e CreateApiReplyValidationError) Reason() string
Reason function returns reason value.
type CreateApiRequest ¶
type CreateApiRequest struct { // 接口名称, 长度限制2-20 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 接口路径, 长度限制1-255 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 接口请求方法, GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` // 备注 长度限制0-255 Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` // 所属模块 Module api.ModuleType `protobuf:"varint,7,opt,name=module,proto3,enum=api.ModuleType" json:"module,omitempty"` // 所属领域 Domain api.DomainType `protobuf:"varint,8,opt,name=domain,proto3,enum=api.DomainType" json:"domain,omitempty"` // contains filtered or unexported fields }
创建API数据请求参数
func (*CreateApiRequest) Descriptor
deprecated
func (*CreateApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiRequest.ProtoReflect.Descriptor instead.
func (*CreateApiRequest) GetDomain ¶
func (x *CreateApiRequest) GetDomain() api.DomainType
func (*CreateApiRequest) GetMethod ¶
func (x *CreateApiRequest) GetMethod() string
func (*CreateApiRequest) GetModule ¶
func (x *CreateApiRequest) GetModule() api.ModuleType
func (*CreateApiRequest) GetName ¶
func (x *CreateApiRequest) GetName() string
func (*CreateApiRequest) GetPath ¶
func (x *CreateApiRequest) GetPath() string
func (*CreateApiRequest) GetRemark ¶
func (x *CreateApiRequest) GetRemark() string
func (*CreateApiRequest) ProtoMessage ¶
func (*CreateApiRequest) ProtoMessage()
func (*CreateApiRequest) ProtoReflect ¶
func (x *CreateApiRequest) ProtoReflect() protoreflect.Message
func (*CreateApiRequest) Reset ¶
func (x *CreateApiRequest) Reset()
func (*CreateApiRequest) String ¶
func (x *CreateApiRequest) String() string
func (*CreateApiRequest) Validate ¶
func (m *CreateApiRequest) Validate() error
Validate checks the field values on CreateApiRequest 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 (*CreateApiRequest) ValidateAll ¶
func (m *CreateApiRequest) ValidateAll() error
ValidateAll checks the field values on CreateApiRequest 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 CreateApiRequestMultiError, or nil if none found.
type CreateApiRequestMultiError ¶
type CreateApiRequestMultiError []error
CreateApiRequestMultiError is an error wrapping multiple validation errors returned by CreateApiRequest.ValidateAll() if the designated constraints aren't met.
func (CreateApiRequestMultiError) AllErrors ¶
func (m CreateApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateApiRequestMultiError) Error ¶
func (m CreateApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateApiRequestValidationError ¶
type CreateApiRequestValidationError struct {
// contains filtered or unexported fields
}
CreateApiRequestValidationError is the validation error returned by CreateApiRequest.Validate if the designated constraints aren't met.
func (CreateApiRequestValidationError) Cause ¶
func (e CreateApiRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateApiRequestValidationError) Error ¶
func (e CreateApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateApiRequestValidationError) ErrorName ¶
func (e CreateApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateApiRequestValidationError) Field ¶
func (e CreateApiRequestValidationError) Field() string
Field function returns field value.
func (CreateApiRequestValidationError) Key ¶
func (e CreateApiRequestValidationError) Key() bool
Key function returns key value.
func (CreateApiRequestValidationError) Reason ¶
func (e CreateApiRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDictReply ¶
type CreateDictReply struct { // 创建成功后的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建字典响应参数
func (*CreateDictReply) Descriptor
deprecated
func (*CreateDictReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDictReply.ProtoReflect.Descriptor instead.
func (*CreateDictReply) GetId ¶
func (x *CreateDictReply) GetId() uint32
func (*CreateDictReply) ProtoMessage ¶
func (*CreateDictReply) ProtoMessage()
func (*CreateDictReply) ProtoReflect ¶
func (x *CreateDictReply) ProtoReflect() protoreflect.Message
func (*CreateDictReply) Reset ¶
func (x *CreateDictReply) Reset()
func (*CreateDictReply) String ¶
func (x *CreateDictReply) String() string
func (*CreateDictReply) Validate ¶
func (m *CreateDictReply) Validate() error
Validate checks the field values on CreateDictReply 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 (*CreateDictReply) ValidateAll ¶
func (m *CreateDictReply) ValidateAll() error
ValidateAll checks the field values on CreateDictReply 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 CreateDictReplyMultiError, or nil if none found.
type CreateDictReplyMultiError ¶
type CreateDictReplyMultiError []error
CreateDictReplyMultiError is an error wrapping multiple validation errors returned by CreateDictReply.ValidateAll() if the designated constraints aren't met.
func (CreateDictReplyMultiError) AllErrors ¶
func (m CreateDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDictReplyMultiError) Error ¶
func (m CreateDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDictReplyValidationError ¶
type CreateDictReplyValidationError struct {
// contains filtered or unexported fields
}
CreateDictReplyValidationError is the validation error returned by CreateDictReply.Validate if the designated constraints aren't met.
func (CreateDictReplyValidationError) Cause ¶
func (e CreateDictReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateDictReplyValidationError) Error ¶
func (e CreateDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDictReplyValidationError) ErrorName ¶
func (e CreateDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDictReplyValidationError) Field ¶
func (e CreateDictReplyValidationError) Field() string
Field function returns field value.
func (CreateDictReplyValidationError) Key ¶
func (e CreateDictReplyValidationError) Key() bool
Key function returns key value.
func (CreateDictReplyValidationError) Reason ¶
func (e CreateDictReplyValidationError) Reason() string
Reason function returns reason value.
type CreateDictRequest ¶
type CreateDictRequest struct { // 字典名称, 长度1-20 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 字典分类 枚举类型 Category api.Category `protobuf:"varint,3,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"` // 字典颜色, 用于前端渲染tag相关颜色用, 非必需 Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` // 字典备注 Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` // contains filtered or unexported fields }
创建字典请求参数
func (*CreateDictRequest) Descriptor
deprecated
func (*CreateDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDictRequest.ProtoReflect.Descriptor instead.
func (*CreateDictRequest) GetCategory ¶
func (x *CreateDictRequest) GetCategory() api.Category
func (*CreateDictRequest) GetColor ¶
func (x *CreateDictRequest) GetColor() string
func (*CreateDictRequest) GetName ¶
func (x *CreateDictRequest) GetName() string
func (*CreateDictRequest) GetRemark ¶
func (x *CreateDictRequest) GetRemark() string
func (*CreateDictRequest) ProtoMessage ¶
func (*CreateDictRequest) ProtoMessage()
func (*CreateDictRequest) ProtoReflect ¶
func (x *CreateDictRequest) ProtoReflect() protoreflect.Message
func (*CreateDictRequest) Reset ¶
func (x *CreateDictRequest) Reset()
func (*CreateDictRequest) String ¶
func (x *CreateDictRequest) String() string
func (*CreateDictRequest) Validate ¶
func (m *CreateDictRequest) Validate() error
Validate checks the field values on CreateDictRequest 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 (*CreateDictRequest) ValidateAll ¶
func (m *CreateDictRequest) ValidateAll() error
ValidateAll checks the field values on CreateDictRequest 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 CreateDictRequestMultiError, or nil if none found.
type CreateDictRequestMultiError ¶
type CreateDictRequestMultiError []error
CreateDictRequestMultiError is an error wrapping multiple validation errors returned by CreateDictRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDictRequestMultiError) AllErrors ¶
func (m CreateDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDictRequestMultiError) Error ¶
func (m CreateDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDictRequestValidationError ¶
type CreateDictRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDictRequestValidationError is the validation error returned by CreateDictRequest.Validate if the designated constraints aren't met.
func (CreateDictRequestValidationError) Cause ¶
func (e CreateDictRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDictRequestValidationError) Error ¶
func (e CreateDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDictRequestValidationError) ErrorName ¶
func (e CreateDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDictRequestValidationError) Field ¶
func (e CreateDictRequestValidationError) Field() string
Field function returns field value.
func (CreateDictRequestValidationError) Key ¶
func (e CreateDictRequestValidationError) Key() bool
Key function returns key value.
func (CreateDictRequestValidationError) Reason ¶
func (e CreateDictRequestValidationError) Reason() string
Reason function returns reason value.
type CreateRoleReply ¶
type CreateRoleReply struct { // 角色ID, 创建成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建角色响应参数
func (*CreateRoleReply) Descriptor
deprecated
func (*CreateRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleReply.ProtoReflect.Descriptor instead.
func (*CreateRoleReply) GetId ¶
func (x *CreateRoleReply) GetId() uint32
func (*CreateRoleReply) ProtoMessage ¶
func (*CreateRoleReply) ProtoMessage()
func (*CreateRoleReply) ProtoReflect ¶
func (x *CreateRoleReply) ProtoReflect() protoreflect.Message
func (*CreateRoleReply) Reset ¶
func (x *CreateRoleReply) Reset()
func (*CreateRoleReply) String ¶
func (x *CreateRoleReply) String() string
func (*CreateRoleReply) Validate ¶
func (m *CreateRoleReply) Validate() error
Validate checks the field values on CreateRoleReply 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 (*CreateRoleReply) ValidateAll ¶
func (m *CreateRoleReply) ValidateAll() error
ValidateAll checks the field values on CreateRoleReply 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 CreateRoleReplyMultiError, or nil if none found.
type CreateRoleReplyMultiError ¶
type CreateRoleReplyMultiError []error
CreateRoleReplyMultiError is an error wrapping multiple validation errors returned by CreateRoleReply.ValidateAll() if the designated constraints aren't met.
func (CreateRoleReplyMultiError) AllErrors ¶
func (m CreateRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleReplyMultiError) Error ¶
func (m CreateRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleReplyValidationError ¶
type CreateRoleReplyValidationError struct {
// contains filtered or unexported fields
}
CreateRoleReplyValidationError is the validation error returned by CreateRoleReply.Validate if the designated constraints aren't met.
func (CreateRoleReplyValidationError) Cause ¶
func (e CreateRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleReplyValidationError) Error ¶
func (e CreateRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleReplyValidationError) ErrorName ¶
func (e CreateRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleReplyValidationError) Field ¶
func (e CreateRoleReplyValidationError) Field() string
Field function returns field value.
func (CreateRoleReplyValidationError) Key ¶
func (e CreateRoleReplyValidationError) Key() bool
Key function returns key value.
func (CreateRoleReplyValidationError) Reason ¶
func (e CreateRoleReplyValidationError) Reason() string
Reason function returns reason value.
type CreateRoleRequest ¶
type CreateRoleRequest struct { // 角色名称, 长度限制2-32字符 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 备注, 长度限制2-255字符 Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // contains filtered or unexported fields }
创建角色请求参数
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetName ¶
func (x *CreateRoleRequest) GetName() string
func (*CreateRoleRequest) GetRemark ¶
func (x *CreateRoleRequest) GetRemark() string
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
func (*CreateRoleRequest) Validate ¶
func (m *CreateRoleRequest) Validate() error
Validate checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRoleRequest) ValidateAll ¶
func (m *CreateRoleRequest) ValidateAll() error
ValidateAll checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleRequestMultiError, or nil if none found.
type CreateRoleRequestMultiError ¶
type CreateRoleRequestMultiError []error
CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRoleRequestMultiError) AllErrors ¶
func (m CreateRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleRequestMultiError) Error ¶
func (m CreateRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleRequestValidationError ¶
type CreateRoleRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.
func (CreateRoleRequestValidationError) Cause ¶
func (e CreateRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleRequestValidationError) Error ¶
func (e CreateRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleRequestValidationError) ErrorName ¶
func (e CreateRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleRequestValidationError) Field ¶
func (e CreateRoleRequestValidationError) Field() string
Field function returns field value.
func (CreateRoleRequestValidationError) Key ¶
func (e CreateRoleRequestValidationError) Key() bool
Key function returns key value.
func (CreateRoleRequestValidationError) Reason ¶
func (e CreateRoleRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserReply ¶
type CreateUserReply struct { // 用户ID, 创建成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建用户响应参数
func (*CreateUserReply) Descriptor
deprecated
func (*CreateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.
func (*CreateUserReply) GetId ¶
func (x *CreateUserReply) GetId() uint32
func (*CreateUserReply) ProtoMessage ¶
func (*CreateUserReply) ProtoMessage()
func (*CreateUserReply) ProtoReflect ¶
func (x *CreateUserReply) ProtoReflect() protoreflect.Message
func (*CreateUserReply) Reset ¶
func (x *CreateUserReply) Reset()
func (*CreateUserReply) String ¶
func (x *CreateUserReply) String() string
func (*CreateUserReply) Validate ¶
func (m *CreateUserReply) Validate() error
Validate checks the field values on CreateUserReply 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 (*CreateUserReply) ValidateAll ¶
func (m *CreateUserReply) ValidateAll() error
ValidateAll checks the field values on CreateUserReply 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 CreateUserReplyMultiError, or nil if none found.
type CreateUserReplyMultiError ¶
type CreateUserReplyMultiError []error
CreateUserReplyMultiError is an error wrapping multiple validation errors returned by CreateUserReply.ValidateAll() if the designated constraints aren't met.
func (CreateUserReplyMultiError) AllErrors ¶
func (m CreateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserReplyMultiError) Error ¶
func (m CreateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserReplyValidationError ¶
type CreateUserReplyValidationError struct {
// contains filtered or unexported fields
}
CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.
func (CreateUserReplyValidationError) Cause ¶
func (e CreateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateUserReplyValidationError) Error ¶
func (e CreateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserReplyValidationError) ErrorName ¶
func (e CreateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserReplyValidationError) Field ¶
func (e CreateUserReplyValidationError) Field() string
Field function returns field value.
func (CreateUserReplyValidationError) Key ¶
func (e CreateUserReplyValidationError) Key() bool
Key function returns key value.
func (CreateUserReplyValidationError) Reason ¶
func (e CreateUserReplyValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { // 用户名, 长度限制 2-64 字符, 字母, 数字, 下划线, 中划线, 点号(^[a-zA-Z0-9_\\.]+$) Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // 密码, aes加密后的字符串 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 邮箱 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // 手机号 Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // 昵称, 长度限制 0-32 字符 Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 性别 Gender api.Gender `protobuf:"varint,6,opt,name=gender,proto3,enum=api.Gender" json:"gender,omitempty"` // 角色ID列表 RoleIds []uint32 `protobuf:"varint,7,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` // contains filtered or unexported fields }
创建用户请求参数
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetGender ¶
func (x *CreateUserRequest) GetGender() api.Gender
func (*CreateUserRequest) GetNickname ¶
func (x *CreateUserRequest) GetNickname() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetPhone ¶
func (x *CreateUserRequest) GetPhone() string
func (*CreateUserRequest) GetRoleIds ¶
func (x *CreateUserRequest) GetRoleIds() []uint32
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest 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 (*CreateUserRequest) ValidateAll ¶
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest 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 CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteApiReply ¶
type DeleteApiReply struct { // 接口ID, 删除成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除API数据响应参数
func (*DeleteApiReply) Descriptor
deprecated
func (*DeleteApiReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiReply.ProtoReflect.Descriptor instead.
func (*DeleteApiReply) GetId ¶
func (x *DeleteApiReply) GetId() uint32
func (*DeleteApiReply) ProtoMessage ¶
func (*DeleteApiReply) ProtoMessage()
func (*DeleteApiReply) ProtoReflect ¶
func (x *DeleteApiReply) ProtoReflect() protoreflect.Message
func (*DeleteApiReply) Reset ¶
func (x *DeleteApiReply) Reset()
func (*DeleteApiReply) String ¶
func (x *DeleteApiReply) String() string
func (*DeleteApiReply) Validate ¶
func (m *DeleteApiReply) Validate() error
Validate checks the field values on DeleteApiReply 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 (*DeleteApiReply) ValidateAll ¶
func (m *DeleteApiReply) ValidateAll() error
ValidateAll checks the field values on DeleteApiReply 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 DeleteApiReplyMultiError, or nil if none found.
type DeleteApiReplyMultiError ¶
type DeleteApiReplyMultiError []error
DeleteApiReplyMultiError is an error wrapping multiple validation errors returned by DeleteApiReply.ValidateAll() if the designated constraints aren't met.
func (DeleteApiReplyMultiError) AllErrors ¶
func (m DeleteApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteApiReplyMultiError) Error ¶
func (m DeleteApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteApiReplyValidationError ¶
type DeleteApiReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteApiReplyValidationError is the validation error returned by DeleteApiReply.Validate if the designated constraints aren't met.
func (DeleteApiReplyValidationError) Cause ¶
func (e DeleteApiReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteApiReplyValidationError) Error ¶
func (e DeleteApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteApiReplyValidationError) ErrorName ¶
func (e DeleteApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteApiReplyValidationError) Field ¶
func (e DeleteApiReplyValidationError) Field() string
Field function returns field value.
func (DeleteApiReplyValidationError) Key ¶
func (e DeleteApiReplyValidationError) Key() bool
Key function returns key value.
func (DeleteApiReplyValidationError) Reason ¶
func (e DeleteApiReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteApiRequest ¶
type DeleteApiRequest struct { // 需要删除的接口ID, 必填, 大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除API数据请求参数
func (*DeleteApiRequest) Descriptor
deprecated
func (*DeleteApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiRequest.ProtoReflect.Descriptor instead.
func (*DeleteApiRequest) GetId ¶
func (x *DeleteApiRequest) GetId() uint32
func (*DeleteApiRequest) ProtoMessage ¶
func (*DeleteApiRequest) ProtoMessage()
func (*DeleteApiRequest) ProtoReflect ¶
func (x *DeleteApiRequest) ProtoReflect() protoreflect.Message
func (*DeleteApiRequest) Reset ¶
func (x *DeleteApiRequest) Reset()
func (*DeleteApiRequest) String ¶
func (x *DeleteApiRequest) String() string
func (*DeleteApiRequest) Validate ¶
func (m *DeleteApiRequest) Validate() error
Validate checks the field values on DeleteApiRequest 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 (*DeleteApiRequest) ValidateAll ¶
func (m *DeleteApiRequest) ValidateAll() error
ValidateAll checks the field values on DeleteApiRequest 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 DeleteApiRequestMultiError, or nil if none found.
type DeleteApiRequestMultiError ¶
type DeleteApiRequestMultiError []error
DeleteApiRequestMultiError is an error wrapping multiple validation errors returned by DeleteApiRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteApiRequestMultiError) AllErrors ¶
func (m DeleteApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteApiRequestMultiError) Error ¶
func (m DeleteApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteApiRequestValidationError ¶
type DeleteApiRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteApiRequestValidationError is the validation error returned by DeleteApiRequest.Validate if the designated constraints aren't met.
func (DeleteApiRequestValidationError) Cause ¶
func (e DeleteApiRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteApiRequestValidationError) Error ¶
func (e DeleteApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteApiRequestValidationError) ErrorName ¶
func (e DeleteApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteApiRequestValidationError) Field ¶
func (e DeleteApiRequestValidationError) Field() string
Field function returns field value.
func (DeleteApiRequestValidationError) Key ¶
func (e DeleteApiRequestValidationError) Key() bool
Key function returns key value.
func (DeleteApiRequestValidationError) Reason ¶
func (e DeleteApiRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDictReply ¶
type DeleteDictReply struct { // 删除成功后的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除字典响应参数
func (*DeleteDictReply) Descriptor
deprecated
func (*DeleteDictReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictReply.ProtoReflect.Descriptor instead.
func (*DeleteDictReply) GetId ¶
func (x *DeleteDictReply) GetId() uint32
func (*DeleteDictReply) ProtoMessage ¶
func (*DeleteDictReply) ProtoMessage()
func (*DeleteDictReply) ProtoReflect ¶
func (x *DeleteDictReply) ProtoReflect() protoreflect.Message
func (*DeleteDictReply) Reset ¶
func (x *DeleteDictReply) Reset()
func (*DeleteDictReply) String ¶
func (x *DeleteDictReply) String() string
func (*DeleteDictReply) Validate ¶
func (m *DeleteDictReply) Validate() error
Validate checks the field values on DeleteDictReply 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 (*DeleteDictReply) ValidateAll ¶
func (m *DeleteDictReply) ValidateAll() error
ValidateAll checks the field values on DeleteDictReply 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 DeleteDictReplyMultiError, or nil if none found.
type DeleteDictReplyMultiError ¶
type DeleteDictReplyMultiError []error
DeleteDictReplyMultiError is an error wrapping multiple validation errors returned by DeleteDictReply.ValidateAll() if the designated constraints aren't met.
func (DeleteDictReplyMultiError) AllErrors ¶
func (m DeleteDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDictReplyMultiError) Error ¶
func (m DeleteDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDictReplyValidationError ¶
type DeleteDictReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteDictReplyValidationError is the validation error returned by DeleteDictReply.Validate if the designated constraints aren't met.
func (DeleteDictReplyValidationError) Cause ¶
func (e DeleteDictReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictReplyValidationError) Error ¶
func (e DeleteDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictReplyValidationError) ErrorName ¶
func (e DeleteDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictReplyValidationError) Field ¶
func (e DeleteDictReplyValidationError) Field() string
Field function returns field value.
func (DeleteDictReplyValidationError) Key ¶
func (e DeleteDictReplyValidationError) Key() bool
Key function returns key value.
func (DeleteDictReplyValidationError) Reason ¶
func (e DeleteDictReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteDictRequest ¶
type DeleteDictRequest struct { // 需要删除的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除字典请求参数
func (*DeleteDictRequest) Descriptor
deprecated
func (*DeleteDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictRequest.ProtoReflect.Descriptor instead.
func (*DeleteDictRequest) GetId ¶
func (x *DeleteDictRequest) GetId() uint32
func (*DeleteDictRequest) ProtoMessage ¶
func (*DeleteDictRequest) ProtoMessage()
func (*DeleteDictRequest) ProtoReflect ¶
func (x *DeleteDictRequest) ProtoReflect() protoreflect.Message
func (*DeleteDictRequest) Reset ¶
func (x *DeleteDictRequest) Reset()
func (*DeleteDictRequest) String ¶
func (x *DeleteDictRequest) String() string
func (*DeleteDictRequest) Validate ¶
func (m *DeleteDictRequest) Validate() error
Validate checks the field values on DeleteDictRequest 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 (*DeleteDictRequest) ValidateAll ¶
func (m *DeleteDictRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDictRequest 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 DeleteDictRequestMultiError, or nil if none found.
type DeleteDictRequestMultiError ¶
type DeleteDictRequestMultiError []error
DeleteDictRequestMultiError is an error wrapping multiple validation errors returned by DeleteDictRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDictRequestMultiError) AllErrors ¶
func (m DeleteDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDictRequestMultiError) Error ¶
func (m DeleteDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDictRequestValidationError ¶
type DeleteDictRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDictRequestValidationError is the validation error returned by DeleteDictRequest.Validate if the designated constraints aren't met.
func (DeleteDictRequestValidationError) Cause ¶
func (e DeleteDictRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictRequestValidationError) Error ¶
func (e DeleteDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictRequestValidationError) ErrorName ¶
func (e DeleteDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictRequestValidationError) Field ¶
func (e DeleteDictRequestValidationError) Field() string
Field function returns field value.
func (DeleteDictRequestValidationError) Key ¶
func (e DeleteDictRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDictRequestValidationError) Reason ¶
func (e DeleteDictRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleReply ¶
type DeleteRoleReply struct { // 角色ID, 删除成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除角色响应参数
func (*DeleteRoleReply) Descriptor
deprecated
func (*DeleteRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleReply.ProtoReflect.Descriptor instead.
func (*DeleteRoleReply) GetId ¶
func (x *DeleteRoleReply) GetId() uint32
func (*DeleteRoleReply) ProtoMessage ¶
func (*DeleteRoleReply) ProtoMessage()
func (*DeleteRoleReply) ProtoReflect ¶
func (x *DeleteRoleReply) ProtoReflect() protoreflect.Message
func (*DeleteRoleReply) Reset ¶
func (x *DeleteRoleReply) Reset()
func (*DeleteRoleReply) String ¶
func (x *DeleteRoleReply) String() string
func (*DeleteRoleReply) Validate ¶
func (m *DeleteRoleReply) Validate() error
Validate checks the field values on DeleteRoleReply 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 (*DeleteRoleReply) ValidateAll ¶
func (m *DeleteRoleReply) ValidateAll() error
ValidateAll checks the field values on DeleteRoleReply 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 DeleteRoleReplyMultiError, or nil if none found.
type DeleteRoleReplyMultiError ¶
type DeleteRoleReplyMultiError []error
DeleteRoleReplyMultiError is an error wrapping multiple validation errors returned by DeleteRoleReply.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleReplyMultiError) AllErrors ¶
func (m DeleteRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleReplyMultiError) Error ¶
func (m DeleteRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleReplyValidationError ¶
type DeleteRoleReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleReplyValidationError is the validation error returned by DeleteRoleReply.Validate if the designated constraints aren't met.
func (DeleteRoleReplyValidationError) Cause ¶
func (e DeleteRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleReplyValidationError) Error ¶
func (e DeleteRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleReplyValidationError) ErrorName ¶
func (e DeleteRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleReplyValidationError) Field ¶
func (e DeleteRoleReplyValidationError) Field() string
Field function returns field value.
func (DeleteRoleReplyValidationError) Key ¶
func (e DeleteRoleReplyValidationError) Key() bool
Key function returns key value.
func (DeleteRoleReplyValidationError) Reason ¶
func (e DeleteRoleReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { // 用于删除的角色ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除角色请求参数
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetId ¶
func (x *DeleteRoleRequest) GetId() uint32
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
func (*DeleteRoleRequest) Validate ¶
func (m *DeleteRoleRequest) Validate() error
Validate checks the field values on DeleteRoleRequest 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 (*DeleteRoleRequest) ValidateAll ¶
func (m *DeleteRoleRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRoleRequest 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 DeleteRoleRequestMultiError, or nil if none found.
type DeleteRoleRequestMultiError ¶
type DeleteRoleRequestMultiError []error
DeleteRoleRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleRequestMultiError) AllErrors ¶
func (m DeleteRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleRequestMultiError) Error ¶
func (m DeleteRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleRequestValidationError ¶
type DeleteRoleRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleRequestValidationError is the validation error returned by DeleteRoleRequest.Validate if the designated constraints aren't met.
func (DeleteRoleRequestValidationError) Cause ¶
func (e DeleteRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleRequestValidationError) Error ¶
func (e DeleteRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleRequestValidationError) ErrorName ¶
func (e DeleteRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleRequestValidationError) Field ¶
func (e DeleteRoleRequestValidationError) Field() string
Field function returns field value.
func (DeleteRoleRequestValidationError) Key ¶
func (e DeleteRoleRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRoleRequestValidationError) Reason ¶
func (e DeleteRoleRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserReply ¶
type DeleteUserReply struct { // 用户ID, 删除成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除用户响应参数
func (*DeleteUserReply) Descriptor
deprecated
func (*DeleteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.
func (*DeleteUserReply) GetId ¶
func (x *DeleteUserReply) GetId() uint32
func (*DeleteUserReply) ProtoMessage ¶
func (*DeleteUserReply) ProtoMessage()
func (*DeleteUserReply) ProtoReflect ¶
func (x *DeleteUserReply) ProtoReflect() protoreflect.Message
func (*DeleteUserReply) Reset ¶
func (x *DeleteUserReply) Reset()
func (*DeleteUserReply) String ¶
func (x *DeleteUserReply) String() string
func (*DeleteUserReply) Validate ¶
func (m *DeleteUserReply) Validate() error
Validate checks the field values on DeleteUserReply 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 (*DeleteUserReply) ValidateAll ¶
func (m *DeleteUserReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserReply 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 DeleteUserReplyMultiError, or nil if none found.
type DeleteUserReplyMultiError ¶
type DeleteUserReplyMultiError []error
DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserReplyMultiError) AllErrors ¶
func (m DeleteUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserReplyMultiError) Error ¶
func (m DeleteUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserReplyValidationError ¶
type DeleteUserReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.
func (DeleteUserReplyValidationError) Cause ¶
func (e DeleteUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserReplyValidationError) Error ¶
func (e DeleteUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserReplyValidationError) ErrorName ¶
func (e DeleteUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserReplyValidationError) Field ¶
func (e DeleteUserReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserReplyValidationError) Key ¶
func (e DeleteUserReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserReplyValidationError) Reason ¶
func (e DeleteUserReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct { // 需要删除数据的用户ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除用户请求参数
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest 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 (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest 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 DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type DictClient ¶
type DictClient interface { // 创建字典 CreateDict(ctx context.Context, in *CreateDictRequest, opts ...grpc.CallOption) (*CreateDictReply, error) // 更新字典 UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...grpc.CallOption) (*UpdateDictReply, error) // 更新字典状态 BatchUpdateDictStatus(ctx context.Context, in *BatchUpdateDictStatusRequest, opts ...grpc.CallOption) (*BatchUpdateDictStatusReply, error) // 删除字典 DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...grpc.CallOption) (*DeleteDictReply, error) // 删除字典列表 BatchDeleteDict(ctx context.Context, in *BatchDeleteDictRequest, opts ...grpc.CallOption) (*BatchDeleteDictReply, error) // 获取字典 GetDict(ctx context.Context, in *GetDictRequest, opts ...grpc.CallOption) (*GetDictReply, error) // 获取字典列表 ListDict(ctx context.Context, in *ListDictRequest, opts ...grpc.CallOption) (*ListDictReply, error) // 获取字典列表, 用于下拉选择 SelectDict(ctx context.Context, in *SelectDictRequest, opts ...grpc.CallOption) (*SelectDictReply, error) // 统计各告警页面告警的数量 CountAlarmPage(ctx context.Context, in *CountAlarmPageRequest, opts ...grpc.CallOption) (*CountAlarmPageReply, error) // 我的告警页面列表 ListMyAlarmPage(ctx context.Context, in *ListMyAlarmPageRequest, opts ...grpc.CallOption) (*ListMyAlarmPageReply, error) // 配置我的告警页面列表 MyAlarmPagesConfig(ctx context.Context, in *MyAlarmPagesConfigRequest, opts ...grpc.CallOption) (*MyAlarmPagesConfigReply, error) }
DictClient is the client API for Dict 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 NewDictClient ¶
func NewDictClient(cc grpc.ClientConnInterface) DictClient
type DictHTTPClient ¶
type DictHTTPClient interface { BatchDeleteDict(ctx context.Context, req *BatchDeleteDictRequest, opts ...http.CallOption) (rsp *BatchDeleteDictReply, err error) BatchUpdateDictStatus(ctx context.Context, req *BatchUpdateDictStatusRequest, opts ...http.CallOption) (rsp *BatchUpdateDictStatusReply, err error) CountAlarmPage(ctx context.Context, req *CountAlarmPageRequest, opts ...http.CallOption) (rsp *CountAlarmPageReply, err error) CreateDict(ctx context.Context, req *CreateDictRequest, opts ...http.CallOption) (rsp *CreateDictReply, err error) DeleteDict(ctx context.Context, req *DeleteDictRequest, opts ...http.CallOption) (rsp *DeleteDictReply, err error) GetDict(ctx context.Context, req *GetDictRequest, opts ...http.CallOption) (rsp *GetDictReply, err error) ListDict(ctx context.Context, req *ListDictRequest, opts ...http.CallOption) (rsp *ListDictReply, err error) ListMyAlarmPage(ctx context.Context, req *ListMyAlarmPageRequest, opts ...http.CallOption) (rsp *ListMyAlarmPageReply, err error) MyAlarmPagesConfig(ctx context.Context, req *MyAlarmPagesConfigRequest, opts ...http.CallOption) (rsp *MyAlarmPagesConfigReply, err error) SelectDict(ctx context.Context, req *SelectDictRequest, opts ...http.CallOption) (rsp *SelectDictReply, err error) UpdateDict(ctx context.Context, req *UpdateDictRequest, opts ...http.CallOption) (rsp *UpdateDictReply, err error) }
func NewDictHTTPClient ¶
func NewDictHTTPClient(client *http.Client) DictHTTPClient
type DictHTTPClientImpl ¶
type DictHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DictHTTPClientImpl) BatchDeleteDict ¶
func (c *DictHTTPClientImpl) BatchDeleteDict(ctx context.Context, in *BatchDeleteDictRequest, opts ...http.CallOption) (*BatchDeleteDictReply, error)
func (*DictHTTPClientImpl) BatchUpdateDictStatus ¶
func (c *DictHTTPClientImpl) BatchUpdateDictStatus(ctx context.Context, in *BatchUpdateDictStatusRequest, opts ...http.CallOption) (*BatchUpdateDictStatusReply, error)
func (*DictHTTPClientImpl) CountAlarmPage ¶
func (c *DictHTTPClientImpl) CountAlarmPage(ctx context.Context, in *CountAlarmPageRequest, opts ...http.CallOption) (*CountAlarmPageReply, error)
func (*DictHTTPClientImpl) CreateDict ¶
func (c *DictHTTPClientImpl) CreateDict(ctx context.Context, in *CreateDictRequest, opts ...http.CallOption) (*CreateDictReply, error)
func (*DictHTTPClientImpl) DeleteDict ¶
func (c *DictHTTPClientImpl) DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...http.CallOption) (*DeleteDictReply, error)
func (*DictHTTPClientImpl) GetDict ¶
func (c *DictHTTPClientImpl) GetDict(ctx context.Context, in *GetDictRequest, opts ...http.CallOption) (*GetDictReply, error)
func (*DictHTTPClientImpl) ListDict ¶
func (c *DictHTTPClientImpl) ListDict(ctx context.Context, in *ListDictRequest, opts ...http.CallOption) (*ListDictReply, error)
func (*DictHTTPClientImpl) ListMyAlarmPage ¶
func (c *DictHTTPClientImpl) ListMyAlarmPage(ctx context.Context, in *ListMyAlarmPageRequest, opts ...http.CallOption) (*ListMyAlarmPageReply, error)
func (*DictHTTPClientImpl) MyAlarmPagesConfig ¶
func (c *DictHTTPClientImpl) MyAlarmPagesConfig(ctx context.Context, in *MyAlarmPagesConfigRequest, opts ...http.CallOption) (*MyAlarmPagesConfigReply, error)
func (*DictHTTPClientImpl) SelectDict ¶
func (c *DictHTTPClientImpl) SelectDict(ctx context.Context, in *SelectDictRequest, opts ...http.CallOption) (*SelectDictReply, error)
func (*DictHTTPClientImpl) UpdateDict ¶
func (c *DictHTTPClientImpl) UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...http.CallOption) (*UpdateDictReply, error)
type DictHTTPServer ¶
type DictHTTPServer interface { // BatchDeleteDict 删除字典列表 BatchDeleteDict(context.Context, *BatchDeleteDictRequest) (*BatchDeleteDictReply, error) // BatchUpdateDictStatus 更新字典状态 BatchUpdateDictStatus(context.Context, *BatchUpdateDictStatusRequest) (*BatchUpdateDictStatusReply, error) // CountAlarmPage 统计各告警页面告警的数量 CountAlarmPage(context.Context, *CountAlarmPageRequest) (*CountAlarmPageReply, error) // CreateDict 创建字典 CreateDict(context.Context, *CreateDictRequest) (*CreateDictReply, error) // DeleteDict 删除字典 DeleteDict(context.Context, *DeleteDictRequest) (*DeleteDictReply, error) // GetDict 获取字典 GetDict(context.Context, *GetDictRequest) (*GetDictReply, error) // ListDict 获取字典列表 ListDict(context.Context, *ListDictRequest) (*ListDictReply, error) // ListMyAlarmPage 我的告警页面列表 ListMyAlarmPage(context.Context, *ListMyAlarmPageRequest) (*ListMyAlarmPageReply, error) // MyAlarmPagesConfig 配置我的告警页面列表 MyAlarmPagesConfig(context.Context, *MyAlarmPagesConfigRequest) (*MyAlarmPagesConfigReply, error) // SelectDict 获取字典列表, 用于下拉选择 SelectDict(context.Context, *SelectDictRequest) (*SelectDictReply, error) // UpdateDict 更新字典 UpdateDict(context.Context, *UpdateDictRequest) (*UpdateDictReply, error) }
type DictServer ¶
type DictServer interface { // 创建字典 CreateDict(context.Context, *CreateDictRequest) (*CreateDictReply, error) // 更新字典 UpdateDict(context.Context, *UpdateDictRequest) (*UpdateDictReply, error) // 更新字典状态 BatchUpdateDictStatus(context.Context, *BatchUpdateDictStatusRequest) (*BatchUpdateDictStatusReply, error) // 删除字典 DeleteDict(context.Context, *DeleteDictRequest) (*DeleteDictReply, error) // 删除字典列表 BatchDeleteDict(context.Context, *BatchDeleteDictRequest) (*BatchDeleteDictReply, error) // 获取字典 GetDict(context.Context, *GetDictRequest) (*GetDictReply, error) // 获取字典列表 ListDict(context.Context, *ListDictRequest) (*ListDictReply, error) // 获取字典列表, 用于下拉选择 SelectDict(context.Context, *SelectDictRequest) (*SelectDictReply, error) // 统计各告警页面告警的数量 CountAlarmPage(context.Context, *CountAlarmPageRequest) (*CountAlarmPageReply, error) // 我的告警页面列表 ListMyAlarmPage(context.Context, *ListMyAlarmPageRequest) (*ListMyAlarmPageReply, error) // 配置我的告警页面列表 MyAlarmPagesConfig(context.Context, *MyAlarmPagesConfigRequest) (*MyAlarmPagesConfigReply, error) // contains filtered or unexported methods }
DictServer is the server API for Dict service. All implementations must embed UnimplementedDictServer for forward compatibility
type EditApiStatusReply ¶
type EditApiStatusReply struct { // 接口ID列表, 修改成功后返回 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
修改API状态响应参数
func (*EditApiStatusReply) Descriptor
deprecated
func (*EditApiStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use EditApiStatusReply.ProtoReflect.Descriptor instead.
func (*EditApiStatusReply) GetIds ¶
func (x *EditApiStatusReply) GetIds() []uint32
func (*EditApiStatusReply) ProtoMessage ¶
func (*EditApiStatusReply) ProtoMessage()
func (*EditApiStatusReply) ProtoReflect ¶
func (x *EditApiStatusReply) ProtoReflect() protoreflect.Message
func (*EditApiStatusReply) Reset ¶
func (x *EditApiStatusReply) Reset()
func (*EditApiStatusReply) String ¶
func (x *EditApiStatusReply) String() string
func (*EditApiStatusReply) Validate ¶
func (m *EditApiStatusReply) Validate() error
Validate checks the field values on EditApiStatusReply 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 (*EditApiStatusReply) ValidateAll ¶
func (m *EditApiStatusReply) ValidateAll() error
ValidateAll checks the field values on EditApiStatusReply 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 EditApiStatusReplyMultiError, or nil if none found.
type EditApiStatusReplyMultiError ¶
type EditApiStatusReplyMultiError []error
EditApiStatusReplyMultiError is an error wrapping multiple validation errors returned by EditApiStatusReply.ValidateAll() if the designated constraints aren't met.
func (EditApiStatusReplyMultiError) AllErrors ¶
func (m EditApiStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditApiStatusReplyMultiError) Error ¶
func (m EditApiStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditApiStatusReplyValidationError ¶
type EditApiStatusReplyValidationError struct {
// contains filtered or unexported fields
}
EditApiStatusReplyValidationError is the validation error returned by EditApiStatusReply.Validate if the designated constraints aren't met.
func (EditApiStatusReplyValidationError) Cause ¶
func (e EditApiStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (EditApiStatusReplyValidationError) Error ¶
func (e EditApiStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditApiStatusReplyValidationError) ErrorName ¶
func (e EditApiStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditApiStatusReplyValidationError) Field ¶
func (e EditApiStatusReplyValidationError) Field() string
Field function returns field value.
func (EditApiStatusReplyValidationError) Key ¶
func (e EditApiStatusReplyValidationError) Key() bool
Key function returns key value.
func (EditApiStatusReplyValidationError) Reason ¶
func (e EditApiStatusReplyValidationError) Reason() string
Reason function returns reason value.
type EditApiStatusRequest ¶
type EditApiStatusRequest struct { // 接口ID列表, 数量限制 1-100, 必填, 唯一, 大于0 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 接口状态, 启用, 禁用, 对应Status枚举 Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
修改API状态请求参数
func (*EditApiStatusRequest) Descriptor
deprecated
func (*EditApiStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditApiStatusRequest.ProtoReflect.Descriptor instead.
func (*EditApiStatusRequest) GetIds ¶
func (x *EditApiStatusRequest) GetIds() []uint32
func (*EditApiStatusRequest) GetStatus ¶
func (x *EditApiStatusRequest) GetStatus() api.Status
func (*EditApiStatusRequest) ProtoMessage ¶
func (*EditApiStatusRequest) ProtoMessage()
func (*EditApiStatusRequest) ProtoReflect ¶
func (x *EditApiStatusRequest) ProtoReflect() protoreflect.Message
func (*EditApiStatusRequest) Reset ¶
func (x *EditApiStatusRequest) Reset()
func (*EditApiStatusRequest) String ¶
func (x *EditApiStatusRequest) String() string
func (*EditApiStatusRequest) Validate ¶
func (m *EditApiStatusRequest) Validate() error
Validate checks the field values on EditApiStatusRequest 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 (*EditApiStatusRequest) ValidateAll ¶
func (m *EditApiStatusRequest) ValidateAll() error
ValidateAll checks the field values on EditApiStatusRequest 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 EditApiStatusRequestMultiError, or nil if none found.
type EditApiStatusRequestMultiError ¶
type EditApiStatusRequestMultiError []error
EditApiStatusRequestMultiError is an error wrapping multiple validation errors returned by EditApiStatusRequest.ValidateAll() if the designated constraints aren't met.
func (EditApiStatusRequestMultiError) AllErrors ¶
func (m EditApiStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditApiStatusRequestMultiError) Error ¶
func (m EditApiStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditApiStatusRequestValidationError ¶
type EditApiStatusRequestValidationError struct {
// contains filtered or unexported fields
}
EditApiStatusRequestValidationError is the validation error returned by EditApiStatusRequest.Validate if the designated constraints aren't met.
func (EditApiStatusRequestValidationError) Cause ¶
func (e EditApiStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (EditApiStatusRequestValidationError) Error ¶
func (e EditApiStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditApiStatusRequestValidationError) ErrorName ¶
func (e EditApiStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditApiStatusRequestValidationError) Field ¶
func (e EditApiStatusRequestValidationError) Field() string
Field function returns field value.
func (EditApiStatusRequestValidationError) Key ¶
func (e EditApiStatusRequestValidationError) Key() bool
Key function returns key value.
func (EditApiStatusRequestValidationError) Reason ¶
func (e EditApiStatusRequestValidationError) Reason() string
Reason function returns reason value.
type EditRoleStatusReply ¶
type EditRoleStatusReply struct { // 角色ID列表, 修改成功后返回 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
修改角色状态响应参数
func (*EditRoleStatusReply) Descriptor
deprecated
func (*EditRoleStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use EditRoleStatusReply.ProtoReflect.Descriptor instead.
func (*EditRoleStatusReply) GetIds ¶
func (x *EditRoleStatusReply) GetIds() []uint32
func (*EditRoleStatusReply) ProtoMessage ¶
func (*EditRoleStatusReply) ProtoMessage()
func (*EditRoleStatusReply) ProtoReflect ¶
func (x *EditRoleStatusReply) ProtoReflect() protoreflect.Message
func (*EditRoleStatusReply) Reset ¶
func (x *EditRoleStatusReply) Reset()
func (*EditRoleStatusReply) String ¶
func (x *EditRoleStatusReply) String() string
func (*EditRoleStatusReply) Validate ¶
func (m *EditRoleStatusReply) Validate() error
Validate checks the field values on EditRoleStatusReply 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 (*EditRoleStatusReply) ValidateAll ¶
func (m *EditRoleStatusReply) ValidateAll() error
ValidateAll checks the field values on EditRoleStatusReply 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 EditRoleStatusReplyMultiError, or nil if none found.
type EditRoleStatusReplyMultiError ¶
type EditRoleStatusReplyMultiError []error
EditRoleStatusReplyMultiError is an error wrapping multiple validation errors returned by EditRoleStatusReply.ValidateAll() if the designated constraints aren't met.
func (EditRoleStatusReplyMultiError) AllErrors ¶
func (m EditRoleStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditRoleStatusReplyMultiError) Error ¶
func (m EditRoleStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditRoleStatusReplyValidationError ¶
type EditRoleStatusReplyValidationError struct {
// contains filtered or unexported fields
}
EditRoleStatusReplyValidationError is the validation error returned by EditRoleStatusReply.Validate if the designated constraints aren't met.
func (EditRoleStatusReplyValidationError) Cause ¶
func (e EditRoleStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (EditRoleStatusReplyValidationError) Error ¶
func (e EditRoleStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditRoleStatusReplyValidationError) ErrorName ¶
func (e EditRoleStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditRoleStatusReplyValidationError) Field ¶
func (e EditRoleStatusReplyValidationError) Field() string
Field function returns field value.
func (EditRoleStatusReplyValidationError) Key ¶
func (e EditRoleStatusReplyValidationError) Key() bool
Key function returns key value.
func (EditRoleStatusReplyValidationError) Reason ¶
func (e EditRoleStatusReplyValidationError) Reason() string
Reason function returns reason value.
type EditRoleStatusRequest ¶
type EditRoleStatusRequest struct { // 用于修改状态的角色ID列表, 数量限制 1-100, 必填, 唯一, 大于0 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 角色状态, 枚举下的值 Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
修改角色状态请求参数
func (*EditRoleStatusRequest) Descriptor
deprecated
func (*EditRoleStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditRoleStatusRequest.ProtoReflect.Descriptor instead.
func (*EditRoleStatusRequest) GetIds ¶
func (x *EditRoleStatusRequest) GetIds() []uint32
func (*EditRoleStatusRequest) GetStatus ¶
func (x *EditRoleStatusRequest) GetStatus() api.Status
func (*EditRoleStatusRequest) ProtoMessage ¶
func (*EditRoleStatusRequest) ProtoMessage()
func (*EditRoleStatusRequest) ProtoReflect ¶
func (x *EditRoleStatusRequest) ProtoReflect() protoreflect.Message
func (*EditRoleStatusRequest) Reset ¶
func (x *EditRoleStatusRequest) Reset()
func (*EditRoleStatusRequest) String ¶
func (x *EditRoleStatusRequest) String() string
func (*EditRoleStatusRequest) Validate ¶
func (m *EditRoleStatusRequest) Validate() error
Validate checks the field values on EditRoleStatusRequest 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 (*EditRoleStatusRequest) ValidateAll ¶
func (m *EditRoleStatusRequest) ValidateAll() error
ValidateAll checks the field values on EditRoleStatusRequest 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 EditRoleStatusRequestMultiError, or nil if none found.
type EditRoleStatusRequestMultiError ¶
type EditRoleStatusRequestMultiError []error
EditRoleStatusRequestMultiError is an error wrapping multiple validation errors returned by EditRoleStatusRequest.ValidateAll() if the designated constraints aren't met.
func (EditRoleStatusRequestMultiError) AllErrors ¶
func (m EditRoleStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditRoleStatusRequestMultiError) Error ¶
func (m EditRoleStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditRoleStatusRequestValidationError ¶
type EditRoleStatusRequestValidationError struct {
// contains filtered or unexported fields
}
EditRoleStatusRequestValidationError is the validation error returned by EditRoleStatusRequest.Validate if the designated constraints aren't met.
func (EditRoleStatusRequestValidationError) Cause ¶
func (e EditRoleStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (EditRoleStatusRequestValidationError) Error ¶
func (e EditRoleStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditRoleStatusRequestValidationError) ErrorName ¶
func (e EditRoleStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditRoleStatusRequestValidationError) Field ¶
func (e EditRoleStatusRequestValidationError) Field() string
Field function returns field value.
func (EditRoleStatusRequestValidationError) Key ¶
func (e EditRoleStatusRequestValidationError) Key() bool
Key function returns key value.
func (EditRoleStatusRequestValidationError) Reason ¶
func (e EditRoleStatusRequestValidationError) Reason() string
Reason function returns reason value.
type EditUserPasswordReply ¶
type EditUserPasswordReply struct { // 用户ID, 修改成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
修改密码响应参数
func (*EditUserPasswordReply) Descriptor
deprecated
func (*EditUserPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use EditUserPasswordReply.ProtoReflect.Descriptor instead.
func (*EditUserPasswordReply) GetId ¶
func (x *EditUserPasswordReply) GetId() uint32
func (*EditUserPasswordReply) ProtoMessage ¶
func (*EditUserPasswordReply) ProtoMessage()
func (*EditUserPasswordReply) ProtoReflect ¶
func (x *EditUserPasswordReply) ProtoReflect() protoreflect.Message
func (*EditUserPasswordReply) Reset ¶
func (x *EditUserPasswordReply) Reset()
func (*EditUserPasswordReply) String ¶
func (x *EditUserPasswordReply) String() string
func (*EditUserPasswordReply) Validate ¶
func (m *EditUserPasswordReply) Validate() error
Validate checks the field values on EditUserPasswordReply 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 (*EditUserPasswordReply) ValidateAll ¶
func (m *EditUserPasswordReply) ValidateAll() error
ValidateAll checks the field values on EditUserPasswordReply 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 EditUserPasswordReplyMultiError, or nil if none found.
type EditUserPasswordReplyMultiError ¶
type EditUserPasswordReplyMultiError []error
EditUserPasswordReplyMultiError is an error wrapping multiple validation errors returned by EditUserPasswordReply.ValidateAll() if the designated constraints aren't met.
func (EditUserPasswordReplyMultiError) AllErrors ¶
func (m EditUserPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditUserPasswordReplyMultiError) Error ¶
func (m EditUserPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditUserPasswordReplyValidationError ¶
type EditUserPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
EditUserPasswordReplyValidationError is the validation error returned by EditUserPasswordReply.Validate if the designated constraints aren't met.
func (EditUserPasswordReplyValidationError) Cause ¶
func (e EditUserPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (EditUserPasswordReplyValidationError) Error ¶
func (e EditUserPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditUserPasswordReplyValidationError) ErrorName ¶
func (e EditUserPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditUserPasswordReplyValidationError) Field ¶
func (e EditUserPasswordReplyValidationError) Field() string
Field function returns field value.
func (EditUserPasswordReplyValidationError) Key ¶
func (e EditUserPasswordReplyValidationError) Key() bool
Key function returns key value.
func (EditUserPasswordReplyValidationError) Reason ¶
func (e EditUserPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type EditUserPasswordRequest ¶
type EditUserPasswordRequest struct { // 旧密码, aes加密后的字符串 OldPassword string `protobuf:"bytes,1,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"` // 新密码, aes加密后的字符串 NewPassword string `protobuf:"bytes,2,opt,name=newPassword,proto3" json:"newPassword,omitempty"` // 验证码 Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // 验证码id CaptchaId string `protobuf:"bytes,4,opt,name=captchaId,proto3" json:"captchaId,omitempty"` // contains filtered or unexported fields }
修改密码请求参数
func (*EditUserPasswordRequest) Descriptor
deprecated
func (*EditUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*EditUserPasswordRequest) GetCaptchaId ¶
func (x *EditUserPasswordRequest) GetCaptchaId() string
func (*EditUserPasswordRequest) GetCode ¶
func (x *EditUserPasswordRequest) GetCode() string
func (*EditUserPasswordRequest) GetNewPassword ¶
func (x *EditUserPasswordRequest) GetNewPassword() string
func (*EditUserPasswordRequest) GetOldPassword ¶
func (x *EditUserPasswordRequest) GetOldPassword() string
func (*EditUserPasswordRequest) ProtoMessage ¶
func (*EditUserPasswordRequest) ProtoMessage()
func (*EditUserPasswordRequest) ProtoReflect ¶
func (x *EditUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*EditUserPasswordRequest) Reset ¶
func (x *EditUserPasswordRequest) Reset()
func (*EditUserPasswordRequest) String ¶
func (x *EditUserPasswordRequest) String() string
func (*EditUserPasswordRequest) Validate ¶
func (m *EditUserPasswordRequest) Validate() error
Validate checks the field values on EditUserPasswordRequest 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 (*EditUserPasswordRequest) ValidateAll ¶
func (m *EditUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on EditUserPasswordRequest 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 EditUserPasswordRequestMultiError, or nil if none found.
type EditUserPasswordRequestMultiError ¶
type EditUserPasswordRequestMultiError []error
EditUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by EditUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (EditUserPasswordRequestMultiError) AllErrors ¶
func (m EditUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditUserPasswordRequestMultiError) Error ¶
func (m EditUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditUserPasswordRequestValidationError ¶
type EditUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
EditUserPasswordRequestValidationError is the validation error returned by EditUserPasswordRequest.Validate if the designated constraints aren't met.
func (EditUserPasswordRequestValidationError) Cause ¶
func (e EditUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (EditUserPasswordRequestValidationError) Error ¶
func (e EditUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditUserPasswordRequestValidationError) ErrorName ¶
func (e EditUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditUserPasswordRequestValidationError) Field ¶
func (e EditUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (EditUserPasswordRequestValidationError) Key ¶
func (e EditUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (EditUserPasswordRequestValidationError) Reason ¶
func (e EditUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type EditUserStatusReply ¶
type EditUserStatusReply struct { // 用户ID列表, 修改成功后返回 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
修改状态响应参数
func (*EditUserStatusReply) Descriptor
deprecated
func (*EditUserStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use EditUserStatusReply.ProtoReflect.Descriptor instead.
func (*EditUserStatusReply) GetIds ¶
func (x *EditUserStatusReply) GetIds() []uint32
func (*EditUserStatusReply) ProtoMessage ¶
func (*EditUserStatusReply) ProtoMessage()
func (*EditUserStatusReply) ProtoReflect ¶
func (x *EditUserStatusReply) ProtoReflect() protoreflect.Message
func (*EditUserStatusReply) Reset ¶
func (x *EditUserStatusReply) Reset()
func (*EditUserStatusReply) String ¶
func (x *EditUserStatusReply) String() string
func (*EditUserStatusReply) Validate ¶
func (m *EditUserStatusReply) Validate() error
Validate checks the field values on EditUserStatusReply 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 (*EditUserStatusReply) ValidateAll ¶
func (m *EditUserStatusReply) ValidateAll() error
ValidateAll checks the field values on EditUserStatusReply 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 EditUserStatusReplyMultiError, or nil if none found.
type EditUserStatusReplyMultiError ¶
type EditUserStatusReplyMultiError []error
EditUserStatusReplyMultiError is an error wrapping multiple validation errors returned by EditUserStatusReply.ValidateAll() if the designated constraints aren't met.
func (EditUserStatusReplyMultiError) AllErrors ¶
func (m EditUserStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditUserStatusReplyMultiError) Error ¶
func (m EditUserStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditUserStatusReplyValidationError ¶
type EditUserStatusReplyValidationError struct {
// contains filtered or unexported fields
}
EditUserStatusReplyValidationError is the validation error returned by EditUserStatusReply.Validate if the designated constraints aren't met.
func (EditUserStatusReplyValidationError) Cause ¶
func (e EditUserStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (EditUserStatusReplyValidationError) Error ¶
func (e EditUserStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditUserStatusReplyValidationError) ErrorName ¶
func (e EditUserStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditUserStatusReplyValidationError) Field ¶
func (e EditUserStatusReplyValidationError) Field() string
Field function returns field value.
func (EditUserStatusReplyValidationError) Key ¶
func (e EditUserStatusReplyValidationError) Key() bool
Key function returns key value.
func (EditUserStatusReplyValidationError) Reason ¶
func (e EditUserStatusReplyValidationError) Reason() string
Reason function returns reason value.
type EditUserStatusRequest ¶
type EditUserStatusRequest struct { // 用户ID列表, 数量限制 1-100, 必填, 唯一, 大于0 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 状态, 必须为系统枚举类型数据, 参考Status, 不允许为0 Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
修改状态请求参数
func (*EditUserStatusRequest) Descriptor
deprecated
func (*EditUserStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditUserStatusRequest.ProtoReflect.Descriptor instead.
func (*EditUserStatusRequest) GetIds ¶
func (x *EditUserStatusRequest) GetIds() []uint32
func (*EditUserStatusRequest) GetStatus ¶
func (x *EditUserStatusRequest) GetStatus() api.Status
func (*EditUserStatusRequest) ProtoMessage ¶
func (*EditUserStatusRequest) ProtoMessage()
func (*EditUserStatusRequest) ProtoReflect ¶
func (x *EditUserStatusRequest) ProtoReflect() protoreflect.Message
func (*EditUserStatusRequest) Reset ¶
func (x *EditUserStatusRequest) Reset()
func (*EditUserStatusRequest) String ¶
func (x *EditUserStatusRequest) String() string
func (*EditUserStatusRequest) Validate ¶
func (m *EditUserStatusRequest) Validate() error
Validate checks the field values on EditUserStatusRequest 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 (*EditUserStatusRequest) ValidateAll ¶
func (m *EditUserStatusRequest) ValidateAll() error
ValidateAll checks the field values on EditUserStatusRequest 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 EditUserStatusRequestMultiError, or nil if none found.
type EditUserStatusRequestMultiError ¶
type EditUserStatusRequestMultiError []error
EditUserStatusRequestMultiError is an error wrapping multiple validation errors returned by EditUserStatusRequest.ValidateAll() if the designated constraints aren't met.
func (EditUserStatusRequestMultiError) AllErrors ¶
func (m EditUserStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditUserStatusRequestMultiError) Error ¶
func (m EditUserStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditUserStatusRequestValidationError ¶
type EditUserStatusRequestValidationError struct {
// contains filtered or unexported fields
}
EditUserStatusRequestValidationError is the validation error returned by EditUserStatusRequest.Validate if the designated constraints aren't met.
func (EditUserStatusRequestValidationError) Cause ¶
func (e EditUserStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (EditUserStatusRequestValidationError) Error ¶
func (e EditUserStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EditUserStatusRequestValidationError) ErrorName ¶
func (e EditUserStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EditUserStatusRequestValidationError) Field ¶
func (e EditUserStatusRequestValidationError) Field() string
Field function returns field value.
func (EditUserStatusRequestValidationError) Key ¶
func (e EditUserStatusRequestValidationError) Key() bool
Key function returns key value.
func (EditUserStatusRequestValidationError) Reason ¶
func (e EditUserStatusRequestValidationError) Reason() string
Reason function returns reason value.
type GetApiReply ¶
type GetApiReply struct { // 接口信息 Detail *api.ApiV1 `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取API数据响应参数
func (*GetApiReply) Descriptor
deprecated
func (*GetApiReply) Descriptor() ([]byte, []int)
Deprecated: Use GetApiReply.ProtoReflect.Descriptor instead.
func (*GetApiReply) GetDetail ¶
func (x *GetApiReply) GetDetail() *api.ApiV1
func (*GetApiReply) ProtoMessage ¶
func (*GetApiReply) ProtoMessage()
func (*GetApiReply) ProtoReflect ¶
func (x *GetApiReply) ProtoReflect() protoreflect.Message
func (*GetApiReply) Reset ¶
func (x *GetApiReply) Reset()
func (*GetApiReply) String ¶
func (x *GetApiReply) String() string
func (*GetApiReply) Validate ¶
func (m *GetApiReply) Validate() error
Validate checks the field values on GetApiReply 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 (*GetApiReply) ValidateAll ¶
func (m *GetApiReply) ValidateAll() error
ValidateAll checks the field values on GetApiReply 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 GetApiReplyMultiError, or nil if none found.
type GetApiReplyMultiError ¶
type GetApiReplyMultiError []error
GetApiReplyMultiError is an error wrapping multiple validation errors returned by GetApiReply.ValidateAll() if the designated constraints aren't met.
func (GetApiReplyMultiError) AllErrors ¶
func (m GetApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetApiReplyMultiError) Error ¶
func (m GetApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetApiReplyValidationError ¶
type GetApiReplyValidationError struct {
// contains filtered or unexported fields
}
GetApiReplyValidationError is the validation error returned by GetApiReply.Validate if the designated constraints aren't met.
func (GetApiReplyValidationError) Cause ¶
func (e GetApiReplyValidationError) Cause() error
Cause function returns cause value.
func (GetApiReplyValidationError) Error ¶
func (e GetApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetApiReplyValidationError) ErrorName ¶
func (e GetApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetApiReplyValidationError) Field ¶
func (e GetApiReplyValidationError) Field() string
Field function returns field value.
func (GetApiReplyValidationError) Key ¶
func (e GetApiReplyValidationError) Key() bool
Key function returns key value.
func (GetApiReplyValidationError) Reason ¶
func (e GetApiReplyValidationError) Reason() string
Reason function returns reason value.
type GetApiRequest ¶
type GetApiRequest struct { // 接口ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取API数据请求参数
func (*GetApiRequest) Descriptor
deprecated
func (*GetApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApiRequest.ProtoReflect.Descriptor instead.
func (*GetApiRequest) GetId ¶
func (x *GetApiRequest) GetId() uint32
func (*GetApiRequest) ProtoMessage ¶
func (*GetApiRequest) ProtoMessage()
func (*GetApiRequest) ProtoReflect ¶
func (x *GetApiRequest) ProtoReflect() protoreflect.Message
func (*GetApiRequest) Reset ¶
func (x *GetApiRequest) Reset()
func (*GetApiRequest) String ¶
func (x *GetApiRequest) String() string
func (*GetApiRequest) Validate ¶
func (m *GetApiRequest) Validate() error
Validate checks the field values on GetApiRequest 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 (*GetApiRequest) ValidateAll ¶
func (m *GetApiRequest) ValidateAll() error
ValidateAll checks the field values on GetApiRequest 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 GetApiRequestMultiError, or nil if none found.
type GetApiRequestMultiError ¶
type GetApiRequestMultiError []error
GetApiRequestMultiError is an error wrapping multiple validation errors returned by GetApiRequest.ValidateAll() if the designated constraints aren't met.
func (GetApiRequestMultiError) AllErrors ¶
func (m GetApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetApiRequestMultiError) Error ¶
func (m GetApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetApiRequestValidationError ¶
type GetApiRequestValidationError struct {
// contains filtered or unexported fields
}
GetApiRequestValidationError is the validation error returned by GetApiRequest.Validate if the designated constraints aren't met.
func (GetApiRequestValidationError) Cause ¶
func (e GetApiRequestValidationError) Cause() error
Cause function returns cause value.
func (GetApiRequestValidationError) Error ¶
func (e GetApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetApiRequestValidationError) ErrorName ¶
func (e GetApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetApiRequestValidationError) Field ¶
func (e GetApiRequestValidationError) Field() string
Field function returns field value.
func (GetApiRequestValidationError) Key ¶
func (e GetApiRequestValidationError) Key() bool
Key function returns key value.
func (GetApiRequestValidationError) Reason ¶
func (e GetApiRequestValidationError) Reason() string
Reason function returns reason value.
type GetApiTreeReply ¶
type GetApiTreeReply struct { // 权限树 Tree []*api.ApiTree `protobuf:"bytes,1,rep,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
获取API权限树响应参数
func (*GetApiTreeReply) Descriptor
deprecated
func (*GetApiTreeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetApiTreeReply.ProtoReflect.Descriptor instead.
func (*GetApiTreeReply) GetTree ¶
func (x *GetApiTreeReply) GetTree() []*api.ApiTree
func (*GetApiTreeReply) ProtoMessage ¶
func (*GetApiTreeReply) ProtoMessage()
func (*GetApiTreeReply) ProtoReflect ¶
func (x *GetApiTreeReply) ProtoReflect() protoreflect.Message
func (*GetApiTreeReply) Reset ¶
func (x *GetApiTreeReply) Reset()
func (*GetApiTreeReply) String ¶
func (x *GetApiTreeReply) String() string
func (*GetApiTreeReply) Validate ¶
func (m *GetApiTreeReply) Validate() error
Validate checks the field values on GetApiTreeReply 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 (*GetApiTreeReply) ValidateAll ¶
func (m *GetApiTreeReply) ValidateAll() error
ValidateAll checks the field values on GetApiTreeReply 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 GetApiTreeReplyMultiError, or nil if none found.
type GetApiTreeReplyMultiError ¶
type GetApiTreeReplyMultiError []error
GetApiTreeReplyMultiError is an error wrapping multiple validation errors returned by GetApiTreeReply.ValidateAll() if the designated constraints aren't met.
func (GetApiTreeReplyMultiError) AllErrors ¶
func (m GetApiTreeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetApiTreeReplyMultiError) Error ¶
func (m GetApiTreeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetApiTreeReplyValidationError ¶
type GetApiTreeReplyValidationError struct {
// contains filtered or unexported fields
}
GetApiTreeReplyValidationError is the validation error returned by GetApiTreeReply.Validate if the designated constraints aren't met.
func (GetApiTreeReplyValidationError) Cause ¶
func (e GetApiTreeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetApiTreeReplyValidationError) Error ¶
func (e GetApiTreeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetApiTreeReplyValidationError) ErrorName ¶
func (e GetApiTreeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetApiTreeReplyValidationError) Field ¶
func (e GetApiTreeReplyValidationError) Field() string
Field function returns field value.
func (GetApiTreeReplyValidationError) Key ¶
func (e GetApiTreeReplyValidationError) Key() bool
Key function returns key value.
func (GetApiTreeReplyValidationError) Reason ¶
func (e GetApiTreeReplyValidationError) Reason() string
Reason function returns reason value.
type GetApiTreeRequest ¶
type GetApiTreeRequest struct {
// contains filtered or unexported fields
}
获取API权限树请求参数
func (*GetApiTreeRequest) Descriptor
deprecated
func (*GetApiTreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApiTreeRequest.ProtoReflect.Descriptor instead.
func (*GetApiTreeRequest) ProtoMessage ¶
func (*GetApiTreeRequest) ProtoMessage()
func (*GetApiTreeRequest) ProtoReflect ¶
func (x *GetApiTreeRequest) ProtoReflect() protoreflect.Message
func (*GetApiTreeRequest) Reset ¶
func (x *GetApiTreeRequest) Reset()
func (*GetApiTreeRequest) String ¶
func (x *GetApiTreeRequest) String() string
func (*GetApiTreeRequest) Validate ¶
func (m *GetApiTreeRequest) Validate() error
Validate checks the field values on GetApiTreeRequest 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 (*GetApiTreeRequest) ValidateAll ¶
func (m *GetApiTreeRequest) ValidateAll() error
ValidateAll checks the field values on GetApiTreeRequest 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 GetApiTreeRequestMultiError, or nil if none found.
type GetApiTreeRequestMultiError ¶
type GetApiTreeRequestMultiError []error
GetApiTreeRequestMultiError is an error wrapping multiple validation errors returned by GetApiTreeRequest.ValidateAll() if the designated constraints aren't met.
func (GetApiTreeRequestMultiError) AllErrors ¶
func (m GetApiTreeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetApiTreeRequestMultiError) Error ¶
func (m GetApiTreeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetApiTreeRequestValidationError ¶
type GetApiTreeRequestValidationError struct {
// contains filtered or unexported fields
}
GetApiTreeRequestValidationError is the validation error returned by GetApiTreeRequest.Validate if the designated constraints aren't met.
func (GetApiTreeRequestValidationError) Cause ¶
func (e GetApiTreeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetApiTreeRequestValidationError) Error ¶
func (e GetApiTreeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetApiTreeRequestValidationError) ErrorName ¶
func (e GetApiTreeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetApiTreeRequestValidationError) Field ¶
func (e GetApiTreeRequestValidationError) Field() string
Field function returns field value.
func (GetApiTreeRequestValidationError) Key ¶
func (e GetApiTreeRequestValidationError) Key() bool
Key function returns key value.
func (GetApiTreeRequestValidationError) Reason ¶
func (e GetApiTreeRequestValidationError) Reason() string
Reason function returns reason value.
type GetDictReply ¶
type GetDictReply struct { // 字典详情 PromDict *api.DictV1 `protobuf:"bytes,1,opt,name=promDict,proto3" json:"promDict,omitempty"` // contains filtered or unexported fields }
获取字典响应参数
func (*GetDictReply) Descriptor
deprecated
func (*GetDictReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDictReply.ProtoReflect.Descriptor instead.
func (*GetDictReply) GetPromDict ¶
func (x *GetDictReply) GetPromDict() *api.DictV1
func (*GetDictReply) ProtoMessage ¶
func (*GetDictReply) ProtoMessage()
func (*GetDictReply) ProtoReflect ¶
func (x *GetDictReply) ProtoReflect() protoreflect.Message
func (*GetDictReply) Reset ¶
func (x *GetDictReply) Reset()
func (*GetDictReply) String ¶
func (x *GetDictReply) String() string
func (*GetDictReply) Validate ¶
func (m *GetDictReply) Validate() error
Validate checks the field values on GetDictReply 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 (*GetDictReply) ValidateAll ¶
func (m *GetDictReply) ValidateAll() error
ValidateAll checks the field values on GetDictReply 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 GetDictReplyMultiError, or nil if none found.
type GetDictReplyMultiError ¶
type GetDictReplyMultiError []error
GetDictReplyMultiError is an error wrapping multiple validation errors returned by GetDictReply.ValidateAll() if the designated constraints aren't met.
func (GetDictReplyMultiError) AllErrors ¶
func (m GetDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDictReplyMultiError) Error ¶
func (m GetDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDictReplyValidationError ¶
type GetDictReplyValidationError struct {
// contains filtered or unexported fields
}
GetDictReplyValidationError is the validation error returned by GetDictReply.Validate if the designated constraints aren't met.
func (GetDictReplyValidationError) Cause ¶
func (e GetDictReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDictReplyValidationError) Error ¶
func (e GetDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDictReplyValidationError) ErrorName ¶
func (e GetDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDictReplyValidationError) Field ¶
func (e GetDictReplyValidationError) Field() string
Field function returns field value.
func (GetDictReplyValidationError) Key ¶
func (e GetDictReplyValidationError) Key() bool
Key function returns key value.
func (GetDictReplyValidationError) Reason ¶
func (e GetDictReplyValidationError) Reason() string
Reason function returns reason value.
type GetDictRequest ¶
type GetDictRequest struct { // 需要获取的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 是否获取已删除的字典 IsDeleted bool `protobuf:"varint,2,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` // contains filtered or unexported fields }
获取字典请求参数
func (*GetDictRequest) Descriptor
deprecated
func (*GetDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDictRequest.ProtoReflect.Descriptor instead.
func (*GetDictRequest) GetId ¶
func (x *GetDictRequest) GetId() uint32
func (*GetDictRequest) GetIsDeleted ¶
func (x *GetDictRequest) GetIsDeleted() bool
func (*GetDictRequest) ProtoMessage ¶
func (*GetDictRequest) ProtoMessage()
func (*GetDictRequest) ProtoReflect ¶
func (x *GetDictRequest) ProtoReflect() protoreflect.Message
func (*GetDictRequest) Reset ¶
func (x *GetDictRequest) Reset()
func (*GetDictRequest) String ¶
func (x *GetDictRequest) String() string
func (*GetDictRequest) Validate ¶
func (m *GetDictRequest) Validate() error
Validate checks the field values on GetDictRequest 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 (*GetDictRequest) ValidateAll ¶
func (m *GetDictRequest) ValidateAll() error
ValidateAll checks the field values on GetDictRequest 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 GetDictRequestMultiError, or nil if none found.
type GetDictRequestMultiError ¶
type GetDictRequestMultiError []error
GetDictRequestMultiError is an error wrapping multiple validation errors returned by GetDictRequest.ValidateAll() if the designated constraints aren't met.
func (GetDictRequestMultiError) AllErrors ¶
func (m GetDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDictRequestMultiError) Error ¶
func (m GetDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDictRequestValidationError ¶
type GetDictRequestValidationError struct {
// contains filtered or unexported fields
}
GetDictRequestValidationError is the validation error returned by GetDictRequest.Validate if the designated constraints aren't met.
func (GetDictRequestValidationError) Cause ¶
func (e GetDictRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDictRequestValidationError) Error ¶
func (e GetDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDictRequestValidationError) ErrorName ¶
func (e GetDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDictRequestValidationError) Field ¶
func (e GetDictRequestValidationError) Field() string
Field function returns field value.
func (GetDictRequestValidationError) Key ¶
func (e GetDictRequestValidationError) Key() bool
Key function returns key value.
func (GetDictRequestValidationError) Reason ¶
func (e GetDictRequestValidationError) Reason() string
Reason function returns reason value.
type GetRoleReply ¶
type GetRoleReply struct { // 角色详情信息 Detail *api.RoleV1 `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取角色响应参数
func (*GetRoleReply) Descriptor
deprecated
func (*GetRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleReply.ProtoReflect.Descriptor instead.
func (*GetRoleReply) GetDetail ¶
func (x *GetRoleReply) GetDetail() *api.RoleV1
func (*GetRoleReply) ProtoMessage ¶
func (*GetRoleReply) ProtoMessage()
func (*GetRoleReply) ProtoReflect ¶
func (x *GetRoleReply) ProtoReflect() protoreflect.Message
func (*GetRoleReply) Reset ¶
func (x *GetRoleReply) Reset()
func (*GetRoleReply) String ¶
func (x *GetRoleReply) String() string
func (*GetRoleReply) Validate ¶
func (m *GetRoleReply) Validate() error
Validate checks the field values on GetRoleReply 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 (*GetRoleReply) ValidateAll ¶
func (m *GetRoleReply) ValidateAll() error
ValidateAll checks the field values on GetRoleReply 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 GetRoleReplyMultiError, or nil if none found.
type GetRoleReplyMultiError ¶
type GetRoleReplyMultiError []error
GetRoleReplyMultiError is an error wrapping multiple validation errors returned by GetRoleReply.ValidateAll() if the designated constraints aren't met.
func (GetRoleReplyMultiError) AllErrors ¶
func (m GetRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleReplyMultiError) Error ¶
func (m GetRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleReplyValidationError ¶
type GetRoleReplyValidationError struct {
// contains filtered or unexported fields
}
GetRoleReplyValidationError is the validation error returned by GetRoleReply.Validate if the designated constraints aren't met.
func (GetRoleReplyValidationError) Cause ¶
func (e GetRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (GetRoleReplyValidationError) Error ¶
func (e GetRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleReplyValidationError) ErrorName ¶
func (e GetRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleReplyValidationError) Field ¶
func (e GetRoleReplyValidationError) Field() string
Field function returns field value.
func (GetRoleReplyValidationError) Key ¶
func (e GetRoleReplyValidationError) Key() bool
Key function returns key value.
func (GetRoleReplyValidationError) Reason ¶
func (e GetRoleReplyValidationError) Reason() string
Reason function returns reason value.
type GetRoleRequest ¶
type GetRoleRequest struct { // 用于获取的角色ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取角色请求参数
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) GetId ¶
func (x *GetRoleRequest) GetId() uint32
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
func (*GetRoleRequest) Validate ¶
func (m *GetRoleRequest) Validate() error
Validate checks the field values on GetRoleRequest 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 (*GetRoleRequest) ValidateAll ¶
func (m *GetRoleRequest) ValidateAll() error
ValidateAll checks the field values on GetRoleRequest 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 GetRoleRequestMultiError, or nil if none found.
type GetRoleRequestMultiError ¶
type GetRoleRequestMultiError []error
GetRoleRequestMultiError is an error wrapping multiple validation errors returned by GetRoleRequest.ValidateAll() if the designated constraints aren't met.
func (GetRoleRequestMultiError) AllErrors ¶
func (m GetRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleRequestMultiError) Error ¶
func (m GetRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleRequestValidationError ¶
type GetRoleRequestValidationError struct {
// contains filtered or unexported fields
}
GetRoleRequestValidationError is the validation error returned by GetRoleRequest.Validate if the designated constraints aren't met.
func (GetRoleRequestValidationError) Cause ¶
func (e GetRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRoleRequestValidationError) Error ¶
func (e GetRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleRequestValidationError) ErrorName ¶
func (e GetRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleRequestValidationError) Field ¶
func (e GetRoleRequestValidationError) Field() string
Field function returns field value.
func (GetRoleRequestValidationError) Key ¶
func (e GetRoleRequestValidationError) Key() bool
Key function returns key value.
func (GetRoleRequestValidationError) Reason ¶
func (e GetRoleRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserReply ¶
type GetUserReply struct { // 用户详情信息 Detail *api.UserV1 `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取用户响应参数
func (*GetUserReply) Descriptor
deprecated
func (*GetUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.
func (*GetUserReply) GetDetail ¶
func (x *GetUserReply) GetDetail() *api.UserV1
func (*GetUserReply) ProtoMessage ¶
func (*GetUserReply) ProtoMessage()
func (*GetUserReply) ProtoReflect ¶
func (x *GetUserReply) ProtoReflect() protoreflect.Message
func (*GetUserReply) Reset ¶
func (x *GetUserReply) Reset()
func (*GetUserReply) String ¶
func (x *GetUserReply) String() string
func (*GetUserReply) Validate ¶
func (m *GetUserReply) Validate() error
Validate checks the field values on GetUserReply 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 (*GetUserReply) ValidateAll ¶
func (m *GetUserReply) ValidateAll() error
ValidateAll checks the field values on GetUserReply 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 GetUserReplyMultiError, or nil if none found.
type GetUserReplyMultiError ¶
type GetUserReplyMultiError []error
GetUserReplyMultiError is an error wrapping multiple validation errors returned by GetUserReply.ValidateAll() if the designated constraints aren't met.
func (GetUserReplyMultiError) AllErrors ¶
func (m GetUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReplyMultiError) Error ¶
func (m GetUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReplyValidationError ¶
type GetUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserReplyValidationError is the validation error returned by GetUserReply.Validate if the designated constraints aren't met.
func (GetUserReplyValidationError) Cause ¶
func (e GetUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserReplyValidationError) Error ¶
func (e GetUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReplyValidationError) ErrorName ¶
func (e GetUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReplyValidationError) Field ¶
func (e GetUserReplyValidationError) Field() string
Field function returns field value.
func (GetUserReplyValidationError) Key ¶
func (e GetUserReplyValidationError) Key() bool
Key function returns key value.
func (GetUserReplyValidationError) Reason ¶
func (e GetUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { // 需要查询数据的用户ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取用户请求参数
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() uint32
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest 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 (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest 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 GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
type ListApiReply ¶
type ListApiReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // API列表 List []*api.ApiV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取API列表响应参数
func (*ListApiReply) Descriptor
deprecated
func (*ListApiReply) Descriptor() ([]byte, []int)
Deprecated: Use ListApiReply.ProtoReflect.Descriptor instead.
func (*ListApiReply) GetList ¶
func (x *ListApiReply) GetList() []*api.ApiV1
func (*ListApiReply) GetPage ¶
func (x *ListApiReply) GetPage() *api.PageReply
func (*ListApiReply) ProtoMessage ¶
func (*ListApiReply) ProtoMessage()
func (*ListApiReply) ProtoReflect ¶
func (x *ListApiReply) ProtoReflect() protoreflect.Message
func (*ListApiReply) Reset ¶
func (x *ListApiReply) Reset()
func (*ListApiReply) String ¶
func (x *ListApiReply) String() string
func (*ListApiReply) Validate ¶
func (m *ListApiReply) Validate() error
Validate checks the field values on ListApiReply 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 (*ListApiReply) ValidateAll ¶
func (m *ListApiReply) ValidateAll() error
ValidateAll checks the field values on ListApiReply 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 ListApiReplyMultiError, or nil if none found.
type ListApiReplyMultiError ¶
type ListApiReplyMultiError []error
ListApiReplyMultiError is an error wrapping multiple validation errors returned by ListApiReply.ValidateAll() if the designated constraints aren't met.
func (ListApiReplyMultiError) AllErrors ¶
func (m ListApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListApiReplyMultiError) Error ¶
func (m ListApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListApiReplyValidationError ¶
type ListApiReplyValidationError struct {
// contains filtered or unexported fields
}
ListApiReplyValidationError is the validation error returned by ListApiReply.Validate if the designated constraints aren't met.
func (ListApiReplyValidationError) Cause ¶
func (e ListApiReplyValidationError) Cause() error
Cause function returns cause value.
func (ListApiReplyValidationError) Error ¶
func (e ListApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListApiReplyValidationError) ErrorName ¶
func (e ListApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListApiReplyValidationError) Field ¶
func (e ListApiReplyValidationError) Field() string
Field function returns field value.
func (ListApiReplyValidationError) Key ¶
func (e ListApiReplyValidationError) Key() bool
Key function returns key value.
func (ListApiReplyValidationError) Reason ¶
func (e ListApiReplyValidationError) Reason() string
Reason function returns reason value.
type ListApiRequest ¶
type ListApiRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制0-20 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取API列表请求参数
func (*ListApiRequest) Descriptor
deprecated
func (*ListApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApiRequest.ProtoReflect.Descriptor instead.
func (*ListApiRequest) GetKeyword ¶
func (x *ListApiRequest) GetKeyword() string
func (*ListApiRequest) GetPage ¶
func (x *ListApiRequest) GetPage() *api.PageRequest
func (*ListApiRequest) GetStatus ¶
func (x *ListApiRequest) GetStatus() api.Status
func (*ListApiRequest) ProtoMessage ¶
func (*ListApiRequest) ProtoMessage()
func (*ListApiRequest) ProtoReflect ¶
func (x *ListApiRequest) ProtoReflect() protoreflect.Message
func (*ListApiRequest) Reset ¶
func (x *ListApiRequest) Reset()
func (*ListApiRequest) String ¶
func (x *ListApiRequest) String() string
func (*ListApiRequest) Validate ¶
func (m *ListApiRequest) Validate() error
Validate checks the field values on ListApiRequest 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 (*ListApiRequest) ValidateAll ¶
func (m *ListApiRequest) ValidateAll() error
ValidateAll checks the field values on ListApiRequest 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 ListApiRequestMultiError, or nil if none found.
type ListApiRequestMultiError ¶
type ListApiRequestMultiError []error
ListApiRequestMultiError is an error wrapping multiple validation errors returned by ListApiRequest.ValidateAll() if the designated constraints aren't met.
func (ListApiRequestMultiError) AllErrors ¶
func (m ListApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListApiRequestMultiError) Error ¶
func (m ListApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListApiRequestValidationError ¶
type ListApiRequestValidationError struct {
// contains filtered or unexported fields
}
ListApiRequestValidationError is the validation error returned by ListApiRequest.Validate if the designated constraints aren't met.
func (ListApiRequestValidationError) Cause ¶
func (e ListApiRequestValidationError) Cause() error
Cause function returns cause value.
func (ListApiRequestValidationError) Error ¶
func (e ListApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListApiRequestValidationError) ErrorName ¶
func (e ListApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListApiRequestValidationError) Field ¶
func (e ListApiRequestValidationError) Field() string
Field function returns field value.
func (ListApiRequestValidationError) Key ¶
func (e ListApiRequestValidationError) Key() bool
Key function returns key value.
func (ListApiRequestValidationError) Reason ¶
func (e ListApiRequestValidationError) Reason() string
Reason function returns reason value.
type ListDictReply ¶
type ListDictReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 字典列表 List []*api.DictV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取字典列表响应参数
func (*ListDictReply) Descriptor
deprecated
func (*ListDictReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDictReply.ProtoReflect.Descriptor instead.
func (*ListDictReply) GetList ¶
func (x *ListDictReply) GetList() []*api.DictV1
func (*ListDictReply) GetPage ¶
func (x *ListDictReply) GetPage() *api.PageReply
func (*ListDictReply) ProtoMessage ¶
func (*ListDictReply) ProtoMessage()
func (*ListDictReply) ProtoReflect ¶
func (x *ListDictReply) ProtoReflect() protoreflect.Message
func (*ListDictReply) Reset ¶
func (x *ListDictReply) Reset()
func (*ListDictReply) String ¶
func (x *ListDictReply) String() string
func (*ListDictReply) Validate ¶
func (m *ListDictReply) Validate() error
Validate checks the field values on ListDictReply 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 (*ListDictReply) ValidateAll ¶
func (m *ListDictReply) ValidateAll() error
ValidateAll checks the field values on ListDictReply 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 ListDictReplyMultiError, or nil if none found.
type ListDictReplyMultiError ¶
type ListDictReplyMultiError []error
ListDictReplyMultiError is an error wrapping multiple validation errors returned by ListDictReply.ValidateAll() if the designated constraints aren't met.
func (ListDictReplyMultiError) AllErrors ¶
func (m ListDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDictReplyMultiError) Error ¶
func (m ListDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDictReplyValidationError ¶
type ListDictReplyValidationError struct {
// contains filtered or unexported fields
}
ListDictReplyValidationError is the validation error returned by ListDictReply.Validate if the designated constraints aren't met.
func (ListDictReplyValidationError) Cause ¶
func (e ListDictReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDictReplyValidationError) Error ¶
func (e ListDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDictReplyValidationError) ErrorName ¶
func (e ListDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDictReplyValidationError) Field ¶
func (e ListDictReplyValidationError) Field() string
Field function returns field value.
func (ListDictReplyValidationError) Key ¶
func (e ListDictReplyValidationError) Key() bool
Key function returns key value.
func (ListDictReplyValidationError) Reason ¶
func (e ListDictReplyValidationError) Reason() string
Reason function returns reason value.
type ListDictRequest ¶
type ListDictRequest struct { // 是否获取已删除的字典 IsDeleted bool `protobuf:"varint,1,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` // 分页参数 Page *api.PageRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // 关键字 Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // 分类 Category api.Category `protobuf:"varint,4,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"` // 状态 Status api.Status `protobuf:"varint,5,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取字典列表请求参数参数
func (*ListDictRequest) Descriptor
deprecated
func (*ListDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDictRequest.ProtoReflect.Descriptor instead.
func (*ListDictRequest) GetCategory ¶
func (x *ListDictRequest) GetCategory() api.Category
func (*ListDictRequest) GetIsDeleted ¶
func (x *ListDictRequest) GetIsDeleted() bool
func (*ListDictRequest) GetKeyword ¶
func (x *ListDictRequest) GetKeyword() string
func (*ListDictRequest) GetPage ¶
func (x *ListDictRequest) GetPage() *api.PageRequest
func (*ListDictRequest) GetStatus ¶
func (x *ListDictRequest) GetStatus() api.Status
func (*ListDictRequest) ProtoMessage ¶
func (*ListDictRequest) ProtoMessage()
func (*ListDictRequest) ProtoReflect ¶
func (x *ListDictRequest) ProtoReflect() protoreflect.Message
func (*ListDictRequest) Reset ¶
func (x *ListDictRequest) Reset()
func (*ListDictRequest) String ¶
func (x *ListDictRequest) String() string
func (*ListDictRequest) Validate ¶
func (m *ListDictRequest) Validate() error
Validate checks the field values on ListDictRequest 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 (*ListDictRequest) ValidateAll ¶
func (m *ListDictRequest) ValidateAll() error
ValidateAll checks the field values on ListDictRequest 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 ListDictRequestMultiError, or nil if none found.
type ListDictRequestMultiError ¶
type ListDictRequestMultiError []error
ListDictRequestMultiError is an error wrapping multiple validation errors returned by ListDictRequest.ValidateAll() if the designated constraints aren't met.
func (ListDictRequestMultiError) AllErrors ¶
func (m ListDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDictRequestMultiError) Error ¶
func (m ListDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDictRequestValidationError ¶
type ListDictRequestValidationError struct {
// contains filtered or unexported fields
}
ListDictRequestValidationError is the validation error returned by ListDictRequest.Validate if the designated constraints aren't met.
func (ListDictRequestValidationError) Cause ¶
func (e ListDictRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDictRequestValidationError) Error ¶
func (e ListDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDictRequestValidationError) ErrorName ¶
func (e ListDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDictRequestValidationError) Field ¶
func (e ListDictRequestValidationError) Field() string
Field function returns field value.
func (ListDictRequestValidationError) Key ¶
func (e ListDictRequestValidationError) Key() bool
Key function returns key value.
func (ListDictRequestValidationError) Reason ¶
func (e ListDictRequestValidationError) Reason() string
Reason function returns reason value.
type ListMyAlarmPageReply ¶
type ListMyAlarmPageReply struct { // 我的告警页面列表 List []*api.DictV1 `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
我的告警页面列表响应参数
func (*ListMyAlarmPageReply) Descriptor
deprecated
func (*ListMyAlarmPageReply) Descriptor() ([]byte, []int)
Deprecated: Use ListMyAlarmPageReply.ProtoReflect.Descriptor instead.
func (*ListMyAlarmPageReply) GetList ¶
func (x *ListMyAlarmPageReply) GetList() []*api.DictV1
func (*ListMyAlarmPageReply) ProtoMessage ¶
func (*ListMyAlarmPageReply) ProtoMessage()
func (*ListMyAlarmPageReply) ProtoReflect ¶
func (x *ListMyAlarmPageReply) ProtoReflect() protoreflect.Message
func (*ListMyAlarmPageReply) Reset ¶
func (x *ListMyAlarmPageReply) Reset()
func (*ListMyAlarmPageReply) String ¶
func (x *ListMyAlarmPageReply) String() string
func (*ListMyAlarmPageReply) Validate ¶
func (m *ListMyAlarmPageReply) Validate() error
Validate checks the field values on ListMyAlarmPageReply 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 (*ListMyAlarmPageReply) ValidateAll ¶
func (m *ListMyAlarmPageReply) ValidateAll() error
ValidateAll checks the field values on ListMyAlarmPageReply 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 ListMyAlarmPageReplyMultiError, or nil if none found.
type ListMyAlarmPageReplyMultiError ¶
type ListMyAlarmPageReplyMultiError []error
ListMyAlarmPageReplyMultiError is an error wrapping multiple validation errors returned by ListMyAlarmPageReply.ValidateAll() if the designated constraints aren't met.
func (ListMyAlarmPageReplyMultiError) AllErrors ¶
func (m ListMyAlarmPageReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMyAlarmPageReplyMultiError) Error ¶
func (m ListMyAlarmPageReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListMyAlarmPageReplyValidationError ¶
type ListMyAlarmPageReplyValidationError struct {
// contains filtered or unexported fields
}
ListMyAlarmPageReplyValidationError is the validation error returned by ListMyAlarmPageReply.Validate if the designated constraints aren't met.
func (ListMyAlarmPageReplyValidationError) Cause ¶
func (e ListMyAlarmPageReplyValidationError) Cause() error
Cause function returns cause value.
func (ListMyAlarmPageReplyValidationError) Error ¶
func (e ListMyAlarmPageReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListMyAlarmPageReplyValidationError) ErrorName ¶
func (e ListMyAlarmPageReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListMyAlarmPageReplyValidationError) Field ¶
func (e ListMyAlarmPageReplyValidationError) Field() string
Field function returns field value.
func (ListMyAlarmPageReplyValidationError) Key ¶
func (e ListMyAlarmPageReplyValidationError) Key() bool
Key function returns key value.
func (ListMyAlarmPageReplyValidationError) Reason ¶
func (e ListMyAlarmPageReplyValidationError) Reason() string
Reason function returns reason value.
type ListMyAlarmPageRequest ¶
type ListMyAlarmPageRequest struct {
// contains filtered or unexported fields
}
我的告警页面列表请求参数
func (*ListMyAlarmPageRequest) Descriptor
deprecated
func (*ListMyAlarmPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMyAlarmPageRequest.ProtoReflect.Descriptor instead.
func (*ListMyAlarmPageRequest) ProtoMessage ¶
func (*ListMyAlarmPageRequest) ProtoMessage()
func (*ListMyAlarmPageRequest) ProtoReflect ¶
func (x *ListMyAlarmPageRequest) ProtoReflect() protoreflect.Message
func (*ListMyAlarmPageRequest) Reset ¶
func (x *ListMyAlarmPageRequest) Reset()
func (*ListMyAlarmPageRequest) String ¶
func (x *ListMyAlarmPageRequest) String() string
func (*ListMyAlarmPageRequest) Validate ¶
func (m *ListMyAlarmPageRequest) Validate() error
Validate checks the field values on ListMyAlarmPageRequest 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 (*ListMyAlarmPageRequest) ValidateAll ¶
func (m *ListMyAlarmPageRequest) ValidateAll() error
ValidateAll checks the field values on ListMyAlarmPageRequest 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 ListMyAlarmPageRequestMultiError, or nil if none found.
type ListMyAlarmPageRequestMultiError ¶
type ListMyAlarmPageRequestMultiError []error
ListMyAlarmPageRequestMultiError is an error wrapping multiple validation errors returned by ListMyAlarmPageRequest.ValidateAll() if the designated constraints aren't met.
func (ListMyAlarmPageRequestMultiError) AllErrors ¶
func (m ListMyAlarmPageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMyAlarmPageRequestMultiError) Error ¶
func (m ListMyAlarmPageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListMyAlarmPageRequestValidationError ¶
type ListMyAlarmPageRequestValidationError struct {
// contains filtered or unexported fields
}
ListMyAlarmPageRequestValidationError is the validation error returned by ListMyAlarmPageRequest.Validate if the designated constraints aren't met.
func (ListMyAlarmPageRequestValidationError) Cause ¶
func (e ListMyAlarmPageRequestValidationError) Cause() error
Cause function returns cause value.
func (ListMyAlarmPageRequestValidationError) Error ¶
func (e ListMyAlarmPageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListMyAlarmPageRequestValidationError) ErrorName ¶
func (e ListMyAlarmPageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListMyAlarmPageRequestValidationError) Field ¶
func (e ListMyAlarmPageRequestValidationError) Field() string
Field function returns field value.
func (ListMyAlarmPageRequestValidationError) Key ¶
func (e ListMyAlarmPageRequestValidationError) Key() bool
Key function returns key value.
func (ListMyAlarmPageRequestValidationError) Reason ¶
func (e ListMyAlarmPageRequestValidationError) Reason() string
Reason function returns reason value.
type ListRoleReply ¶
type ListRoleReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 角色列表 List []*api.RoleV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取角色列表响应参数
func (*ListRoleReply) Descriptor
deprecated
func (*ListRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleReply.ProtoReflect.Descriptor instead.
func (*ListRoleReply) GetList ¶
func (x *ListRoleReply) GetList() []*api.RoleV1
func (*ListRoleReply) GetPage ¶
func (x *ListRoleReply) GetPage() *api.PageReply
func (*ListRoleReply) ProtoMessage ¶
func (*ListRoleReply) ProtoMessage()
func (*ListRoleReply) ProtoReflect ¶
func (x *ListRoleReply) ProtoReflect() protoreflect.Message
func (*ListRoleReply) Reset ¶
func (x *ListRoleReply) Reset()
func (*ListRoleReply) String ¶
func (x *ListRoleReply) String() string
func (*ListRoleReply) Validate ¶
func (m *ListRoleReply) Validate() error
Validate checks the field values on ListRoleReply 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 (*ListRoleReply) ValidateAll ¶
func (m *ListRoleReply) ValidateAll() error
ValidateAll checks the field values on ListRoleReply 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 ListRoleReplyMultiError, or nil if none found.
type ListRoleReplyMultiError ¶
type ListRoleReplyMultiError []error
ListRoleReplyMultiError is an error wrapping multiple validation errors returned by ListRoleReply.ValidateAll() if the designated constraints aren't met.
func (ListRoleReplyMultiError) AllErrors ¶
func (m ListRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleReplyMultiError) Error ¶
func (m ListRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleReplyValidationError ¶
type ListRoleReplyValidationError struct {
// contains filtered or unexported fields
}
ListRoleReplyValidationError is the validation error returned by ListRoleReply.Validate if the designated constraints aren't met.
func (ListRoleReplyValidationError) Cause ¶
func (e ListRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (ListRoleReplyValidationError) Error ¶
func (e ListRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleReplyValidationError) ErrorName ¶
func (e ListRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleReplyValidationError) Field ¶
func (e ListRoleReplyValidationError) Field() string
Field function returns field value.
func (ListRoleReplyValidationError) Key ¶
func (e ListRoleReplyValidationError) Key() bool
Key function returns key value.
func (ListRoleReplyValidationError) Reason ¶
func (e ListRoleReplyValidationError) Reason() string
Reason function returns reason value.
type ListRoleRequest ¶
type ListRoleRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制0-20字符, 可选, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取角色列表请求参数
func (*ListRoleRequest) Descriptor
deprecated
func (*ListRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleRequest.ProtoReflect.Descriptor instead.
func (*ListRoleRequest) GetKeyword ¶
func (x *ListRoleRequest) GetKeyword() string
func (*ListRoleRequest) GetPage ¶
func (x *ListRoleRequest) GetPage() *api.PageRequest
func (*ListRoleRequest) GetStatus ¶
func (x *ListRoleRequest) GetStatus() api.Status
func (*ListRoleRequest) ProtoMessage ¶
func (*ListRoleRequest) ProtoMessage()
func (*ListRoleRequest) ProtoReflect ¶
func (x *ListRoleRequest) ProtoReflect() protoreflect.Message
func (*ListRoleRequest) Reset ¶
func (x *ListRoleRequest) Reset()
func (*ListRoleRequest) String ¶
func (x *ListRoleRequest) String() string
func (*ListRoleRequest) Validate ¶
func (m *ListRoleRequest) Validate() error
Validate checks the field values on ListRoleRequest 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 (*ListRoleRequest) ValidateAll ¶
func (m *ListRoleRequest) ValidateAll() error
ValidateAll checks the field values on ListRoleRequest 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 ListRoleRequestMultiError, or nil if none found.
type ListRoleRequestMultiError ¶
type ListRoleRequestMultiError []error
ListRoleRequestMultiError is an error wrapping multiple validation errors returned by ListRoleRequest.ValidateAll() if the designated constraints aren't met.
func (ListRoleRequestMultiError) AllErrors ¶
func (m ListRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleRequestMultiError) Error ¶
func (m ListRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleRequestValidationError ¶
type ListRoleRequestValidationError struct {
// contains filtered or unexported fields
}
ListRoleRequestValidationError is the validation error returned by ListRoleRequest.Validate if the designated constraints aren't met.
func (ListRoleRequestValidationError) Cause ¶
func (e ListRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRoleRequestValidationError) Error ¶
func (e ListRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleRequestValidationError) ErrorName ¶
func (e ListRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleRequestValidationError) Field ¶
func (e ListRoleRequestValidationError) Field() string
Field function returns field value.
func (ListRoleRequestValidationError) Key ¶
func (e ListRoleRequestValidationError) Key() bool
Key function returns key value.
func (ListRoleRequestValidationError) Reason ¶
func (e ListRoleRequestValidationError) Reason() string
Reason function returns reason value.
type ListSyslogReply ¶
type ListSyslogReply struct { List []*api.SysLogV1Item `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Page *api.PageReply `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListSyslogReply) Descriptor
deprecated
func (*ListSyslogReply) Descriptor() ([]byte, []int)
Deprecated: Use ListSyslogReply.ProtoReflect.Descriptor instead.
func (*ListSyslogReply) GetList ¶
func (x *ListSyslogReply) GetList() []*api.SysLogV1Item
func (*ListSyslogReply) GetPage ¶
func (x *ListSyslogReply) GetPage() *api.PageReply
func (*ListSyslogReply) ProtoMessage ¶
func (*ListSyslogReply) ProtoMessage()
func (*ListSyslogReply) ProtoReflect ¶
func (x *ListSyslogReply) ProtoReflect() protoreflect.Message
func (*ListSyslogReply) Reset ¶
func (x *ListSyslogReply) Reset()
func (*ListSyslogReply) String ¶
func (x *ListSyslogReply) String() string
func (*ListSyslogReply) Validate ¶
func (m *ListSyslogReply) Validate() error
Validate checks the field values on ListSyslogReply 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 (*ListSyslogReply) ValidateAll ¶
func (m *ListSyslogReply) ValidateAll() error
ValidateAll checks the field values on ListSyslogReply 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 ListSyslogReplyMultiError, or nil if none found.
type ListSyslogReplyMultiError ¶
type ListSyslogReplyMultiError []error
ListSyslogReplyMultiError is an error wrapping multiple validation errors returned by ListSyslogReply.ValidateAll() if the designated constraints aren't met.
func (ListSyslogReplyMultiError) AllErrors ¶
func (m ListSyslogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSyslogReplyMultiError) Error ¶
func (m ListSyslogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListSyslogReplyValidationError ¶
type ListSyslogReplyValidationError struct {
// contains filtered or unexported fields
}
ListSyslogReplyValidationError is the validation error returned by ListSyslogReply.Validate if the designated constraints aren't met.
func (ListSyslogReplyValidationError) Cause ¶
func (e ListSyslogReplyValidationError) Cause() error
Cause function returns cause value.
func (ListSyslogReplyValidationError) Error ¶
func (e ListSyslogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListSyslogReplyValidationError) ErrorName ¶
func (e ListSyslogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListSyslogReplyValidationError) Field ¶
func (e ListSyslogReplyValidationError) Field() string
Field function returns field value.
func (ListSyslogReplyValidationError) Key ¶
func (e ListSyslogReplyValidationError) Key() bool
Key function returns key value.
func (ListSyslogReplyValidationError) Reason ¶
func (e ListSyslogReplyValidationError) Reason() string
Reason function returns reason value.
type ListSyslogRequest ¶
type ListSyslogRequest struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` ModuleId uint32 `protobuf:"varint,2,opt,name=moduleId,proto3" json:"moduleId,omitempty"` ModuleName int32 `protobuf:"varint,3,opt,name=moduleName,proto3" json:"moduleName,omitempty"` // contains filtered or unexported fields }
func (*ListSyslogRequest) Descriptor
deprecated
func (*ListSyslogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSyslogRequest.ProtoReflect.Descriptor instead.
func (*ListSyslogRequest) GetModuleId ¶
func (x *ListSyslogRequest) GetModuleId() uint32
func (*ListSyslogRequest) GetModuleName ¶
func (x *ListSyslogRequest) GetModuleName() int32
func (*ListSyslogRequest) GetPage ¶
func (x *ListSyslogRequest) GetPage() *api.PageRequest
func (*ListSyslogRequest) ProtoMessage ¶
func (*ListSyslogRequest) ProtoMessage()
func (*ListSyslogRequest) ProtoReflect ¶
func (x *ListSyslogRequest) ProtoReflect() protoreflect.Message
func (*ListSyslogRequest) Reset ¶
func (x *ListSyslogRequest) Reset()
func (*ListSyslogRequest) String ¶
func (x *ListSyslogRequest) String() string
func (*ListSyslogRequest) Validate ¶
func (m *ListSyslogRequest) Validate() error
Validate checks the field values on ListSyslogRequest 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 (*ListSyslogRequest) ValidateAll ¶
func (m *ListSyslogRequest) ValidateAll() error
ValidateAll checks the field values on ListSyslogRequest 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 ListSyslogRequestMultiError, or nil if none found.
type ListSyslogRequestMultiError ¶
type ListSyslogRequestMultiError []error
ListSyslogRequestMultiError is an error wrapping multiple validation errors returned by ListSyslogRequest.ValidateAll() if the designated constraints aren't met.
func (ListSyslogRequestMultiError) AllErrors ¶
func (m ListSyslogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSyslogRequestMultiError) Error ¶
func (m ListSyslogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListSyslogRequestValidationError ¶
type ListSyslogRequestValidationError struct {
// contains filtered or unexported fields
}
ListSyslogRequestValidationError is the validation error returned by ListSyslogRequest.Validate if the designated constraints aren't met.
func (ListSyslogRequestValidationError) Cause ¶
func (e ListSyslogRequestValidationError) Cause() error
Cause function returns cause value.
func (ListSyslogRequestValidationError) Error ¶
func (e ListSyslogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListSyslogRequestValidationError) ErrorName ¶
func (e ListSyslogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListSyslogRequestValidationError) Field ¶
func (e ListSyslogRequestValidationError) Field() string
Field function returns field value.
func (ListSyslogRequestValidationError) Key ¶
func (e ListSyslogRequestValidationError) Key() bool
Key function returns key value.
func (ListSyslogRequestValidationError) Reason ¶
func (e ListSyslogRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserReply ¶
type ListUserReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 用户列表 List []*api.UserV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取用户列表响应参数
func (*ListUserReply) Descriptor
deprecated
func (*ListUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.
func (*ListUserReply) GetList ¶
func (x *ListUserReply) GetList() []*api.UserV1
func (*ListUserReply) GetPage ¶
func (x *ListUserReply) GetPage() *api.PageReply
func (*ListUserReply) ProtoMessage ¶
func (*ListUserReply) ProtoMessage()
func (*ListUserReply) ProtoReflect ¶
func (x *ListUserReply) ProtoReflect() protoreflect.Message
func (*ListUserReply) Reset ¶
func (x *ListUserReply) Reset()
func (*ListUserReply) String ¶
func (x *ListUserReply) String() string
func (*ListUserReply) Validate ¶
func (m *ListUserReply) Validate() error
Validate checks the field values on ListUserReply 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 (*ListUserReply) ValidateAll ¶
func (m *ListUserReply) ValidateAll() error
ValidateAll checks the field values on ListUserReply 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 ListUserReplyMultiError, or nil if none found.
type ListUserReplyMultiError ¶
type ListUserReplyMultiError []error
ListUserReplyMultiError is an error wrapping multiple validation errors returned by ListUserReply.ValidateAll() if the designated constraints aren't met.
func (ListUserReplyMultiError) AllErrors ¶
func (m ListUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserReplyMultiError) Error ¶
func (m ListUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserReplyValidationError ¶
type ListUserReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserReplyValidationError is the validation error returned by ListUserReply.Validate if the designated constraints aren't met.
func (ListUserReplyValidationError) Cause ¶
func (e ListUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserReplyValidationError) Error ¶
func (e ListUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserReplyValidationError) ErrorName ¶
func (e ListUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserReplyValidationError) Field ¶
func (e ListUserReplyValidationError) Field() string
Field function returns field value.
func (ListUserReplyValidationError) Key ¶
func (e ListUserReplyValidationError) Key() bool
Key function returns key value.
func (ListUserReplyValidationError) Reason ¶
func (e ListUserReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserRequest ¶
type ListUserRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制 0-20 字符, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取用户列表请求参数
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetKeyword ¶
func (x *ListUserRequest) GetKeyword() string
func (*ListUserRequest) GetPage ¶
func (x *ListUserRequest) GetPage() *api.PageRequest
func (*ListUserRequest) GetStatus ¶
func (x *ListUserRequest) GetStatus() api.Status
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
func (*ListUserRequest) Validate ¶
func (m *ListUserRequest) Validate() error
Validate checks the field values on ListUserRequest 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 (*ListUserRequest) ValidateAll ¶
func (m *ListUserRequest) ValidateAll() error
ValidateAll checks the field values on ListUserRequest 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 ListUserRequestMultiError, or nil if none found.
type ListUserRequestMultiError ¶
type ListUserRequestMultiError []error
ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserRequestMultiError) AllErrors ¶
func (m ListUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserRequestMultiError) Error ¶
func (m ListUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserRequestValidationError ¶
type ListUserRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.
func (ListUserRequestValidationError) Cause ¶
func (e ListUserRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserRequestValidationError) Error ¶
func (e ListUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserRequestValidationError) ErrorName ¶
func (e ListUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserRequestValidationError) Field ¶
func (e ListUserRequestValidationError) Field() string
Field function returns field value.
func (ListUserRequestValidationError) Key ¶
func (e ListUserRequestValidationError) Key() bool
Key function returns key value.
func (ListUserRequestValidationError) Reason ¶
func (e ListUserRequestValidationError) Reason() string
Reason function returns reason value.
type MyAlarmPagesConfigReply ¶
type MyAlarmPagesConfigReply struct {
// contains filtered or unexported fields
}
配置我的告警页面列表响应参数
func (*MyAlarmPagesConfigReply) Descriptor
deprecated
func (*MyAlarmPagesConfigReply) Descriptor() ([]byte, []int)
Deprecated: Use MyAlarmPagesConfigReply.ProtoReflect.Descriptor instead.
func (*MyAlarmPagesConfigReply) ProtoMessage ¶
func (*MyAlarmPagesConfigReply) ProtoMessage()
func (*MyAlarmPagesConfigReply) ProtoReflect ¶
func (x *MyAlarmPagesConfigReply) ProtoReflect() protoreflect.Message
func (*MyAlarmPagesConfigReply) Reset ¶
func (x *MyAlarmPagesConfigReply) Reset()
func (*MyAlarmPagesConfigReply) String ¶
func (x *MyAlarmPagesConfigReply) String() string
func (*MyAlarmPagesConfigReply) Validate ¶
func (m *MyAlarmPagesConfigReply) Validate() error
Validate checks the field values on MyAlarmPagesConfigReply 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 (*MyAlarmPagesConfigReply) ValidateAll ¶
func (m *MyAlarmPagesConfigReply) ValidateAll() error
ValidateAll checks the field values on MyAlarmPagesConfigReply 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 MyAlarmPagesConfigReplyMultiError, or nil if none found.
type MyAlarmPagesConfigReplyMultiError ¶
type MyAlarmPagesConfigReplyMultiError []error
MyAlarmPagesConfigReplyMultiError is an error wrapping multiple validation errors returned by MyAlarmPagesConfigReply.ValidateAll() if the designated constraints aren't met.
func (MyAlarmPagesConfigReplyMultiError) AllErrors ¶
func (m MyAlarmPagesConfigReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MyAlarmPagesConfigReplyMultiError) Error ¶
func (m MyAlarmPagesConfigReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MyAlarmPagesConfigReplyValidationError ¶
type MyAlarmPagesConfigReplyValidationError struct {
// contains filtered or unexported fields
}
MyAlarmPagesConfigReplyValidationError is the validation error returned by MyAlarmPagesConfigReply.Validate if the designated constraints aren't met.
func (MyAlarmPagesConfigReplyValidationError) Cause ¶
func (e MyAlarmPagesConfigReplyValidationError) Cause() error
Cause function returns cause value.
func (MyAlarmPagesConfigReplyValidationError) Error ¶
func (e MyAlarmPagesConfigReplyValidationError) Error() string
Error satisfies the builtin error interface
func (MyAlarmPagesConfigReplyValidationError) ErrorName ¶
func (e MyAlarmPagesConfigReplyValidationError) ErrorName() string
ErrorName returns error name.
func (MyAlarmPagesConfigReplyValidationError) Field ¶
func (e MyAlarmPagesConfigReplyValidationError) Field() string
Field function returns field value.
func (MyAlarmPagesConfigReplyValidationError) Key ¶
func (e MyAlarmPagesConfigReplyValidationError) Key() bool
Key function returns key value.
func (MyAlarmPagesConfigReplyValidationError) Reason ¶
func (e MyAlarmPagesConfigReplyValidationError) Reason() string
Reason function returns reason value.
type MyAlarmPagesConfigRequest ¶
type MyAlarmPagesConfigRequest struct { // 告警页面ID列表(大于0) AlarmIds []uint32 `protobuf:"varint,1,rep,packed,name=alarmIds,proto3" json:"alarmIds,omitempty"` // contains filtered or unexported fields }
配置我的告警页面列表请求参数
func (*MyAlarmPagesConfigRequest) Descriptor
deprecated
func (*MyAlarmPagesConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use MyAlarmPagesConfigRequest.ProtoReflect.Descriptor instead.
func (*MyAlarmPagesConfigRequest) GetAlarmIds ¶
func (x *MyAlarmPagesConfigRequest) GetAlarmIds() []uint32
func (*MyAlarmPagesConfigRequest) ProtoMessage ¶
func (*MyAlarmPagesConfigRequest) ProtoMessage()
func (*MyAlarmPagesConfigRequest) ProtoReflect ¶
func (x *MyAlarmPagesConfigRequest) ProtoReflect() protoreflect.Message
func (*MyAlarmPagesConfigRequest) Reset ¶
func (x *MyAlarmPagesConfigRequest) Reset()
func (*MyAlarmPagesConfigRequest) String ¶
func (x *MyAlarmPagesConfigRequest) String() string
func (*MyAlarmPagesConfigRequest) Validate ¶
func (m *MyAlarmPagesConfigRequest) Validate() error
Validate checks the field values on MyAlarmPagesConfigRequest 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 (*MyAlarmPagesConfigRequest) ValidateAll ¶
func (m *MyAlarmPagesConfigRequest) ValidateAll() error
ValidateAll checks the field values on MyAlarmPagesConfigRequest 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 MyAlarmPagesConfigRequestMultiError, or nil if none found.
type MyAlarmPagesConfigRequestMultiError ¶
type MyAlarmPagesConfigRequestMultiError []error
MyAlarmPagesConfigRequestMultiError is an error wrapping multiple validation errors returned by MyAlarmPagesConfigRequest.ValidateAll() if the designated constraints aren't met.
func (MyAlarmPagesConfigRequestMultiError) AllErrors ¶
func (m MyAlarmPagesConfigRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MyAlarmPagesConfigRequestMultiError) Error ¶
func (m MyAlarmPagesConfigRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MyAlarmPagesConfigRequestValidationError ¶
type MyAlarmPagesConfigRequestValidationError struct {
// contains filtered or unexported fields
}
MyAlarmPagesConfigRequestValidationError is the validation error returned by MyAlarmPagesConfigRequest.Validate if the designated constraints aren't met.
func (MyAlarmPagesConfigRequestValidationError) Cause ¶
func (e MyAlarmPagesConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (MyAlarmPagesConfigRequestValidationError) Error ¶
func (e MyAlarmPagesConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MyAlarmPagesConfigRequestValidationError) ErrorName ¶
func (e MyAlarmPagesConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MyAlarmPagesConfigRequestValidationError) Field ¶
func (e MyAlarmPagesConfigRequestValidationError) Field() string
Field function returns field value.
func (MyAlarmPagesConfigRequestValidationError) Key ¶
func (e MyAlarmPagesConfigRequestValidationError) Key() bool
Key function returns key value.
func (MyAlarmPagesConfigRequestValidationError) Reason ¶
func (e MyAlarmPagesConfigRequestValidationError) Reason() string
Reason function returns reason value.
type RelateApiReply ¶
type RelateApiReply struct { // 角色ID, 关联成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
关联角色接口响应参数
func (*RelateApiReply) Descriptor
deprecated
func (*RelateApiReply) Descriptor() ([]byte, []int)
Deprecated: Use RelateApiReply.ProtoReflect.Descriptor instead.
func (*RelateApiReply) GetId ¶
func (x *RelateApiReply) GetId() uint32
func (*RelateApiReply) ProtoMessage ¶
func (*RelateApiReply) ProtoMessage()
func (*RelateApiReply) ProtoReflect ¶
func (x *RelateApiReply) ProtoReflect() protoreflect.Message
func (*RelateApiReply) Reset ¶
func (x *RelateApiReply) Reset()
func (*RelateApiReply) String ¶
func (x *RelateApiReply) String() string
func (*RelateApiReply) Validate ¶
func (m *RelateApiReply) Validate() error
Validate checks the field values on RelateApiReply 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 (*RelateApiReply) ValidateAll ¶
func (m *RelateApiReply) ValidateAll() error
ValidateAll checks the field values on RelateApiReply 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 RelateApiReplyMultiError, or nil if none found.
type RelateApiReplyMultiError ¶
type RelateApiReplyMultiError []error
RelateApiReplyMultiError is an error wrapping multiple validation errors returned by RelateApiReply.ValidateAll() if the designated constraints aren't met.
func (RelateApiReplyMultiError) AllErrors ¶
func (m RelateApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelateApiReplyMultiError) Error ¶
func (m RelateApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelateApiReplyValidationError ¶
type RelateApiReplyValidationError struct {
// contains filtered or unexported fields
}
RelateApiReplyValidationError is the validation error returned by RelateApiReply.Validate if the designated constraints aren't met.
func (RelateApiReplyValidationError) Cause ¶
func (e RelateApiReplyValidationError) Cause() error
Cause function returns cause value.
func (RelateApiReplyValidationError) Error ¶
func (e RelateApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RelateApiReplyValidationError) ErrorName ¶
func (e RelateApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RelateApiReplyValidationError) Field ¶
func (e RelateApiReplyValidationError) Field() string
Field function returns field value.
func (RelateApiReplyValidationError) Key ¶
func (e RelateApiReplyValidationError) Key() bool
Key function returns key value.
func (RelateApiReplyValidationError) Reason ¶
func (e RelateApiReplyValidationError) Reason() string
Reason function returns reason value.
type RelateApiRequest ¶
type RelateApiRequest struct { // 需要关联的角色ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 需要关联的接口ID列表 ApiIds []uint32 `protobuf:"varint,2,rep,packed,name=apiIds,proto3" json:"apiIds,omitempty"` // contains filtered or unexported fields }
关联角色接口请求参数
func (*RelateApiRequest) Descriptor
deprecated
func (*RelateApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelateApiRequest.ProtoReflect.Descriptor instead.
func (*RelateApiRequest) GetApiIds ¶
func (x *RelateApiRequest) GetApiIds() []uint32
func (*RelateApiRequest) GetId ¶
func (x *RelateApiRequest) GetId() uint32
func (*RelateApiRequest) ProtoMessage ¶
func (*RelateApiRequest) ProtoMessage()
func (*RelateApiRequest) ProtoReflect ¶
func (x *RelateApiRequest) ProtoReflect() protoreflect.Message
func (*RelateApiRequest) Reset ¶
func (x *RelateApiRequest) Reset()
func (*RelateApiRequest) String ¶
func (x *RelateApiRequest) String() string
func (*RelateApiRequest) Validate ¶
func (m *RelateApiRequest) Validate() error
Validate checks the field values on RelateApiRequest 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 (*RelateApiRequest) ValidateAll ¶
func (m *RelateApiRequest) ValidateAll() error
ValidateAll checks the field values on RelateApiRequest 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 RelateApiRequestMultiError, or nil if none found.
type RelateApiRequestMultiError ¶
type RelateApiRequestMultiError []error
RelateApiRequestMultiError is an error wrapping multiple validation errors returned by RelateApiRequest.ValidateAll() if the designated constraints aren't met.
func (RelateApiRequestMultiError) AllErrors ¶
func (m RelateApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelateApiRequestMultiError) Error ¶
func (m RelateApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelateApiRequestValidationError ¶
type RelateApiRequestValidationError struct {
// contains filtered or unexported fields
}
RelateApiRequestValidationError is the validation error returned by RelateApiRequest.Validate if the designated constraints aren't met.
func (RelateApiRequestValidationError) Cause ¶
func (e RelateApiRequestValidationError) Cause() error
Cause function returns cause value.
func (RelateApiRequestValidationError) Error ¶
func (e RelateApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RelateApiRequestValidationError) ErrorName ¶
func (e RelateApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RelateApiRequestValidationError) Field ¶
func (e RelateApiRequestValidationError) Field() string
Field function returns field value.
func (RelateApiRequestValidationError) Key ¶
func (e RelateApiRequestValidationError) Key() bool
Key function returns key value.
func (RelateApiRequestValidationError) Reason ¶
func (e RelateApiRequestValidationError) Reason() string
Reason function returns reason value.
type RelateRolesReply ¶
type RelateRolesReply struct { // 用户ID, 关联成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
关联角色响应参数
func (*RelateRolesReply) Descriptor
deprecated
func (*RelateRolesReply) Descriptor() ([]byte, []int)
Deprecated: Use RelateRolesReply.ProtoReflect.Descriptor instead.
func (*RelateRolesReply) GetId ¶
func (x *RelateRolesReply) GetId() uint32
func (*RelateRolesReply) ProtoMessage ¶
func (*RelateRolesReply) ProtoMessage()
func (*RelateRolesReply) ProtoReflect ¶
func (x *RelateRolesReply) ProtoReflect() protoreflect.Message
func (*RelateRolesReply) Reset ¶
func (x *RelateRolesReply) Reset()
func (*RelateRolesReply) String ¶
func (x *RelateRolesReply) String() string
func (*RelateRolesReply) Validate ¶
func (m *RelateRolesReply) Validate() error
Validate checks the field values on RelateRolesReply 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 (*RelateRolesReply) ValidateAll ¶
func (m *RelateRolesReply) ValidateAll() error
ValidateAll checks the field values on RelateRolesReply 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 RelateRolesReplyMultiError, or nil if none found.
type RelateRolesReplyMultiError ¶
type RelateRolesReplyMultiError []error
RelateRolesReplyMultiError is an error wrapping multiple validation errors returned by RelateRolesReply.ValidateAll() if the designated constraints aren't met.
func (RelateRolesReplyMultiError) AllErrors ¶
func (m RelateRolesReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelateRolesReplyMultiError) Error ¶
func (m RelateRolesReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelateRolesReplyValidationError ¶
type RelateRolesReplyValidationError struct {
// contains filtered or unexported fields
}
RelateRolesReplyValidationError is the validation error returned by RelateRolesReply.Validate if the designated constraints aren't met.
func (RelateRolesReplyValidationError) Cause ¶
func (e RelateRolesReplyValidationError) Cause() error
Cause function returns cause value.
func (RelateRolesReplyValidationError) Error ¶
func (e RelateRolesReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RelateRolesReplyValidationError) ErrorName ¶
func (e RelateRolesReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RelateRolesReplyValidationError) Field ¶
func (e RelateRolesReplyValidationError) Field() string
Field function returns field value.
func (RelateRolesReplyValidationError) Key ¶
func (e RelateRolesReplyValidationError) Key() bool
Key function returns key value.
func (RelateRolesReplyValidationError) Reason ¶
func (e RelateRolesReplyValidationError) Reason() string
Reason function returns reason value.
type RelateRolesRequest ¶
type RelateRolesRequest struct { // 需要关联角色的用户ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色ID列表, 数量限制 1-100, 必填, 唯一, 大于0 RoleIds []uint32 `protobuf:"varint,2,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` // contains filtered or unexported fields }
关联角色请求参数
func (*RelateRolesRequest) Descriptor
deprecated
func (*RelateRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelateRolesRequest.ProtoReflect.Descriptor instead.
func (*RelateRolesRequest) GetId ¶
func (x *RelateRolesRequest) GetId() uint32
func (*RelateRolesRequest) GetRoleIds ¶
func (x *RelateRolesRequest) GetRoleIds() []uint32
func (*RelateRolesRequest) ProtoMessage ¶
func (*RelateRolesRequest) ProtoMessage()
func (*RelateRolesRequest) ProtoReflect ¶
func (x *RelateRolesRequest) ProtoReflect() protoreflect.Message
func (*RelateRolesRequest) Reset ¶
func (x *RelateRolesRequest) Reset()
func (*RelateRolesRequest) String ¶
func (x *RelateRolesRequest) String() string
func (*RelateRolesRequest) Validate ¶
func (m *RelateRolesRequest) Validate() error
Validate checks the field values on RelateRolesRequest 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 (*RelateRolesRequest) ValidateAll ¶
func (m *RelateRolesRequest) ValidateAll() error
ValidateAll checks the field values on RelateRolesRequest 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 RelateRolesRequestMultiError, or nil if none found.
type RelateRolesRequestMultiError ¶
type RelateRolesRequestMultiError []error
RelateRolesRequestMultiError is an error wrapping multiple validation errors returned by RelateRolesRequest.ValidateAll() if the designated constraints aren't met.
func (RelateRolesRequestMultiError) AllErrors ¶
func (m RelateRolesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelateRolesRequestMultiError) Error ¶
func (m RelateRolesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelateRolesRequestValidationError ¶
type RelateRolesRequestValidationError struct {
// contains filtered or unexported fields
}
RelateRolesRequestValidationError is the validation error returned by RelateRolesRequest.Validate if the designated constraints aren't met.
func (RelateRolesRequestValidationError) Cause ¶
func (e RelateRolesRequestValidationError) Cause() error
Cause function returns cause value.
func (RelateRolesRequestValidationError) Error ¶
func (e RelateRolesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RelateRolesRequestValidationError) ErrorName ¶
func (e RelateRolesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RelateRolesRequestValidationError) Field ¶
func (e RelateRolesRequestValidationError) Field() string
Field function returns field value.
func (RelateRolesRequestValidationError) Key ¶
func (e RelateRolesRequestValidationError) Key() bool
Key function returns key value.
func (RelateRolesRequestValidationError) Reason ¶
func (e RelateRolesRequestValidationError) Reason() string
Reason function returns reason value.
type RoleClient ¶
type RoleClient interface { // 创建角色 CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleReply, error) // 更新角色 UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*UpdateRoleReply, error) // 删除角色 DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleReply, error) // 获取角色 GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleReply, error) // 获取角色列表 ListRole(ctx context.Context, in *ListRoleRequest, opts ...grpc.CallOption) (*ListRoleReply, error) // 获取角色下拉列表 SelectRole(ctx context.Context, in *SelectRoleRequest, opts ...grpc.CallOption) (*SelectRoleReply, error) // 关联角色接口 RelateApi(ctx context.Context, in *RelateApiRequest, opts ...grpc.CallOption) (*RelateApiReply, error) // 修改角色状态 EditRoleStatus(ctx context.Context, in *EditRoleStatusRequest, opts ...grpc.CallOption) (*EditRoleStatusReply, error) }
RoleClient is the client API for Role 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 NewRoleClient ¶
func NewRoleClient(cc grpc.ClientConnInterface) RoleClient
type RoleHTTPClient ¶
type RoleHTTPClient interface { CreateRole(ctx context.Context, req *CreateRoleRequest, opts ...http.CallOption) (rsp *CreateRoleReply, err error) DeleteRole(ctx context.Context, req *DeleteRoleRequest, opts ...http.CallOption) (rsp *DeleteRoleReply, err error) EditRoleStatus(ctx context.Context, req *EditRoleStatusRequest, opts ...http.CallOption) (rsp *EditRoleStatusReply, err error) GetRole(ctx context.Context, req *GetRoleRequest, opts ...http.CallOption) (rsp *GetRoleReply, err error) ListRole(ctx context.Context, req *ListRoleRequest, opts ...http.CallOption) (rsp *ListRoleReply, err error) RelateApi(ctx context.Context, req *RelateApiRequest, opts ...http.CallOption) (rsp *RelateApiReply, err error) SelectRole(ctx context.Context, req *SelectRoleRequest, opts ...http.CallOption) (rsp *SelectRoleReply, err error) UpdateRole(ctx context.Context, req *UpdateRoleRequest, opts ...http.CallOption) (rsp *UpdateRoleReply, err error) }
func NewRoleHTTPClient ¶
func NewRoleHTTPClient(client *http.Client) RoleHTTPClient
type RoleHTTPClientImpl ¶
type RoleHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*RoleHTTPClientImpl) CreateRole ¶
func (c *RoleHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...http.CallOption) (*CreateRoleReply, error)
func (*RoleHTTPClientImpl) DeleteRole ¶
func (c *RoleHTTPClientImpl) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...http.CallOption) (*DeleteRoleReply, error)
func (*RoleHTTPClientImpl) EditRoleStatus ¶
func (c *RoleHTTPClientImpl) EditRoleStatus(ctx context.Context, in *EditRoleStatusRequest, opts ...http.CallOption) (*EditRoleStatusReply, error)
func (*RoleHTTPClientImpl) GetRole ¶
func (c *RoleHTTPClientImpl) GetRole(ctx context.Context, in *GetRoleRequest, opts ...http.CallOption) (*GetRoleReply, error)
func (*RoleHTTPClientImpl) ListRole ¶
func (c *RoleHTTPClientImpl) ListRole(ctx context.Context, in *ListRoleRequest, opts ...http.CallOption) (*ListRoleReply, error)
func (*RoleHTTPClientImpl) RelateApi ¶
func (c *RoleHTTPClientImpl) RelateApi(ctx context.Context, in *RelateApiRequest, opts ...http.CallOption) (*RelateApiReply, error)
func (*RoleHTTPClientImpl) SelectRole ¶
func (c *RoleHTTPClientImpl) SelectRole(ctx context.Context, in *SelectRoleRequest, opts ...http.CallOption) (*SelectRoleReply, error)
func (*RoleHTTPClientImpl) UpdateRole ¶
func (c *RoleHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*UpdateRoleReply, error)
type RoleHTTPServer ¶
type RoleHTTPServer interface { // CreateRole 创建角色 CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleReply, error) // DeleteRole 删除角色 DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleReply, error) // EditRoleStatus 修改角色状态 EditRoleStatus(context.Context, *EditRoleStatusRequest) (*EditRoleStatusReply, error) // GetRole 获取角色 GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error) // ListRole 获取角色列表 ListRole(context.Context, *ListRoleRequest) (*ListRoleReply, error) // RelateApi 关联角色接口 RelateApi(context.Context, *RelateApiRequest) (*RelateApiReply, error) // SelectRole 获取角色下拉列表 SelectRole(context.Context, *SelectRoleRequest) (*SelectRoleReply, error) // UpdateRole 更新角色 UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleReply, error) }
type RoleServer ¶
type RoleServer interface { // 创建角色 CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleReply, error) // 更新角色 UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleReply, error) // 删除角色 DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleReply, error) // 获取角色 GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error) // 获取角色列表 ListRole(context.Context, *ListRoleRequest) (*ListRoleReply, error) // 获取角色下拉列表 SelectRole(context.Context, *SelectRoleRequest) (*SelectRoleReply, error) // 关联角色接口 RelateApi(context.Context, *RelateApiRequest) (*RelateApiReply, error) // 修改角色状态 EditRoleStatus(context.Context, *EditRoleStatusRequest) (*EditRoleStatusReply, error) // contains filtered or unexported methods }
RoleServer is the server API for Role service. All implementations must embed UnimplementedRoleServer for forward compatibility
type SelectApiReply ¶
type SelectApiReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // API下拉列表 List []*api.ApiSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取API下拉列表响应参数
func (*SelectApiReply) Descriptor
deprecated
func (*SelectApiReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectApiReply.ProtoReflect.Descriptor instead.
func (*SelectApiReply) GetList ¶
func (x *SelectApiReply) GetList() []*api.ApiSelectV1
func (*SelectApiReply) GetPage ¶
func (x *SelectApiReply) GetPage() *api.PageReply
func (*SelectApiReply) ProtoMessage ¶
func (*SelectApiReply) ProtoMessage()
func (*SelectApiReply) ProtoReflect ¶
func (x *SelectApiReply) ProtoReflect() protoreflect.Message
func (*SelectApiReply) Reset ¶
func (x *SelectApiReply) Reset()
func (*SelectApiReply) String ¶
func (x *SelectApiReply) String() string
func (*SelectApiReply) Validate ¶
func (m *SelectApiReply) Validate() error
Validate checks the field values on SelectApiReply 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 (*SelectApiReply) ValidateAll ¶
func (m *SelectApiReply) ValidateAll() error
ValidateAll checks the field values on SelectApiReply 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 SelectApiReplyMultiError, or nil if none found.
type SelectApiReplyMultiError ¶
type SelectApiReplyMultiError []error
SelectApiReplyMultiError is an error wrapping multiple validation errors returned by SelectApiReply.ValidateAll() if the designated constraints aren't met.
func (SelectApiReplyMultiError) AllErrors ¶
func (m SelectApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectApiReplyMultiError) Error ¶
func (m SelectApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectApiReplyValidationError ¶
type SelectApiReplyValidationError struct {
// contains filtered or unexported fields
}
SelectApiReplyValidationError is the validation error returned by SelectApiReply.Validate if the designated constraints aren't met.
func (SelectApiReplyValidationError) Cause ¶
func (e SelectApiReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectApiReplyValidationError) Error ¶
func (e SelectApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectApiReplyValidationError) ErrorName ¶
func (e SelectApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectApiReplyValidationError) Field ¶
func (e SelectApiReplyValidationError) Field() string
Field function returns field value.
func (SelectApiReplyValidationError) Key ¶
func (e SelectApiReplyValidationError) Key() bool
Key function returns key value.
func (SelectApiReplyValidationError) Reason ¶
func (e SelectApiReplyValidationError) Reason() string
Reason function returns reason value.
type SelectApiRequest ¶
type SelectApiRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制0-20 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取API下拉列表请求参数
func (*SelectApiRequest) Descriptor
deprecated
func (*SelectApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectApiRequest.ProtoReflect.Descriptor instead.
func (*SelectApiRequest) GetKeyword ¶
func (x *SelectApiRequest) GetKeyword() string
func (*SelectApiRequest) GetPage ¶
func (x *SelectApiRequest) GetPage() *api.PageRequest
func (*SelectApiRequest) GetStatus ¶
func (x *SelectApiRequest) GetStatus() api.Status
func (*SelectApiRequest) ProtoMessage ¶
func (*SelectApiRequest) ProtoMessage()
func (*SelectApiRequest) ProtoReflect ¶
func (x *SelectApiRequest) ProtoReflect() protoreflect.Message
func (*SelectApiRequest) Reset ¶
func (x *SelectApiRequest) Reset()
func (*SelectApiRequest) String ¶
func (x *SelectApiRequest) String() string
func (*SelectApiRequest) Validate ¶
func (m *SelectApiRequest) Validate() error
Validate checks the field values on SelectApiRequest 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 (*SelectApiRequest) ValidateAll ¶
func (m *SelectApiRequest) ValidateAll() error
ValidateAll checks the field values on SelectApiRequest 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 SelectApiRequestMultiError, or nil if none found.
type SelectApiRequestMultiError ¶
type SelectApiRequestMultiError []error
SelectApiRequestMultiError is an error wrapping multiple validation errors returned by SelectApiRequest.ValidateAll() if the designated constraints aren't met.
func (SelectApiRequestMultiError) AllErrors ¶
func (m SelectApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectApiRequestMultiError) Error ¶
func (m SelectApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectApiRequestValidationError ¶
type SelectApiRequestValidationError struct {
// contains filtered or unexported fields
}
SelectApiRequestValidationError is the validation error returned by SelectApiRequest.Validate if the designated constraints aren't met.
func (SelectApiRequestValidationError) Cause ¶
func (e SelectApiRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectApiRequestValidationError) Error ¶
func (e SelectApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectApiRequestValidationError) ErrorName ¶
func (e SelectApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectApiRequestValidationError) Field ¶
func (e SelectApiRequestValidationError) Field() string
Field function returns field value.
func (SelectApiRequestValidationError) Key ¶
func (e SelectApiRequestValidationError) Key() bool
Key function returns key value.
func (SelectApiRequestValidationError) Reason ¶
func (e SelectApiRequestValidationError) Reason() string
Reason function returns reason value.
type SelectDictReply ¶
type SelectDictReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 字典列表 List []*api.DictSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取字典列表响应参数
func (*SelectDictReply) Descriptor
deprecated
func (*SelectDictReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectDictReply.ProtoReflect.Descriptor instead.
func (*SelectDictReply) GetList ¶
func (x *SelectDictReply) GetList() []*api.DictSelectV1
func (*SelectDictReply) GetPage ¶
func (x *SelectDictReply) GetPage() *api.PageReply
func (*SelectDictReply) ProtoMessage ¶
func (*SelectDictReply) ProtoMessage()
func (*SelectDictReply) ProtoReflect ¶
func (x *SelectDictReply) ProtoReflect() protoreflect.Message
func (*SelectDictReply) Reset ¶
func (x *SelectDictReply) Reset()
func (*SelectDictReply) String ¶
func (x *SelectDictReply) String() string
func (*SelectDictReply) Validate ¶
func (m *SelectDictReply) Validate() error
Validate checks the field values on SelectDictReply 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 (*SelectDictReply) ValidateAll ¶
func (m *SelectDictReply) ValidateAll() error
ValidateAll checks the field values on SelectDictReply 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 SelectDictReplyMultiError, or nil if none found.
type SelectDictReplyMultiError ¶
type SelectDictReplyMultiError []error
SelectDictReplyMultiError is an error wrapping multiple validation errors returned by SelectDictReply.ValidateAll() if the designated constraints aren't met.
func (SelectDictReplyMultiError) AllErrors ¶
func (m SelectDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectDictReplyMultiError) Error ¶
func (m SelectDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectDictReplyValidationError ¶
type SelectDictReplyValidationError struct {
// contains filtered or unexported fields
}
SelectDictReplyValidationError is the validation error returned by SelectDictReply.Validate if the designated constraints aren't met.
func (SelectDictReplyValidationError) Cause ¶
func (e SelectDictReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectDictReplyValidationError) Error ¶
func (e SelectDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectDictReplyValidationError) ErrorName ¶
func (e SelectDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectDictReplyValidationError) Field ¶
func (e SelectDictReplyValidationError) Field() string
Field function returns field value.
func (SelectDictReplyValidationError) Key ¶
func (e SelectDictReplyValidationError) Key() bool
Key function returns key value.
func (SelectDictReplyValidationError) Reason ¶
func (e SelectDictReplyValidationError) Reason() string
Reason function returns reason value.
type SelectDictRequest ¶
type SelectDictRequest struct { // 是否获取已删除的字典 IsDeleted bool `protobuf:"varint,1,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` // 分页参数 Page *api.PageRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // 关键字 Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // 分类 Category api.Category `protobuf:"varint,4,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"` // 状态 Status api.Status `protobuf:"varint,5,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取字典列表请求参数
func (*SelectDictRequest) Descriptor
deprecated
func (*SelectDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectDictRequest.ProtoReflect.Descriptor instead.
func (*SelectDictRequest) GetCategory ¶
func (x *SelectDictRequest) GetCategory() api.Category
func (*SelectDictRequest) GetIsDeleted ¶
func (x *SelectDictRequest) GetIsDeleted() bool
func (*SelectDictRequest) GetKeyword ¶
func (x *SelectDictRequest) GetKeyword() string
func (*SelectDictRequest) GetPage ¶
func (x *SelectDictRequest) GetPage() *api.PageRequest
func (*SelectDictRequest) GetStatus ¶
func (x *SelectDictRequest) GetStatus() api.Status
func (*SelectDictRequest) ProtoMessage ¶
func (*SelectDictRequest) ProtoMessage()
func (*SelectDictRequest) ProtoReflect ¶
func (x *SelectDictRequest) ProtoReflect() protoreflect.Message
func (*SelectDictRequest) Reset ¶
func (x *SelectDictRequest) Reset()
func (*SelectDictRequest) String ¶
func (x *SelectDictRequest) String() string
func (*SelectDictRequest) Validate ¶
func (m *SelectDictRequest) Validate() error
Validate checks the field values on SelectDictRequest 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 (*SelectDictRequest) ValidateAll ¶
func (m *SelectDictRequest) ValidateAll() error
ValidateAll checks the field values on SelectDictRequest 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 SelectDictRequestMultiError, or nil if none found.
type SelectDictRequestMultiError ¶
type SelectDictRequestMultiError []error
SelectDictRequestMultiError is an error wrapping multiple validation errors returned by SelectDictRequest.ValidateAll() if the designated constraints aren't met.
func (SelectDictRequestMultiError) AllErrors ¶
func (m SelectDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectDictRequestMultiError) Error ¶
func (m SelectDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectDictRequestValidationError ¶
type SelectDictRequestValidationError struct {
// contains filtered or unexported fields
}
SelectDictRequestValidationError is the validation error returned by SelectDictRequest.Validate if the designated constraints aren't met.
func (SelectDictRequestValidationError) Cause ¶
func (e SelectDictRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectDictRequestValidationError) Error ¶
func (e SelectDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectDictRequestValidationError) ErrorName ¶
func (e SelectDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectDictRequestValidationError) Field ¶
func (e SelectDictRequestValidationError) Field() string
Field function returns field value.
func (SelectDictRequestValidationError) Key ¶
func (e SelectDictRequestValidationError) Key() bool
Key function returns key value.
func (SelectDictRequestValidationError) Reason ¶
func (e SelectDictRequestValidationError) Reason() string
Reason function returns reason value.
type SelectRoleReply ¶
type SelectRoleReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 角色下拉列表 List []*api.RoleSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取角色下拉列表响应参数
func (*SelectRoleReply) Descriptor
deprecated
func (*SelectRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectRoleReply.ProtoReflect.Descriptor instead.
func (*SelectRoleReply) GetList ¶
func (x *SelectRoleReply) GetList() []*api.RoleSelectV1
func (*SelectRoleReply) GetPage ¶
func (x *SelectRoleReply) GetPage() *api.PageReply
func (*SelectRoleReply) ProtoMessage ¶
func (*SelectRoleReply) ProtoMessage()
func (*SelectRoleReply) ProtoReflect ¶
func (x *SelectRoleReply) ProtoReflect() protoreflect.Message
func (*SelectRoleReply) Reset ¶
func (x *SelectRoleReply) Reset()
func (*SelectRoleReply) String ¶
func (x *SelectRoleReply) String() string
func (*SelectRoleReply) Validate ¶
func (m *SelectRoleReply) Validate() error
Validate checks the field values on SelectRoleReply 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 (*SelectRoleReply) ValidateAll ¶
func (m *SelectRoleReply) ValidateAll() error
ValidateAll checks the field values on SelectRoleReply 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 SelectRoleReplyMultiError, or nil if none found.
type SelectRoleReplyMultiError ¶
type SelectRoleReplyMultiError []error
SelectRoleReplyMultiError is an error wrapping multiple validation errors returned by SelectRoleReply.ValidateAll() if the designated constraints aren't met.
func (SelectRoleReplyMultiError) AllErrors ¶
func (m SelectRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectRoleReplyMultiError) Error ¶
func (m SelectRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectRoleReplyValidationError ¶
type SelectRoleReplyValidationError struct {
// contains filtered or unexported fields
}
SelectRoleReplyValidationError is the validation error returned by SelectRoleReply.Validate if the designated constraints aren't met.
func (SelectRoleReplyValidationError) Cause ¶
func (e SelectRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectRoleReplyValidationError) Error ¶
func (e SelectRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectRoleReplyValidationError) ErrorName ¶
func (e SelectRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectRoleReplyValidationError) Field ¶
func (e SelectRoleReplyValidationError) Field() string
Field function returns field value.
func (SelectRoleReplyValidationError) Key ¶
func (e SelectRoleReplyValidationError) Key() bool
Key function returns key value.
func (SelectRoleReplyValidationError) Reason ¶
func (e SelectRoleReplyValidationError) Reason() string
Reason function returns reason value.
type SelectRoleRequest ¶
type SelectRoleRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制0-20字符, 可选, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 用于获取指定用户的角色信息 UserId uint32 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` // 状态 Status api.Status `protobuf:"varint,4,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取角色下拉列表请求参数
func (*SelectRoleRequest) Descriptor
deprecated
func (*SelectRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectRoleRequest.ProtoReflect.Descriptor instead.
func (*SelectRoleRequest) GetKeyword ¶
func (x *SelectRoleRequest) GetKeyword() string
func (*SelectRoleRequest) GetPage ¶
func (x *SelectRoleRequest) GetPage() *api.PageRequest
func (*SelectRoleRequest) GetStatus ¶
func (x *SelectRoleRequest) GetStatus() api.Status
func (*SelectRoleRequest) GetUserId ¶
func (x *SelectRoleRequest) GetUserId() uint32
func (*SelectRoleRequest) ProtoMessage ¶
func (*SelectRoleRequest) ProtoMessage()
func (*SelectRoleRequest) ProtoReflect ¶
func (x *SelectRoleRequest) ProtoReflect() protoreflect.Message
func (*SelectRoleRequest) Reset ¶
func (x *SelectRoleRequest) Reset()
func (*SelectRoleRequest) String ¶
func (x *SelectRoleRequest) String() string
func (*SelectRoleRequest) Validate ¶
func (m *SelectRoleRequest) Validate() error
Validate checks the field values on SelectRoleRequest 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 (*SelectRoleRequest) ValidateAll ¶
func (m *SelectRoleRequest) ValidateAll() error
ValidateAll checks the field values on SelectRoleRequest 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 SelectRoleRequestMultiError, or nil if none found.
type SelectRoleRequestMultiError ¶
type SelectRoleRequestMultiError []error
SelectRoleRequestMultiError is an error wrapping multiple validation errors returned by SelectRoleRequest.ValidateAll() if the designated constraints aren't met.
func (SelectRoleRequestMultiError) AllErrors ¶
func (m SelectRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectRoleRequestMultiError) Error ¶
func (m SelectRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectRoleRequestValidationError ¶
type SelectRoleRequestValidationError struct {
// contains filtered or unexported fields
}
SelectRoleRequestValidationError is the validation error returned by SelectRoleRequest.Validate if the designated constraints aren't met.
func (SelectRoleRequestValidationError) Cause ¶
func (e SelectRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectRoleRequestValidationError) Error ¶
func (e SelectRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectRoleRequestValidationError) ErrorName ¶
func (e SelectRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectRoleRequestValidationError) Field ¶
func (e SelectRoleRequestValidationError) Field() string
Field function returns field value.
func (SelectRoleRequestValidationError) Key ¶
func (e SelectRoleRequestValidationError) Key() bool
Key function returns key value.
func (SelectRoleRequestValidationError) Reason ¶
func (e SelectRoleRequestValidationError) Reason() string
Reason function returns reason value.
type SelectUserReply ¶
type SelectUserReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 用户下拉列表 List []*api.UserSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取用户下拉列表响应参数
func (*SelectUserReply) Descriptor
deprecated
func (*SelectUserReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectUserReply.ProtoReflect.Descriptor instead.
func (*SelectUserReply) GetList ¶
func (x *SelectUserReply) GetList() []*api.UserSelectV1
func (*SelectUserReply) GetPage ¶
func (x *SelectUserReply) GetPage() *api.PageReply
func (*SelectUserReply) ProtoMessage ¶
func (*SelectUserReply) ProtoMessage()
func (*SelectUserReply) ProtoReflect ¶
func (x *SelectUserReply) ProtoReflect() protoreflect.Message
func (*SelectUserReply) Reset ¶
func (x *SelectUserReply) Reset()
func (*SelectUserReply) String ¶
func (x *SelectUserReply) String() string
func (*SelectUserReply) Validate ¶
func (m *SelectUserReply) Validate() error
Validate checks the field values on SelectUserReply 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 (*SelectUserReply) ValidateAll ¶
func (m *SelectUserReply) ValidateAll() error
ValidateAll checks the field values on SelectUserReply 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 SelectUserReplyMultiError, or nil if none found.
type SelectUserReplyMultiError ¶
type SelectUserReplyMultiError []error
SelectUserReplyMultiError is an error wrapping multiple validation errors returned by SelectUserReply.ValidateAll() if the designated constraints aren't met.
func (SelectUserReplyMultiError) AllErrors ¶
func (m SelectUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectUserReplyMultiError) Error ¶
func (m SelectUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectUserReplyValidationError ¶
type SelectUserReplyValidationError struct {
// contains filtered or unexported fields
}
SelectUserReplyValidationError is the validation error returned by SelectUserReply.Validate if the designated constraints aren't met.
func (SelectUserReplyValidationError) Cause ¶
func (e SelectUserReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectUserReplyValidationError) Error ¶
func (e SelectUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectUserReplyValidationError) ErrorName ¶
func (e SelectUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectUserReplyValidationError) Field ¶
func (e SelectUserReplyValidationError) Field() string
Field function returns field value.
func (SelectUserReplyValidationError) Key ¶
func (e SelectUserReplyValidationError) Key() bool
Key function returns key value.
func (SelectUserReplyValidationError) Reason ¶
func (e SelectUserReplyValidationError) Reason() string
Reason function returns reason value.
type SelectUserRequest ¶
type SelectUserRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度限制 0-20 字符, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取用户下拉列表请求参数
func (*SelectUserRequest) Descriptor
deprecated
func (*SelectUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectUserRequest.ProtoReflect.Descriptor instead.
func (*SelectUserRequest) GetKeyword ¶
func (x *SelectUserRequest) GetKeyword() string
func (*SelectUserRequest) GetPage ¶
func (x *SelectUserRequest) GetPage() *api.PageRequest
func (*SelectUserRequest) GetStatus ¶
func (x *SelectUserRequest) GetStatus() api.Status
func (*SelectUserRequest) ProtoMessage ¶
func (*SelectUserRequest) ProtoMessage()
func (*SelectUserRequest) ProtoReflect ¶
func (x *SelectUserRequest) ProtoReflect() protoreflect.Message
func (*SelectUserRequest) Reset ¶
func (x *SelectUserRequest) Reset()
func (*SelectUserRequest) String ¶
func (x *SelectUserRequest) String() string
func (*SelectUserRequest) Validate ¶
func (m *SelectUserRequest) Validate() error
Validate checks the field values on SelectUserRequest 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 (*SelectUserRequest) ValidateAll ¶
func (m *SelectUserRequest) ValidateAll() error
ValidateAll checks the field values on SelectUserRequest 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 SelectUserRequestMultiError, or nil if none found.
type SelectUserRequestMultiError ¶
type SelectUserRequestMultiError []error
SelectUserRequestMultiError is an error wrapping multiple validation errors returned by SelectUserRequest.ValidateAll() if the designated constraints aren't met.
func (SelectUserRequestMultiError) AllErrors ¶
func (m SelectUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectUserRequestMultiError) Error ¶
func (m SelectUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectUserRequestValidationError ¶
type SelectUserRequestValidationError struct {
// contains filtered or unexported fields
}
SelectUserRequestValidationError is the validation error returned by SelectUserRequest.Validate if the designated constraints aren't met.
func (SelectUserRequestValidationError) Cause ¶
func (e SelectUserRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectUserRequestValidationError) Error ¶
func (e SelectUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectUserRequestValidationError) ErrorName ¶
func (e SelectUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectUserRequestValidationError) Field ¶
func (e SelectUserRequestValidationError) Field() string
Field function returns field value.
func (SelectUserRequestValidationError) Key ¶
func (e SelectUserRequestValidationError) Key() bool
Key function returns key value.
func (SelectUserRequestValidationError) Reason ¶
func (e SelectUserRequestValidationError) Reason() string
Reason function returns reason value.
type SyslogClient ¶
type SyslogClient interface { // 日志列表接口 ListSyslog(ctx context.Context, in *ListSyslogRequest, opts ...grpc.CallOption) (*ListSyslogReply, error) }
SyslogClient is the client API for Syslog 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 NewSyslogClient ¶
func NewSyslogClient(cc grpc.ClientConnInterface) SyslogClient
type SyslogHTTPClient ¶
type SyslogHTTPClient interface {
ListSyslog(ctx context.Context, req *ListSyslogRequest, opts ...http.CallOption) (rsp *ListSyslogReply, err error)
}
func NewSyslogHTTPClient ¶
func NewSyslogHTTPClient(client *http.Client) SyslogHTTPClient
type SyslogHTTPClientImpl ¶
type SyslogHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SyslogHTTPClientImpl) ListSyslog ¶
func (c *SyslogHTTPClientImpl) ListSyslog(ctx context.Context, in *ListSyslogRequest, opts ...http.CallOption) (*ListSyslogReply, error)
type SyslogHTTPServer ¶
type SyslogHTTPServer interface { // ListSyslog 日志列表接口 ListSyslog(context.Context, *ListSyslogRequest) (*ListSyslogReply, error) }
type SyslogServer ¶
type SyslogServer interface { // 日志列表接口 ListSyslog(context.Context, *ListSyslogRequest) (*ListSyslogReply, error) // contains filtered or unexported methods }
SyslogServer is the server API for Syslog service. All implementations must embed UnimplementedSyslogServer for forward compatibility
type UnimplementedApiServer ¶
type UnimplementedApiServer struct { }
UnimplementedApiServer must be embedded to have forward compatible implementations.
func (UnimplementedApiServer) AuthorizeApi ¶
func (UnimplementedApiServer) AuthorizeApi(context.Context, *AuthorizeApiRequest) (*AuthorizeApiReply, error)
func (UnimplementedApiServer) CreateApi ¶
func (UnimplementedApiServer) CreateApi(context.Context, *CreateApiRequest) (*CreateApiReply, error)
func (UnimplementedApiServer) DeleteApi ¶
func (UnimplementedApiServer) DeleteApi(context.Context, *DeleteApiRequest) (*DeleteApiReply, error)
func (UnimplementedApiServer) EditApiStatus ¶
func (UnimplementedApiServer) EditApiStatus(context.Context, *EditApiStatusRequest) (*EditApiStatusReply, error)
func (UnimplementedApiServer) GetApi ¶
func (UnimplementedApiServer) GetApi(context.Context, *GetApiRequest) (*GetApiReply, error)
func (UnimplementedApiServer) GetApiTree ¶
func (UnimplementedApiServer) GetApiTree(context.Context, *GetApiTreeRequest) (*GetApiTreeReply, error)
func (UnimplementedApiServer) ListApi ¶
func (UnimplementedApiServer) ListApi(context.Context, *ListApiRequest) (*ListApiReply, error)
func (UnimplementedApiServer) SelectApi ¶
func (UnimplementedApiServer) SelectApi(context.Context, *SelectApiRequest) (*SelectApiReply, error)
func (UnimplementedApiServer) UpdateApi ¶
func (UnimplementedApiServer) UpdateApi(context.Context, *UpdateApiRequest) (*UpdateApiReply, error)
type UnimplementedDictServer ¶
type UnimplementedDictServer struct { }
UnimplementedDictServer must be embedded to have forward compatible implementations.
func (UnimplementedDictServer) BatchDeleteDict ¶
func (UnimplementedDictServer) BatchDeleteDict(context.Context, *BatchDeleteDictRequest) (*BatchDeleteDictReply, error)
func (UnimplementedDictServer) BatchUpdateDictStatus ¶
func (UnimplementedDictServer) BatchUpdateDictStatus(context.Context, *BatchUpdateDictStatusRequest) (*BatchUpdateDictStatusReply, error)
func (UnimplementedDictServer) CountAlarmPage ¶
func (UnimplementedDictServer) CountAlarmPage(context.Context, *CountAlarmPageRequest) (*CountAlarmPageReply, error)
func (UnimplementedDictServer) CreateDict ¶
func (UnimplementedDictServer) CreateDict(context.Context, *CreateDictRequest) (*CreateDictReply, error)
func (UnimplementedDictServer) DeleteDict ¶
func (UnimplementedDictServer) DeleteDict(context.Context, *DeleteDictRequest) (*DeleteDictReply, error)
func (UnimplementedDictServer) GetDict ¶
func (UnimplementedDictServer) GetDict(context.Context, *GetDictRequest) (*GetDictReply, error)
func (UnimplementedDictServer) ListDict ¶
func (UnimplementedDictServer) ListDict(context.Context, *ListDictRequest) (*ListDictReply, error)
func (UnimplementedDictServer) ListMyAlarmPage ¶
func (UnimplementedDictServer) ListMyAlarmPage(context.Context, *ListMyAlarmPageRequest) (*ListMyAlarmPageReply, error)
func (UnimplementedDictServer) MyAlarmPagesConfig ¶
func (UnimplementedDictServer) MyAlarmPagesConfig(context.Context, *MyAlarmPagesConfigRequest) (*MyAlarmPagesConfigReply, error)
func (UnimplementedDictServer) SelectDict ¶
func (UnimplementedDictServer) SelectDict(context.Context, *SelectDictRequest) (*SelectDictReply, error)
func (UnimplementedDictServer) UpdateDict ¶
func (UnimplementedDictServer) UpdateDict(context.Context, *UpdateDictRequest) (*UpdateDictReply, error)
type UnimplementedRoleServer ¶
type UnimplementedRoleServer struct { }
UnimplementedRoleServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleServer) CreateRole ¶
func (UnimplementedRoleServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleReply, error)
func (UnimplementedRoleServer) DeleteRole ¶
func (UnimplementedRoleServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleReply, error)
func (UnimplementedRoleServer) EditRoleStatus ¶
func (UnimplementedRoleServer) EditRoleStatus(context.Context, *EditRoleStatusRequest) (*EditRoleStatusReply, error)
func (UnimplementedRoleServer) GetRole ¶
func (UnimplementedRoleServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error)
func (UnimplementedRoleServer) ListRole ¶
func (UnimplementedRoleServer) ListRole(context.Context, *ListRoleRequest) (*ListRoleReply, error)
func (UnimplementedRoleServer) RelateApi ¶
func (UnimplementedRoleServer) RelateApi(context.Context, *RelateApiRequest) (*RelateApiReply, error)
func (UnimplementedRoleServer) SelectRole ¶
func (UnimplementedRoleServer) SelectRole(context.Context, *SelectRoleRequest) (*SelectRoleReply, error)
func (UnimplementedRoleServer) UpdateRole ¶
func (UnimplementedRoleServer) UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleReply, error)
type UnimplementedSyslogServer ¶
type UnimplementedSyslogServer struct { }
UnimplementedSyslogServer must be embedded to have forward compatible implementations.
func (UnimplementedSyslogServer) ListSyslog ¶
func (UnimplementedSyslogServer) ListSyslog(context.Context, *ListSyslogRequest) (*ListSyslogReply, error)
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) CreateUser ¶
func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
func (UnimplementedUserServer) DeleteUser ¶
func (UnimplementedUserServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
func (UnimplementedUserServer) EditUserPassword ¶
func (UnimplementedUserServer) EditUserPassword(context.Context, *EditUserPasswordRequest) (*EditUserPasswordReply, error)
func (UnimplementedUserServer) EditUserStatus ¶
func (UnimplementedUserServer) EditUserStatus(context.Context, *EditUserStatusRequest) (*EditUserStatusReply, error)
func (UnimplementedUserServer) GetUser ¶
func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
func (UnimplementedUserServer) ListUser ¶
func (UnimplementedUserServer) ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
func (UnimplementedUserServer) RelateRoles ¶
func (UnimplementedUserServer) RelateRoles(context.Context, *RelateRolesRequest) (*RelateRolesReply, error)
func (UnimplementedUserServer) SelectUser ¶
func (UnimplementedUserServer) SelectUser(context.Context, *SelectUserRequest) (*SelectUserReply, error)
func (UnimplementedUserServer) UpdateUser ¶
func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
type UnsafeApiServer ¶
type UnsafeApiServer interface {
// contains filtered or unexported methods
}
UnsafeApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiServer will result in compilation errors.
type UnsafeDictServer ¶
type UnsafeDictServer interface {
// contains filtered or unexported methods
}
UnsafeDictServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DictServer will result in compilation errors.
type UnsafeRoleServer ¶
type UnsafeRoleServer interface {
// contains filtered or unexported methods
}
UnsafeRoleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServer will result in compilation errors.
type UnsafeSyslogServer ¶
type UnsafeSyslogServer interface {
// contains filtered or unexported methods
}
UnsafeSyslogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SyslogServer will result in compilation errors.
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UpdateApiReply ¶
type UpdateApiReply struct { // 接口ID, 更新成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新API数据响应参数
func (*UpdateApiReply) Descriptor
deprecated
func (*UpdateApiReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiReply.ProtoReflect.Descriptor instead.
func (*UpdateApiReply) GetId ¶
func (x *UpdateApiReply) GetId() uint32
func (*UpdateApiReply) ProtoMessage ¶
func (*UpdateApiReply) ProtoMessage()
func (*UpdateApiReply) ProtoReflect ¶
func (x *UpdateApiReply) ProtoReflect() protoreflect.Message
func (*UpdateApiReply) Reset ¶
func (x *UpdateApiReply) Reset()
func (*UpdateApiReply) String ¶
func (x *UpdateApiReply) String() string
func (*UpdateApiReply) Validate ¶
func (m *UpdateApiReply) Validate() error
Validate checks the field values on UpdateApiReply 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 (*UpdateApiReply) ValidateAll ¶
func (m *UpdateApiReply) ValidateAll() error
ValidateAll checks the field values on UpdateApiReply 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 UpdateApiReplyMultiError, or nil if none found.
type UpdateApiReplyMultiError ¶
type UpdateApiReplyMultiError []error
UpdateApiReplyMultiError is an error wrapping multiple validation errors returned by UpdateApiReply.ValidateAll() if the designated constraints aren't met.
func (UpdateApiReplyMultiError) AllErrors ¶
func (m UpdateApiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateApiReplyMultiError) Error ¶
func (m UpdateApiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateApiReplyValidationError ¶
type UpdateApiReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateApiReplyValidationError is the validation error returned by UpdateApiReply.Validate if the designated constraints aren't met.
func (UpdateApiReplyValidationError) Cause ¶
func (e UpdateApiReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateApiReplyValidationError) Error ¶
func (e UpdateApiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateApiReplyValidationError) ErrorName ¶
func (e UpdateApiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateApiReplyValidationError) Field ¶
func (e UpdateApiReplyValidationError) Field() string
Field function returns field value.
func (UpdateApiReplyValidationError) Key ¶
func (e UpdateApiReplyValidationError) Key() bool
Key function returns key value.
func (UpdateApiReplyValidationError) Reason ¶
func (e UpdateApiReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateApiRequest ¶
type UpdateApiRequest struct { // 需要更新数据的接口ID, 必填, 大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 接口名称, 长度限制2-20 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 接口路径, 长度限制1-255 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // 接口方法, GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` // 接口状态, 启用, 禁用, 对应Status枚举 Status api.Status `protobuf:"varint,5,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // 备注 长度限制0-255 Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` // 所属模块 Module api.ModuleType `protobuf:"varint,7,opt,name=module,proto3,enum=api.ModuleType" json:"module,omitempty"` // 所属领域 Domain api.DomainType `protobuf:"varint,8,opt,name=domain,proto3,enum=api.DomainType" json:"domain,omitempty"` // contains filtered or unexported fields }
更新API数据请求参数
func (*UpdateApiRequest) Descriptor
deprecated
func (*UpdateApiRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiRequest.ProtoReflect.Descriptor instead.
func (*UpdateApiRequest) GetDomain ¶
func (x *UpdateApiRequest) GetDomain() api.DomainType
func (*UpdateApiRequest) GetId ¶
func (x *UpdateApiRequest) GetId() uint32
func (*UpdateApiRequest) GetMethod ¶
func (x *UpdateApiRequest) GetMethod() string
func (*UpdateApiRequest) GetModule ¶
func (x *UpdateApiRequest) GetModule() api.ModuleType
func (*UpdateApiRequest) GetName ¶
func (x *UpdateApiRequest) GetName() string
func (*UpdateApiRequest) GetPath ¶
func (x *UpdateApiRequest) GetPath() string
func (*UpdateApiRequest) GetRemark ¶
func (x *UpdateApiRequest) GetRemark() string
func (*UpdateApiRequest) GetStatus ¶
func (x *UpdateApiRequest) GetStatus() api.Status
func (*UpdateApiRequest) ProtoMessage ¶
func (*UpdateApiRequest) ProtoMessage()
func (*UpdateApiRequest) ProtoReflect ¶
func (x *UpdateApiRequest) ProtoReflect() protoreflect.Message
func (*UpdateApiRequest) Reset ¶
func (x *UpdateApiRequest) Reset()
func (*UpdateApiRequest) String ¶
func (x *UpdateApiRequest) String() string
func (*UpdateApiRequest) Validate ¶
func (m *UpdateApiRequest) Validate() error
Validate checks the field values on UpdateApiRequest 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 (*UpdateApiRequest) ValidateAll ¶
func (m *UpdateApiRequest) ValidateAll() error
ValidateAll checks the field values on UpdateApiRequest 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 UpdateApiRequestMultiError, or nil if none found.
type UpdateApiRequestMultiError ¶
type UpdateApiRequestMultiError []error
UpdateApiRequestMultiError is an error wrapping multiple validation errors returned by UpdateApiRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateApiRequestMultiError) AllErrors ¶
func (m UpdateApiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateApiRequestMultiError) Error ¶
func (m UpdateApiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateApiRequestValidationError ¶
type UpdateApiRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateApiRequestValidationError is the validation error returned by UpdateApiRequest.Validate if the designated constraints aren't met.
func (UpdateApiRequestValidationError) Cause ¶
func (e UpdateApiRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateApiRequestValidationError) Error ¶
func (e UpdateApiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateApiRequestValidationError) ErrorName ¶
func (e UpdateApiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateApiRequestValidationError) Field ¶
func (e UpdateApiRequestValidationError) Field() string
Field function returns field value.
func (UpdateApiRequestValidationError) Key ¶
func (e UpdateApiRequestValidationError) Key() bool
Key function returns key value.
func (UpdateApiRequestValidationError) Reason ¶
func (e UpdateApiRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDictReply ¶
type UpdateDictReply struct { // 更新成功后的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新字典响应参数
func (*UpdateDictReply) Descriptor
deprecated
func (*UpdateDictReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDictReply.ProtoReflect.Descriptor instead.
func (*UpdateDictReply) GetId ¶
func (x *UpdateDictReply) GetId() uint32
func (*UpdateDictReply) ProtoMessage ¶
func (*UpdateDictReply) ProtoMessage()
func (*UpdateDictReply) ProtoReflect ¶
func (x *UpdateDictReply) ProtoReflect() protoreflect.Message
func (*UpdateDictReply) Reset ¶
func (x *UpdateDictReply) Reset()
func (*UpdateDictReply) String ¶
func (x *UpdateDictReply) String() string
func (*UpdateDictReply) Validate ¶
func (m *UpdateDictReply) Validate() error
Validate checks the field values on UpdateDictReply 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 (*UpdateDictReply) ValidateAll ¶
func (m *UpdateDictReply) ValidateAll() error
ValidateAll checks the field values on UpdateDictReply 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 UpdateDictReplyMultiError, or nil if none found.
type UpdateDictReplyMultiError ¶
type UpdateDictReplyMultiError []error
UpdateDictReplyMultiError is an error wrapping multiple validation errors returned by UpdateDictReply.ValidateAll() if the designated constraints aren't met.
func (UpdateDictReplyMultiError) AllErrors ¶
func (m UpdateDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDictReplyMultiError) Error ¶
func (m UpdateDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDictReplyValidationError ¶
type UpdateDictReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateDictReplyValidationError is the validation error returned by UpdateDictReply.Validate if the designated constraints aren't met.
func (UpdateDictReplyValidationError) Cause ¶
func (e UpdateDictReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateDictReplyValidationError) Error ¶
func (e UpdateDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDictReplyValidationError) ErrorName ¶
func (e UpdateDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDictReplyValidationError) Field ¶
func (e UpdateDictReplyValidationError) Field() string
Field function returns field value.
func (UpdateDictReplyValidationError) Key ¶
func (e UpdateDictReplyValidationError) Key() bool
Key function returns key value.
func (UpdateDictReplyValidationError) Reason ¶
func (e UpdateDictReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateDictRequest ¶
type UpdateDictRequest struct { // 需要更新的字典ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 字典名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 字典分类 Category api.Category `protobuf:"varint,3,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"` // 字典颜色 Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` // 字典备注 Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` // 状态 Status api.Status `protobuf:"varint,7,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
更新字典请求参数
func (*UpdateDictRequest) Descriptor
deprecated
func (*UpdateDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDictRequest.ProtoReflect.Descriptor instead.
func (*UpdateDictRequest) GetCategory ¶
func (x *UpdateDictRequest) GetCategory() api.Category
func (*UpdateDictRequest) GetColor ¶
func (x *UpdateDictRequest) GetColor() string
func (*UpdateDictRequest) GetId ¶
func (x *UpdateDictRequest) GetId() uint32
func (*UpdateDictRequest) GetName ¶
func (x *UpdateDictRequest) GetName() string
func (*UpdateDictRequest) GetRemark ¶
func (x *UpdateDictRequest) GetRemark() string
func (*UpdateDictRequest) GetStatus ¶
func (x *UpdateDictRequest) GetStatus() api.Status
func (*UpdateDictRequest) ProtoMessage ¶
func (*UpdateDictRequest) ProtoMessage()
func (*UpdateDictRequest) ProtoReflect ¶
func (x *UpdateDictRequest) ProtoReflect() protoreflect.Message
func (*UpdateDictRequest) Reset ¶
func (x *UpdateDictRequest) Reset()
func (*UpdateDictRequest) String ¶
func (x *UpdateDictRequest) String() string
func (*UpdateDictRequest) Validate ¶
func (m *UpdateDictRequest) Validate() error
Validate checks the field values on UpdateDictRequest 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 (*UpdateDictRequest) ValidateAll ¶
func (m *UpdateDictRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDictRequest 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 UpdateDictRequestMultiError, or nil if none found.
type UpdateDictRequestMultiError ¶
type UpdateDictRequestMultiError []error
UpdateDictRequestMultiError is an error wrapping multiple validation errors returned by UpdateDictRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDictRequestMultiError) AllErrors ¶
func (m UpdateDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDictRequestMultiError) Error ¶
func (m UpdateDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDictRequestValidationError ¶
type UpdateDictRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDictRequestValidationError is the validation error returned by UpdateDictRequest.Validate if the designated constraints aren't met.
func (UpdateDictRequestValidationError) Cause ¶
func (e UpdateDictRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDictRequestValidationError) Error ¶
func (e UpdateDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDictRequestValidationError) ErrorName ¶
func (e UpdateDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDictRequestValidationError) Field ¶
func (e UpdateDictRequestValidationError) Field() string
Field function returns field value.
func (UpdateDictRequestValidationError) Key ¶
func (e UpdateDictRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDictRequestValidationError) Reason ¶
func (e UpdateDictRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleReply ¶
type UpdateRoleReply struct { // 角色ID, 更新成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新角色响应参数
func (*UpdateRoleReply) Descriptor
deprecated
func (*UpdateRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleReply.ProtoReflect.Descriptor instead.
func (*UpdateRoleReply) GetId ¶
func (x *UpdateRoleReply) GetId() uint32
func (*UpdateRoleReply) ProtoMessage ¶
func (*UpdateRoleReply) ProtoMessage()
func (*UpdateRoleReply) ProtoReflect ¶
func (x *UpdateRoleReply) ProtoReflect() protoreflect.Message
func (*UpdateRoleReply) Reset ¶
func (x *UpdateRoleReply) Reset()
func (*UpdateRoleReply) String ¶
func (x *UpdateRoleReply) String() string
func (*UpdateRoleReply) Validate ¶
func (m *UpdateRoleReply) Validate() error
Validate checks the field values on UpdateRoleReply 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 (*UpdateRoleReply) ValidateAll ¶
func (m *UpdateRoleReply) ValidateAll() error
ValidateAll checks the field values on UpdateRoleReply 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 UpdateRoleReplyMultiError, or nil if none found.
type UpdateRoleReplyMultiError ¶
type UpdateRoleReplyMultiError []error
UpdateRoleReplyMultiError is an error wrapping multiple validation errors returned by UpdateRoleReply.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleReplyMultiError) AllErrors ¶
func (m UpdateRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleReplyMultiError) Error ¶
func (m UpdateRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleReplyValidationError ¶
type UpdateRoleReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleReplyValidationError is the validation error returned by UpdateRoleReply.Validate if the designated constraints aren't met.
func (UpdateRoleReplyValidationError) Cause ¶
func (e UpdateRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleReplyValidationError) Error ¶
func (e UpdateRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleReplyValidationError) ErrorName ¶
func (e UpdateRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleReplyValidationError) Field ¶
func (e UpdateRoleReplyValidationError) Field() string
Field function returns field value.
func (UpdateRoleReplyValidationError) Key ¶
func (e UpdateRoleReplyValidationError) Key() bool
Key function returns key value.
func (UpdateRoleReplyValidationError) Reason ¶
func (e UpdateRoleReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleRequest ¶
type UpdateRoleRequest struct { // 用于更新的角色ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色名称, 长度限制2-32字符 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 备注, 长度限制0-255字符 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // 角色状态, 枚举下的值 Status api.Status `protobuf:"varint,4,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
更新角色请求参数
func (*UpdateRoleRequest) Descriptor
deprecated
func (*UpdateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleRequest) GetId ¶
func (x *UpdateRoleRequest) GetId() uint32
func (*UpdateRoleRequest) GetName ¶
func (x *UpdateRoleRequest) GetName() string
func (*UpdateRoleRequest) GetRemark ¶
func (x *UpdateRoleRequest) GetRemark() string
func (*UpdateRoleRequest) GetStatus ¶
func (x *UpdateRoleRequest) GetStatus() api.Status
func (*UpdateRoleRequest) ProtoMessage ¶
func (*UpdateRoleRequest) ProtoMessage()
func (*UpdateRoleRequest) ProtoReflect ¶
func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleRequest) Reset ¶
func (x *UpdateRoleRequest) Reset()
func (*UpdateRoleRequest) String ¶
func (x *UpdateRoleRequest) String() string
func (*UpdateRoleRequest) Validate ¶
func (m *UpdateRoleRequest) Validate() error
Validate checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRoleRequest) ValidateAll ¶
func (m *UpdateRoleRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleRequestMultiError, or nil if none found.
type UpdateRoleRequestMultiError ¶
type UpdateRoleRequestMultiError []error
UpdateRoleRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleRequestMultiError) AllErrors ¶
func (m UpdateRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleRequestMultiError) Error ¶
func (m UpdateRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleRequestValidationError ¶
type UpdateRoleRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleRequestValidationError is the validation error returned by UpdateRoleRequest.Validate if the designated constraints aren't met.
func (UpdateRoleRequestValidationError) Cause ¶
func (e UpdateRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleRequestValidationError) Error ¶
func (e UpdateRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleRequestValidationError) ErrorName ¶
func (e UpdateRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleRequestValidationError) Field ¶
func (e UpdateRoleRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleRequestValidationError) Key ¶
func (e UpdateRoleRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleRequestValidationError) Reason ¶
func (e UpdateRoleRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserReply ¶
type UpdateUserReply struct { // 用户ID, 更新成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新用户响应参数
func (*UpdateUserReply) Descriptor
deprecated
func (*UpdateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.
func (*UpdateUserReply) GetId ¶
func (x *UpdateUserReply) GetId() uint32
func (*UpdateUserReply) ProtoMessage ¶
func (*UpdateUserReply) ProtoMessage()
func (*UpdateUserReply) ProtoReflect ¶
func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
func (*UpdateUserReply) Reset ¶
func (x *UpdateUserReply) Reset()
func (*UpdateUserReply) String ¶
func (x *UpdateUserReply) String() string
func (*UpdateUserReply) Validate ¶
func (m *UpdateUserReply) Validate() error
Validate checks the field values on UpdateUserReply 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 (*UpdateUserReply) ValidateAll ¶
func (m *UpdateUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserReply 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 UpdateUserReplyMultiError, or nil if none found.
type UpdateUserReplyMultiError ¶
type UpdateUserReplyMultiError []error
UpdateUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserReplyMultiError) AllErrors ¶
func (m UpdateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserReplyMultiError) Error ¶
func (m UpdateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserReplyValidationError ¶
type UpdateUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.
func (UpdateUserReplyValidationError) Cause ¶
func (e UpdateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserReplyValidationError) Error ¶
func (e UpdateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserReplyValidationError) ErrorName ¶
func (e UpdateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserReplyValidationError) Field ¶
func (e UpdateUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserReplyValidationError) Key ¶
func (e UpdateUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserReplyValidationError) Reason ¶
func (e UpdateUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { // 需要更新数据的用户ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 昵称, 长度限制 0-32 字符 Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 备注, 长度限制 0-255 字符 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // 头像, 格式: http(s)?://.* Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // 状态, 必须为系统枚举类型数据, 参考Status Status api.Status `protobuf:"varint,5,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // 性别 Gender api.Gender `protobuf:"varint,6,opt,name=gender,proto3,enum=api.Gender" json:"gender,omitempty"` // 角色ID列表 RoleIds []uint32 `protobuf:"varint,7,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"` // contains filtered or unexported fields }
更新用户请求参数
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatar ¶
func (x *UpdateUserRequest) GetAvatar() string
func (*UpdateUserRequest) GetGender ¶
func (x *UpdateUserRequest) GetGender() api.Gender
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint32
func (*UpdateUserRequest) GetNickname ¶
func (x *UpdateUserRequest) GetNickname() string
func (*UpdateUserRequest) GetRemark ¶
func (x *UpdateUserRequest) GetRemark() string
func (*UpdateUserRequest) GetRoleIds ¶
func (x *UpdateUserRequest) GetRoleIds() []uint32
func (*UpdateUserRequest) GetStatus ¶
func (x *UpdateUserRequest) GetStatus() api.Status
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type UserClient ¶
type UserClient interface { // 创建用户 CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserReply, error) // 更新用户 UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error) // 删除用户 DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserReply, error) // 获取用户 GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error) // 获取用户列表 ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserReply, error) // 获取用户下拉列表 SelectUser(ctx context.Context, in *SelectUserRequest, opts ...grpc.CallOption) (*SelectUserReply, error) // 修改密码 EditUserPassword(ctx context.Context, in *EditUserPasswordRequest, opts ...grpc.CallOption) (*EditUserPasswordReply, error) // 修改状态 EditUserStatus(ctx context.Context, in *EditUserStatusRequest, opts ...grpc.CallOption) (*EditUserStatusReply, error) // 关联角色 RelateRoles(ctx context.Context, in *RelateRolesRequest, opts ...grpc.CallOption) (*RelateRolesReply, error) }
UserClient is the client API for User 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 NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserHTTPClient ¶
type UserHTTPClient interface { CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserReply, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *DeleteUserReply, err error) EditUserPassword(ctx context.Context, req *EditUserPasswordRequest, opts ...http.CallOption) (rsp *EditUserPasswordReply, err error) EditUserStatus(ctx context.Context, req *EditUserStatusRequest, opts ...http.CallOption) (rsp *EditUserStatusReply, err error) GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserReply, err error) ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserReply, err error) RelateRoles(ctx context.Context, req *RelateRolesRequest, opts ...http.CallOption) (rsp *RelateRolesReply, err error) SelectUser(ctx context.Context, req *SelectUserRequest, opts ...http.CallOption) (rsp *SelectUserReply, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error) }
func NewUserHTTPClient ¶
func NewUserHTTPClient(client *http.Client) UserHTTPClient
type UserHTTPClientImpl ¶
type UserHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*UserHTTPClientImpl) CreateUser ¶
func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error)
func (*UserHTTPClientImpl) DeleteUser ¶
func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*DeleteUserReply, error)
func (*UserHTTPClientImpl) EditUserPassword ¶
func (c *UserHTTPClientImpl) EditUserPassword(ctx context.Context, in *EditUserPasswordRequest, opts ...http.CallOption) (*EditUserPasswordReply, error)
func (*UserHTTPClientImpl) EditUserStatus ¶
func (c *UserHTTPClientImpl) EditUserStatus(ctx context.Context, in *EditUserStatusRequest, opts ...http.CallOption) (*EditUserStatusReply, error)
func (*UserHTTPClientImpl) GetUser ¶
func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error)
func (*UserHTTPClientImpl) ListUser ¶
func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *ListUserRequest, opts ...http.CallOption) (*ListUserReply, error)
func (*UserHTTPClientImpl) RelateRoles ¶
func (c *UserHTTPClientImpl) RelateRoles(ctx context.Context, in *RelateRolesRequest, opts ...http.CallOption) (*RelateRolesReply, error)
func (*UserHTTPClientImpl) SelectUser ¶
func (c *UserHTTPClientImpl) SelectUser(ctx context.Context, in *SelectUserRequest, opts ...http.CallOption) (*SelectUserReply, error)
func (*UserHTTPClientImpl) UpdateUser ¶
func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
type UserHTTPServer ¶
type UserHTTPServer interface { // CreateUser 创建用户 CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error) // DeleteUser 删除用户 DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error) // EditUserPassword 修改密码 EditUserPassword(context.Context, *EditUserPasswordRequest) (*EditUserPasswordReply, error) // EditUserStatus 修改状态 EditUserStatus(context.Context, *EditUserStatusRequest) (*EditUserStatusReply, error) // GetUser 获取用户 GetUser(context.Context, *GetUserRequest) (*GetUserReply, error) // ListUser 获取用户列表 ListUser(context.Context, *ListUserRequest) (*ListUserReply, error) // RelateRoles 关联角色 RelateRoles(context.Context, *RelateRolesRequest) (*RelateRolesReply, error) // SelectUser 获取用户下拉列表 SelectUser(context.Context, *SelectUserRequest) (*SelectUserReply, error) // UpdateUser 更新用户 UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) }
type UserServer ¶
type UserServer interface { // 创建用户 CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error) // 更新用户 UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) // 删除用户 DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error) // 获取用户 GetUser(context.Context, *GetUserRequest) (*GetUserReply, error) // 获取用户列表 ListUser(context.Context, *ListUserRequest) (*ListUserReply, error) // 获取用户下拉列表 SelectUser(context.Context, *SelectUserRequest) (*SelectUserReply, error) // 修改密码 EditUserPassword(context.Context, *EditUserPasswordRequest) (*EditUserPasswordReply, error) // 修改状态 EditUserStatus(context.Context, *EditUserStatusRequest) (*EditUserStatusReply, error) // 关联角色 RelateRoles(context.Context, *RelateRolesRequest) (*RelateRolesReply, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility
Source Files ¶
- api.pb.go
- api.pb.validate.go
- api_grpc.pb.go
- api_http.pb.go
- dict.pb.go
- dict.pb.validate.go
- dict_grpc.pb.go
- dict_http.pb.go
- role.pb.go
- role.pb.validate.go
- role_grpc.pb.go
- role_http.pb.go
- syslog.pb.go
- syslog.pb.validate.go
- syslog_grpc.pb.go
- syslog_http.pb.go
- user.pb.go
- user.pb.validate.go
- user_grpc.pb.go
- user_http.pb.go