Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeptHTTPServer(s *http.Server, srv DeptHTTPServer)
- func RegisterDeptServer(s grpc.ServiceRegistrar, srv DeptServer)
- type CreateDeptClassifyReply
- func (*CreateDeptClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeptClassifyReply) GetId() uint32
- func (*CreateDeptClassifyReply) ProtoMessage()
- func (x *CreateDeptClassifyReply) ProtoReflect() protoreflect.Message
- func (x *CreateDeptClassifyReply) Reset()
- func (x *CreateDeptClassifyReply) String() string
- func (m *CreateDeptClassifyReply) Validate() error
- func (m *CreateDeptClassifyReply) ValidateAll() error
- type CreateDeptClassifyReplyMultiError
- type CreateDeptClassifyReplyValidationError
- func (e CreateDeptClassifyReplyValidationError) Cause() error
- func (e CreateDeptClassifyReplyValidationError) Error() string
- func (e CreateDeptClassifyReplyValidationError) ErrorName() string
- func (e CreateDeptClassifyReplyValidationError) Field() string
- func (e CreateDeptClassifyReplyValidationError) Key() bool
- func (e CreateDeptClassifyReplyValidationError) Reason() string
- type CreateDeptClassifyRequest
- func (*CreateDeptClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeptClassifyRequest) GetDescription() string
- func (x *CreateDeptClassifyRequest) GetKeyword() string
- func (x *CreateDeptClassifyRequest) GetName() string
- func (x *CreateDeptClassifyRequest) GetWeight() uint32
- func (*CreateDeptClassifyRequest) ProtoMessage()
- func (x *CreateDeptClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeptClassifyRequest) Reset()
- func (x *CreateDeptClassifyRequest) String() string
- func (m *CreateDeptClassifyRequest) Validate() error
- func (m *CreateDeptClassifyRequest) ValidateAll() error
- type CreateDeptClassifyRequestMultiError
- type CreateDeptClassifyRequestValidationError
- func (e CreateDeptClassifyRequestValidationError) Cause() error
- func (e CreateDeptClassifyRequestValidationError) Error() string
- func (e CreateDeptClassifyRequestValidationError) ErrorName() string
- func (e CreateDeptClassifyRequestValidationError) Field() string
- func (e CreateDeptClassifyRequestValidationError) Key() bool
- func (e CreateDeptClassifyRequestValidationError) Reason() string
- type CreateDeptReply
- func (*CreateDeptReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeptReply) GetId() uint32
- func (*CreateDeptReply) ProtoMessage()
- func (x *CreateDeptReply) ProtoReflect() protoreflect.Message
- func (x *CreateDeptReply) Reset()
- func (x *CreateDeptReply) String() string
- func (m *CreateDeptReply) Validate() error
- func (m *CreateDeptReply) ValidateAll() error
- type CreateDeptReplyMultiError
- type CreateDeptReplyValidationError
- func (e CreateDeptReplyValidationError) Cause() error
- func (e CreateDeptReplyValidationError) Error() string
- func (e CreateDeptReplyValidationError) ErrorName() string
- func (e CreateDeptReplyValidationError) Field() string
- func (e CreateDeptReplyValidationError) Key() bool
- func (e CreateDeptReplyValidationError) Reason() string
- type CreateDeptRequest
- func (*CreateDeptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeptRequest) GetClassifyId() uint32
- func (x *CreateDeptRequest) GetDescription() string
- func (x *CreateDeptRequest) GetKeyword() string
- func (x *CreateDeptRequest) GetLogo() string
- func (x *CreateDeptRequest) GetName() string
- func (x *CreateDeptRequest) GetParentId() uint32
- func (*CreateDeptRequest) ProtoMessage()
- func (x *CreateDeptRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeptRequest) Reset()
- func (x *CreateDeptRequest) String() string
- func (m *CreateDeptRequest) Validate() error
- func (m *CreateDeptRequest) ValidateAll() error
- type CreateDeptRequestMultiError
- type CreateDeptRequestValidationError
- func (e CreateDeptRequestValidationError) Cause() error
- func (e CreateDeptRequestValidationError) Error() string
- func (e CreateDeptRequestValidationError) ErrorName() string
- func (e CreateDeptRequestValidationError) Field() string
- func (e CreateDeptRequestValidationError) Key() bool
- func (e CreateDeptRequestValidationError) Reason() string
- type DeleteDeptClassifyReply
- func (*DeleteDeptClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDeptClassifyReply) ProtoMessage()
- func (x *DeleteDeptClassifyReply) ProtoReflect() protoreflect.Message
- func (x *DeleteDeptClassifyReply) Reset()
- func (x *DeleteDeptClassifyReply) String() string
- func (m *DeleteDeptClassifyReply) Validate() error
- func (m *DeleteDeptClassifyReply) ValidateAll() error
- type DeleteDeptClassifyReplyMultiError
- type DeleteDeptClassifyReplyValidationError
- func (e DeleteDeptClassifyReplyValidationError) Cause() error
- func (e DeleteDeptClassifyReplyValidationError) Error() string
- func (e DeleteDeptClassifyReplyValidationError) ErrorName() string
- func (e DeleteDeptClassifyReplyValidationError) Field() string
- func (e DeleteDeptClassifyReplyValidationError) Key() bool
- func (e DeleteDeptClassifyReplyValidationError) Reason() string
- type DeleteDeptClassifyRequest
- func (*DeleteDeptClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeptClassifyRequest) GetId() uint32
- func (*DeleteDeptClassifyRequest) ProtoMessage()
- func (x *DeleteDeptClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeptClassifyRequest) Reset()
- func (x *DeleteDeptClassifyRequest) String() string
- func (m *DeleteDeptClassifyRequest) Validate() error
- func (m *DeleteDeptClassifyRequest) ValidateAll() error
- type DeleteDeptClassifyRequestMultiError
- type DeleteDeptClassifyRequestValidationError
- func (e DeleteDeptClassifyRequestValidationError) Cause() error
- func (e DeleteDeptClassifyRequestValidationError) Error() string
- func (e DeleteDeptClassifyRequestValidationError) ErrorName() string
- func (e DeleteDeptClassifyRequestValidationError) Field() string
- func (e DeleteDeptClassifyRequestValidationError) Key() bool
- func (e DeleteDeptClassifyRequestValidationError) Reason() string
- type DeleteDeptReply
- func (*DeleteDeptReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDeptReply) ProtoMessage()
- func (x *DeleteDeptReply) ProtoReflect() protoreflect.Message
- func (x *DeleteDeptReply) Reset()
- func (x *DeleteDeptReply) String() string
- func (m *DeleteDeptReply) Validate() error
- func (m *DeleteDeptReply) ValidateAll() error
- type DeleteDeptReplyMultiError
- type DeleteDeptReplyValidationError
- func (e DeleteDeptReplyValidationError) Cause() error
- func (e DeleteDeptReplyValidationError) Error() string
- func (e DeleteDeptReplyValidationError) ErrorName() string
- func (e DeleteDeptReplyValidationError) Field() string
- func (e DeleteDeptReplyValidationError) Key() bool
- func (e DeleteDeptReplyValidationError) Reason() string
- type DeleteDeptRequest
- func (*DeleteDeptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeptRequest) GetId() uint32
- func (*DeleteDeptRequest) ProtoMessage()
- func (x *DeleteDeptRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeptRequest) Reset()
- func (x *DeleteDeptRequest) String() string
- func (m *DeleteDeptRequest) Validate() error
- func (m *DeleteDeptRequest) ValidateAll() error
- type DeleteDeptRequestMultiError
- type DeleteDeptRequestValidationError
- func (e DeleteDeptRequestValidationError) Cause() error
- func (e DeleteDeptRequestValidationError) Error() string
- func (e DeleteDeptRequestValidationError) ErrorName() string
- func (e DeleteDeptRequestValidationError) Field() string
- func (e DeleteDeptRequestValidationError) Key() bool
- func (e DeleteDeptRequestValidationError) Reason() string
- type DeptClassify
- func (*DeptClassify) Descriptor() ([]byte, []int)deprecated
- func (x *DeptClassify) GetId() uint32
- func (x *DeptClassify) GetName() string
- func (*DeptClassify) ProtoMessage()
- func (x *DeptClassify) ProtoReflect() protoreflect.Message
- func (x *DeptClassify) Reset()
- func (x *DeptClassify) String() string
- func (m *DeptClassify) Validate() error
- func (m *DeptClassify) ValidateAll() error
- type DeptClassifyMultiError
- type DeptClassifyValidationError
- func (e DeptClassifyValidationError) Cause() error
- func (e DeptClassifyValidationError) Error() string
- func (e DeptClassifyValidationError) ErrorName() string
- func (e DeptClassifyValidationError) Field() string
- func (e DeptClassifyValidationError) Key() bool
- func (e DeptClassifyValidationError) Reason() string
- type DeptClient
- type DeptHTTPClient
- type DeptHTTPClientImpl
- func (c *DeptHTTPClientImpl) CreateDept(ctx context.Context, in *CreateDeptRequest, opts ...http.CallOption) (*CreateDeptReply, error)
- func (c *DeptHTTPClientImpl) CreateDeptClassify(ctx context.Context, in *CreateDeptClassifyRequest, opts ...http.CallOption) (*CreateDeptClassifyReply, error)
- func (c *DeptHTTPClientImpl) DeleteDept(ctx context.Context, in *DeleteDeptRequest, opts ...http.CallOption) (*DeleteDeptReply, error)
- func (c *DeptHTTPClientImpl) DeleteDeptClassify(ctx context.Context, in *DeleteDeptClassifyRequest, opts ...http.CallOption) (*DeleteDeptClassifyReply, error)
- func (c *DeptHTTPClientImpl) GetDept(ctx context.Context, in *GetDeptRequest, opts ...http.CallOption) (*GetDeptReply, error)
- func (c *DeptHTTPClientImpl) ListCurrentDept(ctx context.Context, in *ListDeptRequest, opts ...http.CallOption) (*ListDeptReply, error)
- func (c *DeptHTTPClientImpl) ListDept(ctx context.Context, in *ListDeptRequest, opts ...http.CallOption) (*ListDeptReply, error)
- func (c *DeptHTTPClientImpl) ListDeptClassify(ctx context.Context, in *ListDeptClassifyRequest, opts ...http.CallOption) (*ListDeptClassifyReply, error)
- func (c *DeptHTTPClientImpl) UpdateDept(ctx context.Context, in *UpdateDeptRequest, opts ...http.CallOption) (*UpdateDeptReply, error)
- func (c *DeptHTTPClientImpl) UpdateDeptClassify(ctx context.Context, in *UpdateDeptClassifyRequest, opts ...http.CallOption) (*UpdateDeptClassifyReply, error)
- type DeptHTTPServer
- type DeptServer
- type GetDeptReply
- func (*GetDeptReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeptReply) GetClassify() *DeptClassify
- func (x *GetDeptReply) GetClassifyId() uint32
- func (x *GetDeptReply) GetCreatedAt() uint32
- func (x *GetDeptReply) GetDescription() string
- func (x *GetDeptReply) GetId() uint32
- func (x *GetDeptReply) GetKeyword() string
- func (x *GetDeptReply) GetLogo() string
- func (x *GetDeptReply) GetName() string
- func (x *GetDeptReply) GetParentId() uint32
- func (x *GetDeptReply) GetStatus() bool
- func (x *GetDeptReply) GetUpdatedAt() uint32
- func (*GetDeptReply) ProtoMessage()
- func (x *GetDeptReply) ProtoReflect() protoreflect.Message
- func (x *GetDeptReply) Reset()
- func (x *GetDeptReply) String() string
- func (m *GetDeptReply) Validate() error
- func (m *GetDeptReply) ValidateAll() error
- type GetDeptReplyMultiError
- type GetDeptReplyValidationError
- func (e GetDeptReplyValidationError) Cause() error
- func (e GetDeptReplyValidationError) Error() string
- func (e GetDeptReplyValidationError) ErrorName() string
- func (e GetDeptReplyValidationError) Field() string
- func (e GetDeptReplyValidationError) Key() bool
- func (e GetDeptReplyValidationError) Reason() string
- type GetDeptRequest
- func (*GetDeptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeptRequest) GetId() uint32
- func (*GetDeptRequest) ProtoMessage()
- func (x *GetDeptRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeptRequest) Reset()
- func (x *GetDeptRequest) String() string
- func (m *GetDeptRequest) Validate() error
- func (m *GetDeptRequest) ValidateAll() error
- type GetDeptRequestMultiError
- type GetDeptRequestValidationError
- func (e GetDeptRequestValidationError) Cause() error
- func (e GetDeptRequestValidationError) Error() string
- func (e GetDeptRequestValidationError) ErrorName() string
- func (e GetDeptRequestValidationError) Field() string
- func (e GetDeptRequestValidationError) Key() bool
- func (e GetDeptRequestValidationError) Reason() string
- type ListDeptClassifyReply
- func (*ListDeptClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptClassifyReply) GetList() []*ListDeptClassifyReply_DeptClassify
- func (x *ListDeptClassifyReply) GetTotal() uint32
- func (*ListDeptClassifyReply) ProtoMessage()
- func (x *ListDeptClassifyReply) ProtoReflect() protoreflect.Message
- func (x *ListDeptClassifyReply) Reset()
- func (x *ListDeptClassifyReply) String() string
- func (m *ListDeptClassifyReply) Validate() error
- func (m *ListDeptClassifyReply) ValidateAll() error
- type ListDeptClassifyReplyMultiError
- type ListDeptClassifyReplyValidationError
- func (e ListDeptClassifyReplyValidationError) Cause() error
- func (e ListDeptClassifyReplyValidationError) Error() string
- func (e ListDeptClassifyReplyValidationError) ErrorName() string
- func (e ListDeptClassifyReplyValidationError) Field() string
- func (e ListDeptClassifyReplyValidationError) Key() bool
- func (e ListDeptClassifyReplyValidationError) Reason() string
- type ListDeptClassifyReply_DeptClassify
- func (*ListDeptClassifyReply_DeptClassify) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptClassifyReply_DeptClassify) GetCreatedAt() uint32
- func (x *ListDeptClassifyReply_DeptClassify) GetDescription() string
- func (x *ListDeptClassifyReply_DeptClassify) GetId() uint32
- func (x *ListDeptClassifyReply_DeptClassify) GetKeyword() string
- func (x *ListDeptClassifyReply_DeptClassify) GetName() string
- func (x *ListDeptClassifyReply_DeptClassify) GetStatus() bool
- func (x *ListDeptClassifyReply_DeptClassify) GetUpdatedAt() uint32
- func (x *ListDeptClassifyReply_DeptClassify) GetWeight() uint32
- func (*ListDeptClassifyReply_DeptClassify) ProtoMessage()
- func (x *ListDeptClassifyReply_DeptClassify) ProtoReflect() protoreflect.Message
- func (x *ListDeptClassifyReply_DeptClassify) Reset()
- func (x *ListDeptClassifyReply_DeptClassify) String() string
- func (m *ListDeptClassifyReply_DeptClassify) Validate() error
- func (m *ListDeptClassifyReply_DeptClassify) ValidateAll() error
- type ListDeptClassifyReply_DeptClassifyMultiError
- type ListDeptClassifyReply_DeptClassifyValidationError
- func (e ListDeptClassifyReply_DeptClassifyValidationError) Cause() error
- func (e ListDeptClassifyReply_DeptClassifyValidationError) Error() string
- func (e ListDeptClassifyReply_DeptClassifyValidationError) ErrorName() string
- func (e ListDeptClassifyReply_DeptClassifyValidationError) Field() string
- func (e ListDeptClassifyReply_DeptClassifyValidationError) Key() bool
- func (e ListDeptClassifyReply_DeptClassifyValidationError) Reason() string
- type ListDeptClassifyRequest
- func (*ListDeptClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptClassifyRequest) GetName() string
- func (x *ListDeptClassifyRequest) GetOrder() string
- func (x *ListDeptClassifyRequest) GetOrderBy() string
- func (x *ListDeptClassifyRequest) GetPage() uint32
- func (x *ListDeptClassifyRequest) GetPageSize() uint32
- func (*ListDeptClassifyRequest) ProtoMessage()
- func (x *ListDeptClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeptClassifyRequest) Reset()
- func (x *ListDeptClassifyRequest) String() string
- func (m *ListDeptClassifyRequest) Validate() error
- func (m *ListDeptClassifyRequest) ValidateAll() error
- type ListDeptClassifyRequestMultiError
- type ListDeptClassifyRequestValidationError
- func (e ListDeptClassifyRequestValidationError) Cause() error
- func (e ListDeptClassifyRequestValidationError) Error() string
- func (e ListDeptClassifyRequestValidationError) ErrorName() string
- func (e ListDeptClassifyRequestValidationError) Field() string
- func (e ListDeptClassifyRequestValidationError) Key() bool
- func (e ListDeptClassifyRequestValidationError) Reason() string
- type ListDeptReply
- func (*ListDeptReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptReply) GetList() []*ListDeptReply_Dept
- func (*ListDeptReply) ProtoMessage()
- func (x *ListDeptReply) ProtoReflect() protoreflect.Message
- func (x *ListDeptReply) Reset()
- func (x *ListDeptReply) String() string
- func (m *ListDeptReply) Validate() error
- func (m *ListDeptReply) ValidateAll() error
- type ListDeptReplyMultiError
- type ListDeptReplyValidationError
- func (e ListDeptReplyValidationError) Cause() error
- func (e ListDeptReplyValidationError) Error() string
- func (e ListDeptReplyValidationError) ErrorName() string
- func (e ListDeptReplyValidationError) Field() string
- func (e ListDeptReplyValidationError) Key() bool
- func (e ListDeptReplyValidationError) Reason() string
- type ListDeptReply_Dept
- func (*ListDeptReply_Dept) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptReply_Dept) GetChildren() []*ListDeptReply_Dept
- func (x *ListDeptReply_Dept) GetClassify() *DeptClassify
- func (x *ListDeptReply_Dept) GetClassifyId() uint32
- func (x *ListDeptReply_Dept) GetCreatedAt() uint32
- func (x *ListDeptReply_Dept) GetDescription() string
- func (x *ListDeptReply_Dept) GetId() uint32
- func (x *ListDeptReply_Dept) GetKeyword() string
- func (x *ListDeptReply_Dept) GetLogo() string
- func (x *ListDeptReply_Dept) GetName() string
- func (x *ListDeptReply_Dept) GetParentId() uint32
- func (x *ListDeptReply_Dept) GetStatus() bool
- func (x *ListDeptReply_Dept) GetUpdatedAt() uint32
- func (*ListDeptReply_Dept) ProtoMessage()
- func (x *ListDeptReply_Dept) ProtoReflect() protoreflect.Message
- func (x *ListDeptReply_Dept) Reset()
- func (x *ListDeptReply_Dept) String() string
- func (m *ListDeptReply_Dept) Validate() error
- func (m *ListDeptReply_Dept) ValidateAll() error
- type ListDeptReply_DeptMultiError
- type ListDeptReply_DeptValidationError
- func (e ListDeptReply_DeptValidationError) Cause() error
- func (e ListDeptReply_DeptValidationError) Error() string
- func (e ListDeptReply_DeptValidationError) ErrorName() string
- func (e ListDeptReply_DeptValidationError) Field() string
- func (e ListDeptReply_DeptValidationError) Key() bool
- func (e ListDeptReply_DeptValidationError) Reason() string
- type ListDeptRequest
- func (*ListDeptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeptRequest) GetClassifyId() uint32
- func (x *ListDeptRequest) GetName() string
- func (x *ListDeptRequest) GetStatus() bool
- func (*ListDeptRequest) ProtoMessage()
- func (x *ListDeptRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeptRequest) Reset()
- func (x *ListDeptRequest) String() string
- func (m *ListDeptRequest) Validate() error
- func (m *ListDeptRequest) ValidateAll() error
- type ListDeptRequestMultiError
- type ListDeptRequestValidationError
- func (e ListDeptRequestValidationError) Cause() error
- func (e ListDeptRequestValidationError) Error() string
- func (e ListDeptRequestValidationError) ErrorName() string
- func (e ListDeptRequestValidationError) Field() string
- func (e ListDeptRequestValidationError) Key() bool
- func (e ListDeptRequestValidationError) Reason() string
- type UnimplementedDeptServer
- func (UnimplementedDeptServer) CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
- func (UnimplementedDeptServer) CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
- func (UnimplementedDeptServer) DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
- func (UnimplementedDeptServer) DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
- func (UnimplementedDeptServer) GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
- func (UnimplementedDeptServer) ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
- func (UnimplementedDeptServer) ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
- func (UnimplementedDeptServer) ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
- func (UnimplementedDeptServer) UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
- func (UnimplementedDeptServer) UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
- type UnsafeDeptServer
- type UpdateDeptClassifyReply
- func (*UpdateDeptClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDeptClassifyReply) ProtoMessage()
- func (x *UpdateDeptClassifyReply) ProtoReflect() protoreflect.Message
- func (x *UpdateDeptClassifyReply) Reset()
- func (x *UpdateDeptClassifyReply) String() string
- func (m *UpdateDeptClassifyReply) Validate() error
- func (m *UpdateDeptClassifyReply) ValidateAll() error
- type UpdateDeptClassifyReplyMultiError
- type UpdateDeptClassifyReplyValidationError
- func (e UpdateDeptClassifyReplyValidationError) Cause() error
- func (e UpdateDeptClassifyReplyValidationError) Error() string
- func (e UpdateDeptClassifyReplyValidationError) ErrorName() string
- func (e UpdateDeptClassifyReplyValidationError) Field() string
- func (e UpdateDeptClassifyReplyValidationError) Key() bool
- func (e UpdateDeptClassifyReplyValidationError) Reason() string
- type UpdateDeptClassifyRequest
- func (*UpdateDeptClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeptClassifyRequest) GetDescription() string
- func (x *UpdateDeptClassifyRequest) GetId() uint32
- func (x *UpdateDeptClassifyRequest) GetKeyword() string
- func (x *UpdateDeptClassifyRequest) GetName() string
- func (x *UpdateDeptClassifyRequest) GetWeight() uint32
- func (*UpdateDeptClassifyRequest) ProtoMessage()
- func (x *UpdateDeptClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeptClassifyRequest) Reset()
- func (x *UpdateDeptClassifyRequest) String() string
- func (m *UpdateDeptClassifyRequest) Validate() error
- func (m *UpdateDeptClassifyRequest) ValidateAll() error
- type UpdateDeptClassifyRequestMultiError
- type UpdateDeptClassifyRequestValidationError
- func (e UpdateDeptClassifyRequestValidationError) Cause() error
- func (e UpdateDeptClassifyRequestValidationError) Error() string
- func (e UpdateDeptClassifyRequestValidationError) ErrorName() string
- func (e UpdateDeptClassifyRequestValidationError) Field() string
- func (e UpdateDeptClassifyRequestValidationError) Key() bool
- func (e UpdateDeptClassifyRequestValidationError) Reason() string
- type UpdateDeptReply
- func (*UpdateDeptReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDeptReply) ProtoMessage()
- func (x *UpdateDeptReply) ProtoReflect() protoreflect.Message
- func (x *UpdateDeptReply) Reset()
- func (x *UpdateDeptReply) String() string
- func (m *UpdateDeptReply) Validate() error
- func (m *UpdateDeptReply) ValidateAll() error
- type UpdateDeptReplyMultiError
- type UpdateDeptReplyValidationError
- func (e UpdateDeptReplyValidationError) Cause() error
- func (e UpdateDeptReplyValidationError) Error() string
- func (e UpdateDeptReplyValidationError) ErrorName() string
- func (e UpdateDeptReplyValidationError) Field() string
- func (e UpdateDeptReplyValidationError) Key() bool
- func (e UpdateDeptReplyValidationError) Reason() string
- type UpdateDeptRequest
- func (*UpdateDeptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeptRequest) GetClassifyId() uint32
- func (x *UpdateDeptRequest) GetDescription() string
- func (x *UpdateDeptRequest) GetId() uint32
- func (x *UpdateDeptRequest) GetName() string
- func (x *UpdateDeptRequest) GetParentId() uint32
- func (x *UpdateDeptRequest) GetStatus() bool
- func (*UpdateDeptRequest) ProtoMessage()
- func (x *UpdateDeptRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeptRequest) Reset()
- func (x *UpdateDeptRequest) String() string
- func (m *UpdateDeptRequest) Validate() error
- func (m *UpdateDeptRequest) ValidateAll() error
- type UpdateDeptRequestMultiError
- type UpdateDeptRequestValidationError
- func (e UpdateDeptRequestValidationError) Cause() error
- func (e UpdateDeptRequestValidationError) Error() string
- func (e UpdateDeptRequestValidationError) ErrorName() string
- func (e UpdateDeptRequestValidationError) Field() string
- func (e UpdateDeptRequestValidationError) Key() bool
- func (e UpdateDeptRequestValidationError) Reason() string
Constants ¶
const ( Dept_ListDeptClassify_FullMethodName = "/manager.api.dept.Dept/ListDeptClassify" Dept_CreateDeptClassify_FullMethodName = "/manager.api.dept.Dept/CreateDeptClassify" Dept_UpdateDeptClassify_FullMethodName = "/manager.api.dept.Dept/UpdateDeptClassify" Dept_DeleteDeptClassify_FullMethodName = "/manager.api.dept.Dept/DeleteDeptClassify" Dept_ListCurrentDept_FullMethodName = "/manager.api.dept.Dept/ListCurrentDept" Dept_ListDept_FullMethodName = "/manager.api.dept.Dept/ListDept" Dept_CreateDept_FullMethodName = "/manager.api.dept.Dept/CreateDept" Dept_UpdateDept_FullMethodName = "/manager.api.dept.Dept/UpdateDept" Dept_DeleteDept_FullMethodName = "/manager.api.dept.Dept/DeleteDept" Dept_GetDept_FullMethodName = "/manager.api.dept.Dept/GetDept" )
const ( OperationDeptCreateDept = "/manager.api.dept.Dept/CreateDept" OperationDeptCreateDeptClassify = "/manager.api.dept.Dept/CreateDeptClassify" OperationDeptDeleteDept = "/manager.api.dept.Dept/DeleteDept" OperationDeptDeleteDeptClassify = "/manager.api.dept.Dept/DeleteDeptClassify" OperationDeptGetDept = "/manager.api.dept.Dept/GetDept" OperationDeptListCurrentDept = "/manager.api.dept.Dept/ListCurrentDept" OperationDeptListDept = "/manager.api.dept.Dept/ListDept" OperationDeptListDeptClassify = "/manager.api.dept.Dept/ListDeptClassify" OperationDeptUpdateDept = "/manager.api.dept.Dept/UpdateDept" OperationDeptUpdateDeptClassify = "/manager.api.dept.Dept/UpdateDeptClassify" )
Variables ¶
var Dept_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.dept.Dept", HandlerType: (*DeptServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListDeptClassify", Handler: _Dept_ListDeptClassify_Handler, }, { MethodName: "CreateDeptClassify", Handler: _Dept_CreateDeptClassify_Handler, }, { MethodName: "UpdateDeptClassify", Handler: _Dept_UpdateDeptClassify_Handler, }, { MethodName: "DeleteDeptClassify", Handler: _Dept_DeleteDeptClassify_Handler, }, { MethodName: "ListCurrentDept", Handler: _Dept_ListCurrentDept_Handler, }, { MethodName: "ListDept", Handler: _Dept_ListDept_Handler, }, { MethodName: "CreateDept", Handler: _Dept_CreateDept_Handler, }, { MethodName: "UpdateDept", Handler: _Dept_UpdateDept_Handler, }, { MethodName: "DeleteDept", Handler: _Dept_DeleteDept_Handler, }, { MethodName: "GetDept", Handler: _Dept_GetDept_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/dept/proto/dept_service.proto", }
Dept_ServiceDesc is the grpc.ServiceDesc for Dept service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_dept_proto_dept_proto protoreflect.FileDescriptor
var File_api_dept_proto_dept_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeptHTTPServer ¶
func RegisterDeptHTTPServer(s *http.Server, srv DeptHTTPServer)
func RegisterDeptServer ¶
func RegisterDeptServer(s grpc.ServiceRegistrar, srv DeptServer)
Types ¶
type CreateDeptClassifyReply ¶
type CreateDeptClassifyReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDeptClassifyReply) Descriptor
deprecated
func (*CreateDeptClassifyReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeptClassifyReply.ProtoReflect.Descriptor instead.
func (*CreateDeptClassifyReply) GetId ¶
func (x *CreateDeptClassifyReply) GetId() uint32
func (*CreateDeptClassifyReply) ProtoMessage ¶
func (*CreateDeptClassifyReply) ProtoMessage()
func (*CreateDeptClassifyReply) ProtoReflect ¶
func (x *CreateDeptClassifyReply) ProtoReflect() protoreflect.Message
func (*CreateDeptClassifyReply) Reset ¶
func (x *CreateDeptClassifyReply) Reset()
func (*CreateDeptClassifyReply) String ¶
func (x *CreateDeptClassifyReply) String() string
func (*CreateDeptClassifyReply) Validate ¶
func (m *CreateDeptClassifyReply) Validate() error
Validate checks the field values on CreateDeptClassifyReply 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 (*CreateDeptClassifyReply) ValidateAll ¶
func (m *CreateDeptClassifyReply) ValidateAll() error
ValidateAll checks the field values on CreateDeptClassifyReply 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 CreateDeptClassifyReplyMultiError, or nil if none found.
type CreateDeptClassifyReplyMultiError ¶
type CreateDeptClassifyReplyMultiError []error
CreateDeptClassifyReplyMultiError is an error wrapping multiple validation errors returned by CreateDeptClassifyReply.ValidateAll() if the designated constraints aren't met.
func (CreateDeptClassifyReplyMultiError) AllErrors ¶
func (m CreateDeptClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDeptClassifyReplyMultiError) Error ¶
func (m CreateDeptClassifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDeptClassifyReplyValidationError ¶
type CreateDeptClassifyReplyValidationError struct {
// contains filtered or unexported fields
}
CreateDeptClassifyReplyValidationError is the validation error returned by CreateDeptClassifyReply.Validate if the designated constraints aren't met.
func (CreateDeptClassifyReplyValidationError) Cause ¶
func (e CreateDeptClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateDeptClassifyReplyValidationError) Error ¶
func (e CreateDeptClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDeptClassifyReplyValidationError) ErrorName ¶
func (e CreateDeptClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDeptClassifyReplyValidationError) Field ¶
func (e CreateDeptClassifyReplyValidationError) Field() string
Field function returns field value.
func (CreateDeptClassifyReplyValidationError) Key ¶
func (e CreateDeptClassifyReplyValidationError) Key() bool
Key function returns key value.
func (CreateDeptClassifyReplyValidationError) Reason ¶
func (e CreateDeptClassifyReplyValidationError) Reason() string
Reason function returns reason value.
type CreateDeptClassifyRequest ¶
type CreateDeptClassifyRequest struct {
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
Weight uint32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDeptClassifyRequest) Descriptor
deprecated
func (*CreateDeptClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeptClassifyRequest.ProtoReflect.Descriptor instead.
func (*CreateDeptClassifyRequest) GetDescription ¶
func (x *CreateDeptClassifyRequest) GetDescription() string
func (*CreateDeptClassifyRequest) GetKeyword ¶
func (x *CreateDeptClassifyRequest) GetKeyword() string
func (*CreateDeptClassifyRequest) GetName ¶
func (x *CreateDeptClassifyRequest) GetName() string
func (*CreateDeptClassifyRequest) GetWeight ¶
func (x *CreateDeptClassifyRequest) GetWeight() uint32
func (*CreateDeptClassifyRequest) ProtoMessage ¶
func (*CreateDeptClassifyRequest) ProtoMessage()
func (*CreateDeptClassifyRequest) ProtoReflect ¶
func (x *CreateDeptClassifyRequest) ProtoReflect() protoreflect.Message
func (*CreateDeptClassifyRequest) Reset ¶
func (x *CreateDeptClassifyRequest) Reset()
func (*CreateDeptClassifyRequest) String ¶
func (x *CreateDeptClassifyRequest) String() string
func (*CreateDeptClassifyRequest) Validate ¶
func (m *CreateDeptClassifyRequest) Validate() error
Validate checks the field values on CreateDeptClassifyRequest 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 (*CreateDeptClassifyRequest) ValidateAll ¶
func (m *CreateDeptClassifyRequest) ValidateAll() error
ValidateAll checks the field values on CreateDeptClassifyRequest 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 CreateDeptClassifyRequestMultiError, or nil if none found.
type CreateDeptClassifyRequestMultiError ¶
type CreateDeptClassifyRequestMultiError []error
CreateDeptClassifyRequestMultiError is an error wrapping multiple validation errors returned by CreateDeptClassifyRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDeptClassifyRequestMultiError) AllErrors ¶
func (m CreateDeptClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDeptClassifyRequestMultiError) Error ¶
func (m CreateDeptClassifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDeptClassifyRequestValidationError ¶
type CreateDeptClassifyRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDeptClassifyRequestValidationError is the validation error returned by CreateDeptClassifyRequest.Validate if the designated constraints aren't met.
func (CreateDeptClassifyRequestValidationError) Cause ¶
func (e CreateDeptClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDeptClassifyRequestValidationError) Error ¶
func (e CreateDeptClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDeptClassifyRequestValidationError) ErrorName ¶
func (e CreateDeptClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDeptClassifyRequestValidationError) Field ¶
func (e CreateDeptClassifyRequestValidationError) Field() string
Field function returns field value.
func (CreateDeptClassifyRequestValidationError) Key ¶
func (e CreateDeptClassifyRequestValidationError) Key() bool
Key function returns key value.
func (CreateDeptClassifyRequestValidationError) Reason ¶
func (e CreateDeptClassifyRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDeptReply ¶
type CreateDeptReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDeptReply) Descriptor
deprecated
func (*CreateDeptReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeptReply.ProtoReflect.Descriptor instead.
func (*CreateDeptReply) GetId ¶
func (x *CreateDeptReply) GetId() uint32
func (*CreateDeptReply) ProtoMessage ¶
func (*CreateDeptReply) ProtoMessage()
func (*CreateDeptReply) ProtoReflect ¶
func (x *CreateDeptReply) ProtoReflect() protoreflect.Message
func (*CreateDeptReply) Reset ¶
func (x *CreateDeptReply) Reset()
func (*CreateDeptReply) String ¶
func (x *CreateDeptReply) String() string
func (*CreateDeptReply) Validate ¶
func (m *CreateDeptReply) Validate() error
Validate checks the field values on CreateDeptReply 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 (*CreateDeptReply) ValidateAll ¶
func (m *CreateDeptReply) ValidateAll() error
ValidateAll checks the field values on CreateDeptReply 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 CreateDeptReplyMultiError, or nil if none found.
type CreateDeptReplyMultiError ¶
type CreateDeptReplyMultiError []error
CreateDeptReplyMultiError is an error wrapping multiple validation errors returned by CreateDeptReply.ValidateAll() if the designated constraints aren't met.
func (CreateDeptReplyMultiError) AllErrors ¶
func (m CreateDeptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDeptReplyMultiError) Error ¶
func (m CreateDeptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDeptReplyValidationError ¶
type CreateDeptReplyValidationError struct {
// contains filtered or unexported fields
}
CreateDeptReplyValidationError is the validation error returned by CreateDeptReply.Validate if the designated constraints aren't met.
func (CreateDeptReplyValidationError) Cause ¶
func (e CreateDeptReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateDeptReplyValidationError) Error ¶
func (e CreateDeptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDeptReplyValidationError) ErrorName ¶
func (e CreateDeptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDeptReplyValidationError) Field ¶
func (e CreateDeptReplyValidationError) Field() string
Field function returns field value.
func (CreateDeptReplyValidationError) Key ¶
func (e CreateDeptReplyValidationError) Key() bool
Key function returns key value.
func (CreateDeptReplyValidationError) Reason ¶
func (e CreateDeptReplyValidationError) Reason() string
Reason function returns reason value.
type CreateDeptRequest ¶
type CreateDeptRequest struct {
ParentId uint32 `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
ClassifyId uint32 `protobuf:"varint,2,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Logo string `protobuf:"bytes,5,opt,name=logo,proto3" json:"logo,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDeptRequest) Descriptor
deprecated
func (*CreateDeptRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeptRequest.ProtoReflect.Descriptor instead.
func (*CreateDeptRequest) GetClassifyId ¶
func (x *CreateDeptRequest) GetClassifyId() uint32
func (*CreateDeptRequest) GetDescription ¶
func (x *CreateDeptRequest) GetDescription() string
func (*CreateDeptRequest) GetKeyword ¶
func (x *CreateDeptRequest) GetKeyword() string
func (*CreateDeptRequest) GetLogo ¶
func (x *CreateDeptRequest) GetLogo() string
func (*CreateDeptRequest) GetName ¶
func (x *CreateDeptRequest) GetName() string
func (*CreateDeptRequest) GetParentId ¶
func (x *CreateDeptRequest) GetParentId() uint32
func (*CreateDeptRequest) ProtoMessage ¶
func (*CreateDeptRequest) ProtoMessage()
func (*CreateDeptRequest) ProtoReflect ¶
func (x *CreateDeptRequest) ProtoReflect() protoreflect.Message
func (*CreateDeptRequest) Reset ¶
func (x *CreateDeptRequest) Reset()
func (*CreateDeptRequest) String ¶
func (x *CreateDeptRequest) String() string
func (*CreateDeptRequest) Validate ¶
func (m *CreateDeptRequest) Validate() error
Validate checks the field values on CreateDeptRequest 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 (*CreateDeptRequest) ValidateAll ¶
func (m *CreateDeptRequest) ValidateAll() error
ValidateAll checks the field values on CreateDeptRequest 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 CreateDeptRequestMultiError, or nil if none found.
type CreateDeptRequestMultiError ¶
type CreateDeptRequestMultiError []error
CreateDeptRequestMultiError is an error wrapping multiple validation errors returned by CreateDeptRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDeptRequestMultiError) AllErrors ¶
func (m CreateDeptRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDeptRequestMultiError) Error ¶
func (m CreateDeptRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDeptRequestValidationError ¶
type CreateDeptRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDeptRequestValidationError is the validation error returned by CreateDeptRequest.Validate if the designated constraints aren't met.
func (CreateDeptRequestValidationError) Cause ¶
func (e CreateDeptRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDeptRequestValidationError) Error ¶
func (e CreateDeptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDeptRequestValidationError) ErrorName ¶
func (e CreateDeptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDeptRequestValidationError) Field ¶
func (e CreateDeptRequestValidationError) Field() string
Field function returns field value.
func (CreateDeptRequestValidationError) Key ¶
func (e CreateDeptRequestValidationError) Key() bool
Key function returns key value.
func (CreateDeptRequestValidationError) Reason ¶
func (e CreateDeptRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDeptClassifyReply ¶
type DeleteDeptClassifyReply struct {
// contains filtered or unexported fields
}
func (*DeleteDeptClassifyReply) Descriptor
deprecated
func (*DeleteDeptClassifyReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeptClassifyReply.ProtoReflect.Descriptor instead.
func (*DeleteDeptClassifyReply) ProtoMessage ¶
func (*DeleteDeptClassifyReply) ProtoMessage()
func (*DeleteDeptClassifyReply) ProtoReflect ¶
func (x *DeleteDeptClassifyReply) ProtoReflect() protoreflect.Message
func (*DeleteDeptClassifyReply) Reset ¶
func (x *DeleteDeptClassifyReply) Reset()
func (*DeleteDeptClassifyReply) String ¶
func (x *DeleteDeptClassifyReply) String() string
func (*DeleteDeptClassifyReply) Validate ¶
func (m *DeleteDeptClassifyReply) Validate() error
Validate checks the field values on DeleteDeptClassifyReply 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 (*DeleteDeptClassifyReply) ValidateAll ¶
func (m *DeleteDeptClassifyReply) ValidateAll() error
ValidateAll checks the field values on DeleteDeptClassifyReply 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 DeleteDeptClassifyReplyMultiError, or nil if none found.
type DeleteDeptClassifyReplyMultiError ¶
type DeleteDeptClassifyReplyMultiError []error
DeleteDeptClassifyReplyMultiError is an error wrapping multiple validation errors returned by DeleteDeptClassifyReply.ValidateAll() if the designated constraints aren't met.
func (DeleteDeptClassifyReplyMultiError) AllErrors ¶
func (m DeleteDeptClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDeptClassifyReplyMultiError) Error ¶
func (m DeleteDeptClassifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDeptClassifyReplyValidationError ¶
type DeleteDeptClassifyReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteDeptClassifyReplyValidationError is the validation error returned by DeleteDeptClassifyReply.Validate if the designated constraints aren't met.
func (DeleteDeptClassifyReplyValidationError) Cause ¶
func (e DeleteDeptClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteDeptClassifyReplyValidationError) Error ¶
func (e DeleteDeptClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDeptClassifyReplyValidationError) ErrorName ¶
func (e DeleteDeptClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDeptClassifyReplyValidationError) Field ¶
func (e DeleteDeptClassifyReplyValidationError) Field() string
Field function returns field value.
func (DeleteDeptClassifyReplyValidationError) Key ¶
func (e DeleteDeptClassifyReplyValidationError) Key() bool
Key function returns key value.
func (DeleteDeptClassifyReplyValidationError) Reason ¶
func (e DeleteDeptClassifyReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteDeptClassifyRequest ¶
type DeleteDeptClassifyRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDeptClassifyRequest) Descriptor
deprecated
func (*DeleteDeptClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeptClassifyRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeptClassifyRequest) GetId ¶
func (x *DeleteDeptClassifyRequest) GetId() uint32
func (*DeleteDeptClassifyRequest) ProtoMessage ¶
func (*DeleteDeptClassifyRequest) ProtoMessage()
func (*DeleteDeptClassifyRequest) ProtoReflect ¶
func (x *DeleteDeptClassifyRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeptClassifyRequest) Reset ¶
func (x *DeleteDeptClassifyRequest) Reset()
func (*DeleteDeptClassifyRequest) String ¶
func (x *DeleteDeptClassifyRequest) String() string
func (*DeleteDeptClassifyRequest) Validate ¶
func (m *DeleteDeptClassifyRequest) Validate() error
Validate checks the field values on DeleteDeptClassifyRequest 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 (*DeleteDeptClassifyRequest) ValidateAll ¶
func (m *DeleteDeptClassifyRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDeptClassifyRequest 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 DeleteDeptClassifyRequestMultiError, or nil if none found.
type DeleteDeptClassifyRequestMultiError ¶
type DeleteDeptClassifyRequestMultiError []error
DeleteDeptClassifyRequestMultiError is an error wrapping multiple validation errors returned by DeleteDeptClassifyRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDeptClassifyRequestMultiError) AllErrors ¶
func (m DeleteDeptClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDeptClassifyRequestMultiError) Error ¶
func (m DeleteDeptClassifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDeptClassifyRequestValidationError ¶
type DeleteDeptClassifyRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDeptClassifyRequestValidationError is the validation error returned by DeleteDeptClassifyRequest.Validate if the designated constraints aren't met.
func (DeleteDeptClassifyRequestValidationError) Cause ¶
func (e DeleteDeptClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDeptClassifyRequestValidationError) Error ¶
func (e DeleteDeptClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDeptClassifyRequestValidationError) ErrorName ¶
func (e DeleteDeptClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDeptClassifyRequestValidationError) Field ¶
func (e DeleteDeptClassifyRequestValidationError) Field() string
Field function returns field value.
func (DeleteDeptClassifyRequestValidationError) Key ¶
func (e DeleteDeptClassifyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDeptClassifyRequestValidationError) Reason ¶
func (e DeleteDeptClassifyRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDeptReply ¶
type DeleteDeptReply struct {
// contains filtered or unexported fields
}
func (*DeleteDeptReply) Descriptor
deprecated
func (*DeleteDeptReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeptReply.ProtoReflect.Descriptor instead.
func (*DeleteDeptReply) ProtoMessage ¶
func (*DeleteDeptReply) ProtoMessage()
func (*DeleteDeptReply) ProtoReflect ¶
func (x *DeleteDeptReply) ProtoReflect() protoreflect.Message
func (*DeleteDeptReply) Reset ¶
func (x *DeleteDeptReply) Reset()
func (*DeleteDeptReply) String ¶
func (x *DeleteDeptReply) String() string
func (*DeleteDeptReply) Validate ¶
func (m *DeleteDeptReply) Validate() error
Validate checks the field values on DeleteDeptReply 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 (*DeleteDeptReply) ValidateAll ¶
func (m *DeleteDeptReply) ValidateAll() error
ValidateAll checks the field values on DeleteDeptReply 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 DeleteDeptReplyMultiError, or nil if none found.
type DeleteDeptReplyMultiError ¶
type DeleteDeptReplyMultiError []error
DeleteDeptReplyMultiError is an error wrapping multiple validation errors returned by DeleteDeptReply.ValidateAll() if the designated constraints aren't met.
func (DeleteDeptReplyMultiError) AllErrors ¶
func (m DeleteDeptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDeptReplyMultiError) Error ¶
func (m DeleteDeptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDeptReplyValidationError ¶
type DeleteDeptReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteDeptReplyValidationError is the validation error returned by DeleteDeptReply.Validate if the designated constraints aren't met.
func (DeleteDeptReplyValidationError) Cause ¶
func (e DeleteDeptReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteDeptReplyValidationError) Error ¶
func (e DeleteDeptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDeptReplyValidationError) ErrorName ¶
func (e DeleteDeptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDeptReplyValidationError) Field ¶
func (e DeleteDeptReplyValidationError) Field() string
Field function returns field value.
func (DeleteDeptReplyValidationError) Key ¶
func (e DeleteDeptReplyValidationError) Key() bool
Key function returns key value.
func (DeleteDeptReplyValidationError) Reason ¶
func (e DeleteDeptReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteDeptRequest ¶
type DeleteDeptRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDeptRequest) Descriptor
deprecated
func (*DeleteDeptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeptRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeptRequest) GetId ¶
func (x *DeleteDeptRequest) GetId() uint32
func (*DeleteDeptRequest) ProtoMessage ¶
func (*DeleteDeptRequest) ProtoMessage()
func (*DeleteDeptRequest) ProtoReflect ¶
func (x *DeleteDeptRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeptRequest) Reset ¶
func (x *DeleteDeptRequest) Reset()
func (*DeleteDeptRequest) String ¶
func (x *DeleteDeptRequest) String() string
func (*DeleteDeptRequest) Validate ¶
func (m *DeleteDeptRequest) Validate() error
Validate checks the field values on DeleteDeptRequest 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 (*DeleteDeptRequest) ValidateAll ¶
func (m *DeleteDeptRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDeptRequest 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 DeleteDeptRequestMultiError, or nil if none found.
type DeleteDeptRequestMultiError ¶
type DeleteDeptRequestMultiError []error
DeleteDeptRequestMultiError is an error wrapping multiple validation errors returned by DeleteDeptRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDeptRequestMultiError) AllErrors ¶
func (m DeleteDeptRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDeptRequestMultiError) Error ¶
func (m DeleteDeptRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDeptRequestValidationError ¶
type DeleteDeptRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDeptRequestValidationError is the validation error returned by DeleteDeptRequest.Validate if the designated constraints aren't met.
func (DeleteDeptRequestValidationError) Cause ¶
func (e DeleteDeptRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDeptRequestValidationError) Error ¶
func (e DeleteDeptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDeptRequestValidationError) ErrorName ¶
func (e DeleteDeptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDeptRequestValidationError) Field ¶
func (e DeleteDeptRequestValidationError) Field() string
Field function returns field value.
func (DeleteDeptRequestValidationError) Key ¶
func (e DeleteDeptRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDeptRequestValidationError) Reason ¶
func (e DeleteDeptRequestValidationError) Reason() string
Reason function returns reason value.
type DeptClassify ¶
type DeptClassify struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*DeptClassify) Descriptor
deprecated
func (*DeptClassify) Descriptor() ([]byte, []int)
Deprecated: Use DeptClassify.ProtoReflect.Descriptor instead.
func (*DeptClassify) GetId ¶
func (x *DeptClassify) GetId() uint32
func (*DeptClassify) GetName ¶
func (x *DeptClassify) GetName() string
func (*DeptClassify) ProtoMessage ¶
func (*DeptClassify) ProtoMessage()
func (*DeptClassify) ProtoReflect ¶
func (x *DeptClassify) ProtoReflect() protoreflect.Message
func (*DeptClassify) Reset ¶
func (x *DeptClassify) Reset()
func (*DeptClassify) String ¶
func (x *DeptClassify) String() string
func (*DeptClassify) Validate ¶
func (m *DeptClassify) Validate() error
Validate checks the field values on DeptClassify 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 (*DeptClassify) ValidateAll ¶
func (m *DeptClassify) ValidateAll() error
ValidateAll checks the field values on DeptClassify 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 DeptClassifyMultiError, or nil if none found.
type DeptClassifyMultiError ¶
type DeptClassifyMultiError []error
DeptClassifyMultiError is an error wrapping multiple validation errors returned by DeptClassify.ValidateAll() if the designated constraints aren't met.
func (DeptClassifyMultiError) AllErrors ¶
func (m DeptClassifyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeptClassifyMultiError) Error ¶
func (m DeptClassifyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeptClassifyValidationError ¶
type DeptClassifyValidationError struct {
// contains filtered or unexported fields
}
DeptClassifyValidationError is the validation error returned by DeptClassify.Validate if the designated constraints aren't met.
func (DeptClassifyValidationError) Cause ¶
func (e DeptClassifyValidationError) Cause() error
Cause function returns cause value.
func (DeptClassifyValidationError) Error ¶
func (e DeptClassifyValidationError) Error() string
Error satisfies the builtin error interface
func (DeptClassifyValidationError) ErrorName ¶
func (e DeptClassifyValidationError) ErrorName() string
ErrorName returns error name.
func (DeptClassifyValidationError) Field ¶
func (e DeptClassifyValidationError) Field() string
Field function returns field value.
func (DeptClassifyValidationError) Key ¶
func (e DeptClassifyValidationError) Key() bool
Key function returns key value.
func (DeptClassifyValidationError) Reason ¶
func (e DeptClassifyValidationError) Reason() string
Reason function returns reason value.
type DeptClient ¶
type DeptClient interface {
// ListDeptClassify 获取部门分类列表
ListDeptClassify(ctx context.Context, in *ListDeptClassifyRequest, opts ...grpc.CallOption) (*ListDeptClassifyReply, error)
// CreateDeptClassify 创建部门分类
CreateDeptClassify(ctx context.Context, in *CreateDeptClassifyRequest, opts ...grpc.CallOption) (*CreateDeptClassifyReply, error)
// UpdateDeptClassify 更新部门分类
UpdateDeptClassify(ctx context.Context, in *UpdateDeptClassifyRequest, opts ...grpc.CallOption) (*UpdateDeptClassifyReply, error)
// DeleteDeptClassify 删除部门分类
DeleteDeptClassify(ctx context.Context, in *DeleteDeptClassifyRequest, opts ...grpc.CallOption) (*DeleteDeptClassifyReply, error)
// ListCurrentDept 获取当前的部门信息列表
ListCurrentDept(ctx context.Context, in *ListDeptRequest, opts ...grpc.CallOption) (*ListDeptReply, error)
// ListDept 获取部门信息列表
ListDept(ctx context.Context, in *ListDeptRequest, opts ...grpc.CallOption) (*ListDeptReply, error)
// CreateDept 创建部门信息
CreateDept(ctx context.Context, in *CreateDeptRequest, opts ...grpc.CallOption) (*CreateDeptReply, error)
// UpdateDept 更新部门信息
UpdateDept(ctx context.Context, in *UpdateDeptRequest, opts ...grpc.CallOption) (*UpdateDeptReply, error)
// DeleteDept 删除部门信息
DeleteDept(ctx context.Context, in *DeleteDeptRequest, opts ...grpc.CallOption) (*DeleteDeptReply, error)
// GetDept 获取指定的部门信息
GetDept(ctx context.Context, in *GetDeptRequest, opts ...grpc.CallOption) (*GetDeptReply, error)
}
DeptClient is the client API for Dept 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 NewDeptClient ¶
func NewDeptClient(cc grpc.ClientConnInterface) DeptClient
type DeptHTTPClient ¶
type DeptHTTPClient interface {
CreateDept(ctx context.Context, req *CreateDeptRequest, opts ...http.CallOption) (rsp *CreateDeptReply, err error)
CreateDeptClassify(ctx context.Context, req *CreateDeptClassifyRequest, opts ...http.CallOption) (rsp *CreateDeptClassifyReply, err error)
DeleteDept(ctx context.Context, req *DeleteDeptRequest, opts ...http.CallOption) (rsp *DeleteDeptReply, err error)
DeleteDeptClassify(ctx context.Context, req *DeleteDeptClassifyRequest, opts ...http.CallOption) (rsp *DeleteDeptClassifyReply, err error)
GetDept(ctx context.Context, req *GetDeptRequest, opts ...http.CallOption) (rsp *GetDeptReply, err error)
ListCurrentDept(ctx context.Context, req *ListDeptRequest, opts ...http.CallOption) (rsp *ListDeptReply, err error)
ListDept(ctx context.Context, req *ListDeptRequest, opts ...http.CallOption) (rsp *ListDeptReply, err error)
ListDeptClassify(ctx context.Context, req *ListDeptClassifyRequest, opts ...http.CallOption) (rsp *ListDeptClassifyReply, err error)
UpdateDept(ctx context.Context, req *UpdateDeptRequest, opts ...http.CallOption) (rsp *UpdateDeptReply, err error)
UpdateDeptClassify(ctx context.Context, req *UpdateDeptClassifyRequest, opts ...http.CallOption) (rsp *UpdateDeptClassifyReply, err error)
}
func NewDeptHTTPClient ¶
func NewDeptHTTPClient(client *http.Client) DeptHTTPClient
type DeptHTTPClientImpl ¶
type DeptHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DeptHTTPClientImpl) CreateDept ¶
func (c *DeptHTTPClientImpl) CreateDept(ctx context.Context, in *CreateDeptRequest, opts ...http.CallOption) (*CreateDeptReply, error)
func (*DeptHTTPClientImpl) CreateDeptClassify ¶
func (c *DeptHTTPClientImpl) CreateDeptClassify(ctx context.Context, in *CreateDeptClassifyRequest, opts ...http.CallOption) (*CreateDeptClassifyReply, error)
func (*DeptHTTPClientImpl) DeleteDept ¶
func (c *DeptHTTPClientImpl) DeleteDept(ctx context.Context, in *DeleteDeptRequest, opts ...http.CallOption) (*DeleteDeptReply, error)
func (*DeptHTTPClientImpl) DeleteDeptClassify ¶
func (c *DeptHTTPClientImpl) DeleteDeptClassify(ctx context.Context, in *DeleteDeptClassifyRequest, opts ...http.CallOption) (*DeleteDeptClassifyReply, error)
func (*DeptHTTPClientImpl) GetDept ¶
func (c *DeptHTTPClientImpl) GetDept(ctx context.Context, in *GetDeptRequest, opts ...http.CallOption) (*GetDeptReply, error)
func (*DeptHTTPClientImpl) ListCurrentDept ¶
func (c *DeptHTTPClientImpl) ListCurrentDept(ctx context.Context, in *ListDeptRequest, opts ...http.CallOption) (*ListDeptReply, error)
func (*DeptHTTPClientImpl) ListDept ¶
func (c *DeptHTTPClientImpl) ListDept(ctx context.Context, in *ListDeptRequest, opts ...http.CallOption) (*ListDeptReply, error)
func (*DeptHTTPClientImpl) ListDeptClassify ¶
func (c *DeptHTTPClientImpl) ListDeptClassify(ctx context.Context, in *ListDeptClassifyRequest, opts ...http.CallOption) (*ListDeptClassifyReply, error)
func (*DeptHTTPClientImpl) UpdateDept ¶
func (c *DeptHTTPClientImpl) UpdateDept(ctx context.Context, in *UpdateDeptRequest, opts ...http.CallOption) (*UpdateDeptReply, error)
func (*DeptHTTPClientImpl) UpdateDeptClassify ¶
func (c *DeptHTTPClientImpl) UpdateDeptClassify(ctx context.Context, in *UpdateDeptClassifyRequest, opts ...http.CallOption) (*UpdateDeptClassifyReply, error)
type DeptHTTPServer ¶
type DeptHTTPServer interface {
// CreateDept CreateDept 创建部门信息
CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
// CreateDeptClassify CreateDeptClassify 创建部门分类
CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
// DeleteDept DeleteDept 删除部门信息
DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
// DeleteDeptClassify DeleteDeptClassify 删除部门分类
DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
// GetDept GetDept 获取指定的部门信息
GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
// ListCurrentDept ListCurrentDept 获取当前的部门信息列表
ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
// ListDept ListDept 获取部门信息列表
ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
// ListDeptClassify ListDeptClassify 获取部门分类列表
ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
// UpdateDept UpdateDept 更新部门信息
UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
// UpdateDeptClassify UpdateDeptClassify 更新部门分类
UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
}
type DeptServer ¶
type DeptServer interface {
// ListDeptClassify 获取部门分类列表
ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
// CreateDeptClassify 创建部门分类
CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
// UpdateDeptClassify 更新部门分类
UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
// DeleteDeptClassify 删除部门分类
DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
// ListCurrentDept 获取当前的部门信息列表
ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
// ListDept 获取部门信息列表
ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
// CreateDept 创建部门信息
CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
// UpdateDept 更新部门信息
UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
// DeleteDept 删除部门信息
DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
// GetDept 获取指定的部门信息
GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
// contains filtered or unexported methods
}
DeptServer is the server API for Dept service. All implementations must embed UnimplementedDeptServer for forward compatibility
type GetDeptReply ¶
type GetDeptReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId uint32 `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
ClassifyId uint32 `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,6,opt,name=logo,proto3" json:"logo,omitempty"`
Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
Status *bool `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
CreatedAt uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Classify *DeptClassify `protobuf:"bytes,11,opt,name=classify,proto3,oneof" json:"classify,omitempty"`
// contains filtered or unexported fields
}
func (*GetDeptReply) Descriptor
deprecated
func (*GetDeptReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDeptReply.ProtoReflect.Descriptor instead.
func (*GetDeptReply) GetClassify ¶
func (x *GetDeptReply) GetClassify() *DeptClassify
func (*GetDeptReply) GetClassifyId ¶
func (x *GetDeptReply) GetClassifyId() uint32
func (*GetDeptReply) GetCreatedAt ¶
func (x *GetDeptReply) GetCreatedAt() uint32
func (*GetDeptReply) GetDescription ¶
func (x *GetDeptReply) GetDescription() string
func (*GetDeptReply) GetId ¶
func (x *GetDeptReply) GetId() uint32
func (*GetDeptReply) GetKeyword ¶
func (x *GetDeptReply) GetKeyword() string
func (*GetDeptReply) GetLogo ¶
func (x *GetDeptReply) GetLogo() string
func (*GetDeptReply) GetName ¶
func (x *GetDeptReply) GetName() string
func (*GetDeptReply) GetParentId ¶
func (x *GetDeptReply) GetParentId() uint32
func (*GetDeptReply) GetStatus ¶
func (x *GetDeptReply) GetStatus() bool
func (*GetDeptReply) GetUpdatedAt ¶
func (x *GetDeptReply) GetUpdatedAt() uint32
func (*GetDeptReply) ProtoMessage ¶
func (*GetDeptReply) ProtoMessage()
func (*GetDeptReply) ProtoReflect ¶
func (x *GetDeptReply) ProtoReflect() protoreflect.Message
func (*GetDeptReply) Reset ¶
func (x *GetDeptReply) Reset()
func (*GetDeptReply) String ¶
func (x *GetDeptReply) String() string
func (*GetDeptReply) Validate ¶
func (m *GetDeptReply) Validate() error
Validate checks the field values on GetDeptReply 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 (*GetDeptReply) ValidateAll ¶
func (m *GetDeptReply) ValidateAll() error
ValidateAll checks the field values on GetDeptReply 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 GetDeptReplyMultiError, or nil if none found.
type GetDeptReplyMultiError ¶
type GetDeptReplyMultiError []error
GetDeptReplyMultiError is an error wrapping multiple validation errors returned by GetDeptReply.ValidateAll() if the designated constraints aren't met.
func (GetDeptReplyMultiError) AllErrors ¶
func (m GetDeptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDeptReplyMultiError) Error ¶
func (m GetDeptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDeptReplyValidationError ¶
type GetDeptReplyValidationError struct {
// contains filtered or unexported fields
}
GetDeptReplyValidationError is the validation error returned by GetDeptReply.Validate if the designated constraints aren't met.
func (GetDeptReplyValidationError) Cause ¶
func (e GetDeptReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDeptReplyValidationError) Error ¶
func (e GetDeptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDeptReplyValidationError) ErrorName ¶
func (e GetDeptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDeptReplyValidationError) Field ¶
func (e GetDeptReplyValidationError) Field() string
Field function returns field value.
func (GetDeptReplyValidationError) Key ¶
func (e GetDeptReplyValidationError) Key() bool
Key function returns key value.
func (GetDeptReplyValidationError) Reason ¶
func (e GetDeptReplyValidationError) Reason() string
Reason function returns reason value.
type GetDeptRequest ¶
type GetDeptRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetDeptRequest) Descriptor
deprecated
func (*GetDeptRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeptRequest.ProtoReflect.Descriptor instead.
func (*GetDeptRequest) GetId ¶
func (x *GetDeptRequest) GetId() uint32
func (*GetDeptRequest) ProtoMessage ¶
func (*GetDeptRequest) ProtoMessage()
func (*GetDeptRequest) ProtoReflect ¶
func (x *GetDeptRequest) ProtoReflect() protoreflect.Message
func (*GetDeptRequest) Reset ¶
func (x *GetDeptRequest) Reset()
func (*GetDeptRequest) String ¶
func (x *GetDeptRequest) String() string
func (*GetDeptRequest) Validate ¶
func (m *GetDeptRequest) Validate() error
Validate checks the field values on GetDeptRequest 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 (*GetDeptRequest) ValidateAll ¶
func (m *GetDeptRequest) ValidateAll() error
ValidateAll checks the field values on GetDeptRequest 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 GetDeptRequestMultiError, or nil if none found.
type GetDeptRequestMultiError ¶
type GetDeptRequestMultiError []error
GetDeptRequestMultiError is an error wrapping multiple validation errors returned by GetDeptRequest.ValidateAll() if the designated constraints aren't met.
func (GetDeptRequestMultiError) AllErrors ¶
func (m GetDeptRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDeptRequestMultiError) Error ¶
func (m GetDeptRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDeptRequestValidationError ¶
type GetDeptRequestValidationError struct {
// contains filtered or unexported fields
}
GetDeptRequestValidationError is the validation error returned by GetDeptRequest.Validate if the designated constraints aren't met.
func (GetDeptRequestValidationError) Cause ¶
func (e GetDeptRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDeptRequestValidationError) Error ¶
func (e GetDeptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDeptRequestValidationError) ErrorName ¶
func (e GetDeptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDeptRequestValidationError) Field ¶
func (e GetDeptRequestValidationError) Field() string
Field function returns field value.
func (GetDeptRequestValidationError) Key ¶
func (e GetDeptRequestValidationError) Key() bool
Key function returns key value.
func (GetDeptRequestValidationError) Reason ¶
func (e GetDeptRequestValidationError) Reason() string
Reason function returns reason value.
type ListDeptClassifyReply ¶
type ListDeptClassifyReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListDeptClassifyReply_DeptClassify `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptClassifyReply) Descriptor
deprecated
func (*ListDeptClassifyReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptClassifyReply.ProtoReflect.Descriptor instead.
func (*ListDeptClassifyReply) GetList ¶
func (x *ListDeptClassifyReply) GetList() []*ListDeptClassifyReply_DeptClassify
func (*ListDeptClassifyReply) GetTotal ¶
func (x *ListDeptClassifyReply) GetTotal() uint32
func (*ListDeptClassifyReply) ProtoMessage ¶
func (*ListDeptClassifyReply) ProtoMessage()
func (*ListDeptClassifyReply) ProtoReflect ¶
func (x *ListDeptClassifyReply) ProtoReflect() protoreflect.Message
func (*ListDeptClassifyReply) Reset ¶
func (x *ListDeptClassifyReply) Reset()
func (*ListDeptClassifyReply) String ¶
func (x *ListDeptClassifyReply) String() string
func (*ListDeptClassifyReply) Validate ¶
func (m *ListDeptClassifyReply) Validate() error
Validate checks the field values on ListDeptClassifyReply 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 (*ListDeptClassifyReply) ValidateAll ¶
func (m *ListDeptClassifyReply) ValidateAll() error
ValidateAll checks the field values on ListDeptClassifyReply 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 ListDeptClassifyReplyMultiError, or nil if none found.
type ListDeptClassifyReplyMultiError ¶
type ListDeptClassifyReplyMultiError []error
ListDeptClassifyReplyMultiError is an error wrapping multiple validation errors returned by ListDeptClassifyReply.ValidateAll() if the designated constraints aren't met.
func (ListDeptClassifyReplyMultiError) AllErrors ¶
func (m ListDeptClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptClassifyReplyMultiError) Error ¶
func (m ListDeptClassifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptClassifyReplyValidationError ¶
type ListDeptClassifyReplyValidationError struct {
// contains filtered or unexported fields
}
ListDeptClassifyReplyValidationError is the validation error returned by ListDeptClassifyReply.Validate if the designated constraints aren't met.
func (ListDeptClassifyReplyValidationError) Cause ¶
func (e ListDeptClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDeptClassifyReplyValidationError) Error ¶
func (e ListDeptClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptClassifyReplyValidationError) ErrorName ¶
func (e ListDeptClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptClassifyReplyValidationError) Field ¶
func (e ListDeptClassifyReplyValidationError) Field() string
Field function returns field value.
func (ListDeptClassifyReplyValidationError) Key ¶
func (e ListDeptClassifyReplyValidationError) Key() bool
Key function returns key value.
func (ListDeptClassifyReplyValidationError) Reason ¶
func (e ListDeptClassifyReplyValidationError) Reason() string
Reason function returns reason value.
type ListDeptClassifyReply_DeptClassify ¶
type ListDeptClassifyReply_DeptClassify struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
Weight uint32 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
CreatedAt uint32 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptClassifyReply_DeptClassify) Descriptor
deprecated
func (*ListDeptClassifyReply_DeptClassify) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptClassifyReply_DeptClassify.ProtoReflect.Descriptor instead.
func (*ListDeptClassifyReply_DeptClassify) GetCreatedAt ¶
func (x *ListDeptClassifyReply_DeptClassify) GetCreatedAt() uint32
func (*ListDeptClassifyReply_DeptClassify) GetDescription ¶
func (x *ListDeptClassifyReply_DeptClassify) GetDescription() string
func (*ListDeptClassifyReply_DeptClassify) GetId ¶
func (x *ListDeptClassifyReply_DeptClassify) GetId() uint32
func (*ListDeptClassifyReply_DeptClassify) GetKeyword ¶
func (x *ListDeptClassifyReply_DeptClassify) GetKeyword() string
func (*ListDeptClassifyReply_DeptClassify) GetName ¶
func (x *ListDeptClassifyReply_DeptClassify) GetName() string
func (*ListDeptClassifyReply_DeptClassify) GetStatus ¶
func (x *ListDeptClassifyReply_DeptClassify) GetStatus() bool
func (*ListDeptClassifyReply_DeptClassify) GetUpdatedAt ¶
func (x *ListDeptClassifyReply_DeptClassify) GetUpdatedAt() uint32
func (*ListDeptClassifyReply_DeptClassify) GetWeight ¶
func (x *ListDeptClassifyReply_DeptClassify) GetWeight() uint32
func (*ListDeptClassifyReply_DeptClassify) ProtoMessage ¶
func (*ListDeptClassifyReply_DeptClassify) ProtoMessage()
func (*ListDeptClassifyReply_DeptClassify) ProtoReflect ¶
func (x *ListDeptClassifyReply_DeptClassify) ProtoReflect() protoreflect.Message
func (*ListDeptClassifyReply_DeptClassify) Reset ¶
func (x *ListDeptClassifyReply_DeptClassify) Reset()
func (*ListDeptClassifyReply_DeptClassify) String ¶
func (x *ListDeptClassifyReply_DeptClassify) String() string
func (*ListDeptClassifyReply_DeptClassify) Validate ¶
func (m *ListDeptClassifyReply_DeptClassify) Validate() error
Validate checks the field values on ListDeptClassifyReply_DeptClassify 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 (*ListDeptClassifyReply_DeptClassify) ValidateAll ¶
func (m *ListDeptClassifyReply_DeptClassify) ValidateAll() error
ValidateAll checks the field values on ListDeptClassifyReply_DeptClassify 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 ListDeptClassifyReply_DeptClassifyMultiError, or nil if none found.
type ListDeptClassifyReply_DeptClassifyMultiError ¶
type ListDeptClassifyReply_DeptClassifyMultiError []error
ListDeptClassifyReply_DeptClassifyMultiError is an error wrapping multiple validation errors returned by ListDeptClassifyReply_DeptClassify.ValidateAll() if the designated constraints aren't met.
func (ListDeptClassifyReply_DeptClassifyMultiError) AllErrors ¶
func (m ListDeptClassifyReply_DeptClassifyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptClassifyReply_DeptClassifyMultiError) Error ¶
func (m ListDeptClassifyReply_DeptClassifyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptClassifyReply_DeptClassifyValidationError ¶
type ListDeptClassifyReply_DeptClassifyValidationError struct {
// contains filtered or unexported fields
}
ListDeptClassifyReply_DeptClassifyValidationError is the validation error returned by ListDeptClassifyReply_DeptClassify.Validate if the designated constraints aren't met.
func (ListDeptClassifyReply_DeptClassifyValidationError) Cause ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) Cause() error
Cause function returns cause value.
func (ListDeptClassifyReply_DeptClassifyValidationError) Error ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptClassifyReply_DeptClassifyValidationError) ErrorName ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptClassifyReply_DeptClassifyValidationError) Field ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) Field() string
Field function returns field value.
func (ListDeptClassifyReply_DeptClassifyValidationError) Key ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) Key() bool
Key function returns key value.
func (ListDeptClassifyReply_DeptClassifyValidationError) Reason ¶
func (e ListDeptClassifyReply_DeptClassifyValidationError) Reason() string
Reason function returns reason value.
type ListDeptClassifyRequest ¶
type ListDeptClassifyRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
Name *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptClassifyRequest) Descriptor
deprecated
func (*ListDeptClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptClassifyRequest.ProtoReflect.Descriptor instead.
func (*ListDeptClassifyRequest) GetName ¶
func (x *ListDeptClassifyRequest) GetName() string
func (*ListDeptClassifyRequest) GetOrder ¶
func (x *ListDeptClassifyRequest) GetOrder() string
func (*ListDeptClassifyRequest) GetOrderBy ¶
func (x *ListDeptClassifyRequest) GetOrderBy() string
func (*ListDeptClassifyRequest) GetPage ¶
func (x *ListDeptClassifyRequest) GetPage() uint32
func (*ListDeptClassifyRequest) GetPageSize ¶
func (x *ListDeptClassifyRequest) GetPageSize() uint32
func (*ListDeptClassifyRequest) ProtoMessage ¶
func (*ListDeptClassifyRequest) ProtoMessage()
func (*ListDeptClassifyRequest) ProtoReflect ¶
func (x *ListDeptClassifyRequest) ProtoReflect() protoreflect.Message
func (*ListDeptClassifyRequest) Reset ¶
func (x *ListDeptClassifyRequest) Reset()
func (*ListDeptClassifyRequest) String ¶
func (x *ListDeptClassifyRequest) String() string
func (*ListDeptClassifyRequest) Validate ¶
func (m *ListDeptClassifyRequest) Validate() error
Validate checks the field values on ListDeptClassifyRequest 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 (*ListDeptClassifyRequest) ValidateAll ¶
func (m *ListDeptClassifyRequest) ValidateAll() error
ValidateAll checks the field values on ListDeptClassifyRequest 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 ListDeptClassifyRequestMultiError, or nil if none found.
type ListDeptClassifyRequestMultiError ¶
type ListDeptClassifyRequestMultiError []error
ListDeptClassifyRequestMultiError is an error wrapping multiple validation errors returned by ListDeptClassifyRequest.ValidateAll() if the designated constraints aren't met.
func (ListDeptClassifyRequestMultiError) AllErrors ¶
func (m ListDeptClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptClassifyRequestMultiError) Error ¶
func (m ListDeptClassifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptClassifyRequestValidationError ¶
type ListDeptClassifyRequestValidationError struct {
// contains filtered or unexported fields
}
ListDeptClassifyRequestValidationError is the validation error returned by ListDeptClassifyRequest.Validate if the designated constraints aren't met.
func (ListDeptClassifyRequestValidationError) Cause ¶
func (e ListDeptClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDeptClassifyRequestValidationError) Error ¶
func (e ListDeptClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptClassifyRequestValidationError) ErrorName ¶
func (e ListDeptClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptClassifyRequestValidationError) Field ¶
func (e ListDeptClassifyRequestValidationError) Field() string
Field function returns field value.
func (ListDeptClassifyRequestValidationError) Key ¶
func (e ListDeptClassifyRequestValidationError) Key() bool
Key function returns key value.
func (ListDeptClassifyRequestValidationError) Reason ¶
func (e ListDeptClassifyRequestValidationError) Reason() string
Reason function returns reason value.
type ListDeptReply ¶
type ListDeptReply struct {
List []*ListDeptReply_Dept `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptReply) Descriptor
deprecated
func (*ListDeptReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptReply.ProtoReflect.Descriptor instead.
func (*ListDeptReply) GetList ¶
func (x *ListDeptReply) GetList() []*ListDeptReply_Dept
func (*ListDeptReply) ProtoMessage ¶
func (*ListDeptReply) ProtoMessage()
func (*ListDeptReply) ProtoReflect ¶
func (x *ListDeptReply) ProtoReflect() protoreflect.Message
func (*ListDeptReply) Reset ¶
func (x *ListDeptReply) Reset()
func (*ListDeptReply) String ¶
func (x *ListDeptReply) String() string
func (*ListDeptReply) Validate ¶
func (m *ListDeptReply) Validate() error
Validate checks the field values on ListDeptReply 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 (*ListDeptReply) ValidateAll ¶
func (m *ListDeptReply) ValidateAll() error
ValidateAll checks the field values on ListDeptReply 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 ListDeptReplyMultiError, or nil if none found.
type ListDeptReplyMultiError ¶
type ListDeptReplyMultiError []error
ListDeptReplyMultiError is an error wrapping multiple validation errors returned by ListDeptReply.ValidateAll() if the designated constraints aren't met.
func (ListDeptReplyMultiError) AllErrors ¶
func (m ListDeptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptReplyMultiError) Error ¶
func (m ListDeptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptReplyValidationError ¶
type ListDeptReplyValidationError struct {
// contains filtered or unexported fields
}
ListDeptReplyValidationError is the validation error returned by ListDeptReply.Validate if the designated constraints aren't met.
func (ListDeptReplyValidationError) Cause ¶
func (e ListDeptReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDeptReplyValidationError) Error ¶
func (e ListDeptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptReplyValidationError) ErrorName ¶
func (e ListDeptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptReplyValidationError) Field ¶
func (e ListDeptReplyValidationError) Field() string
Field function returns field value.
func (ListDeptReplyValidationError) Key ¶
func (e ListDeptReplyValidationError) Key() bool
Key function returns key value.
func (ListDeptReplyValidationError) Reason ¶
func (e ListDeptReplyValidationError) Reason() string
Reason function returns reason value.
type ListDeptReply_Dept ¶
type ListDeptReply_Dept struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId uint32 `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
ClassifyId uint32 `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,6,opt,name=logo,proto3" json:"logo,omitempty"`
Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
Status *bool `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
CreatedAt uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Classify *DeptClassify `protobuf:"bytes,11,opt,name=classify,proto3,oneof" json:"classify,omitempty"`
Children []*ListDeptReply_Dept `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptReply_Dept) Descriptor
deprecated
func (*ListDeptReply_Dept) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptReply_Dept.ProtoReflect.Descriptor instead.
func (*ListDeptReply_Dept) GetChildren ¶
func (x *ListDeptReply_Dept) GetChildren() []*ListDeptReply_Dept
func (*ListDeptReply_Dept) GetClassify ¶
func (x *ListDeptReply_Dept) GetClassify() *DeptClassify
func (*ListDeptReply_Dept) GetClassifyId ¶
func (x *ListDeptReply_Dept) GetClassifyId() uint32
func (*ListDeptReply_Dept) GetCreatedAt ¶
func (x *ListDeptReply_Dept) GetCreatedAt() uint32
func (*ListDeptReply_Dept) GetDescription ¶
func (x *ListDeptReply_Dept) GetDescription() string
func (*ListDeptReply_Dept) GetId ¶
func (x *ListDeptReply_Dept) GetId() uint32
func (*ListDeptReply_Dept) GetKeyword ¶
func (x *ListDeptReply_Dept) GetKeyword() string
func (*ListDeptReply_Dept) GetLogo ¶
func (x *ListDeptReply_Dept) GetLogo() string
func (*ListDeptReply_Dept) GetName ¶
func (x *ListDeptReply_Dept) GetName() string
func (*ListDeptReply_Dept) GetParentId ¶
func (x *ListDeptReply_Dept) GetParentId() uint32
func (*ListDeptReply_Dept) GetStatus ¶
func (x *ListDeptReply_Dept) GetStatus() bool
func (*ListDeptReply_Dept) GetUpdatedAt ¶
func (x *ListDeptReply_Dept) GetUpdatedAt() uint32
func (*ListDeptReply_Dept) ProtoMessage ¶
func (*ListDeptReply_Dept) ProtoMessage()
func (*ListDeptReply_Dept) ProtoReflect ¶
func (x *ListDeptReply_Dept) ProtoReflect() protoreflect.Message
func (*ListDeptReply_Dept) Reset ¶
func (x *ListDeptReply_Dept) Reset()
func (*ListDeptReply_Dept) String ¶
func (x *ListDeptReply_Dept) String() string
func (*ListDeptReply_Dept) Validate ¶
func (m *ListDeptReply_Dept) Validate() error
Validate checks the field values on ListDeptReply_Dept 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 (*ListDeptReply_Dept) ValidateAll ¶
func (m *ListDeptReply_Dept) ValidateAll() error
ValidateAll checks the field values on ListDeptReply_Dept 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 ListDeptReply_DeptMultiError, or nil if none found.
type ListDeptReply_DeptMultiError ¶
type ListDeptReply_DeptMultiError []error
ListDeptReply_DeptMultiError is an error wrapping multiple validation errors returned by ListDeptReply_Dept.ValidateAll() if the designated constraints aren't met.
func (ListDeptReply_DeptMultiError) AllErrors ¶
func (m ListDeptReply_DeptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptReply_DeptMultiError) Error ¶
func (m ListDeptReply_DeptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptReply_DeptValidationError ¶
type ListDeptReply_DeptValidationError struct {
// contains filtered or unexported fields
}
ListDeptReply_DeptValidationError is the validation error returned by ListDeptReply_Dept.Validate if the designated constraints aren't met.
func (ListDeptReply_DeptValidationError) Cause ¶
func (e ListDeptReply_DeptValidationError) Cause() error
Cause function returns cause value.
func (ListDeptReply_DeptValidationError) Error ¶
func (e ListDeptReply_DeptValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptReply_DeptValidationError) ErrorName ¶
func (e ListDeptReply_DeptValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptReply_DeptValidationError) Field ¶
func (e ListDeptReply_DeptValidationError) Field() string
Field function returns field value.
func (ListDeptReply_DeptValidationError) Key ¶
func (e ListDeptReply_DeptValidationError) Key() bool
Key function returns key value.
func (ListDeptReply_DeptValidationError) Reason ¶
func (e ListDeptReply_DeptValidationError) Reason() string
Reason function returns reason value.
type ListDeptRequest ¶
type ListDeptRequest struct {
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
ClassifyId *uint32 `protobuf:"varint,4,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeptRequest) Descriptor
deprecated
func (*ListDeptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeptRequest.ProtoReflect.Descriptor instead.
func (*ListDeptRequest) GetClassifyId ¶
func (x *ListDeptRequest) GetClassifyId() uint32
func (*ListDeptRequest) GetName ¶
func (x *ListDeptRequest) GetName() string
func (*ListDeptRequest) GetStatus ¶
func (x *ListDeptRequest) GetStatus() bool
func (*ListDeptRequest) ProtoMessage ¶
func (*ListDeptRequest) ProtoMessage()
func (*ListDeptRequest) ProtoReflect ¶
func (x *ListDeptRequest) ProtoReflect() protoreflect.Message
func (*ListDeptRequest) Reset ¶
func (x *ListDeptRequest) Reset()
func (*ListDeptRequest) String ¶
func (x *ListDeptRequest) String() string
func (*ListDeptRequest) Validate ¶
func (m *ListDeptRequest) Validate() error
Validate checks the field values on ListDeptRequest 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 (*ListDeptRequest) ValidateAll ¶
func (m *ListDeptRequest) ValidateAll() error
ValidateAll checks the field values on ListDeptRequest 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 ListDeptRequestMultiError, or nil if none found.
type ListDeptRequestMultiError ¶
type ListDeptRequestMultiError []error
ListDeptRequestMultiError is an error wrapping multiple validation errors returned by ListDeptRequest.ValidateAll() if the designated constraints aren't met.
func (ListDeptRequestMultiError) AllErrors ¶
func (m ListDeptRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDeptRequestMultiError) Error ¶
func (m ListDeptRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDeptRequestValidationError ¶
type ListDeptRequestValidationError struct {
// contains filtered or unexported fields
}
ListDeptRequestValidationError is the validation error returned by ListDeptRequest.Validate if the designated constraints aren't met.
func (ListDeptRequestValidationError) Cause ¶
func (e ListDeptRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDeptRequestValidationError) Error ¶
func (e ListDeptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDeptRequestValidationError) ErrorName ¶
func (e ListDeptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDeptRequestValidationError) Field ¶
func (e ListDeptRequestValidationError) Field() string
Field function returns field value.
func (ListDeptRequestValidationError) Key ¶
func (e ListDeptRequestValidationError) Key() bool
Key function returns key value.
func (ListDeptRequestValidationError) Reason ¶
func (e ListDeptRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDeptServer ¶
type UnimplementedDeptServer struct{}
UnimplementedDeptServer must be embedded to have forward compatible implementations.
func (UnimplementedDeptServer) CreateDept ¶
func (UnimplementedDeptServer) CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
func (UnimplementedDeptServer) CreateDeptClassify ¶
func (UnimplementedDeptServer) CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
func (UnimplementedDeptServer) DeleteDept ¶
func (UnimplementedDeptServer) DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
func (UnimplementedDeptServer) DeleteDeptClassify ¶
func (UnimplementedDeptServer) DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
func (UnimplementedDeptServer) GetDept ¶
func (UnimplementedDeptServer) GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
func (UnimplementedDeptServer) ListCurrentDept ¶
func (UnimplementedDeptServer) ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
func (UnimplementedDeptServer) ListDept ¶
func (UnimplementedDeptServer) ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
func (UnimplementedDeptServer) ListDeptClassify ¶
func (UnimplementedDeptServer) ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
func (UnimplementedDeptServer) UpdateDept ¶
func (UnimplementedDeptServer) UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
func (UnimplementedDeptServer) UpdateDeptClassify ¶
func (UnimplementedDeptServer) UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
type UnsafeDeptServer ¶
type UnsafeDeptServer interface {
// contains filtered or unexported methods
}
UnsafeDeptServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeptServer will result in compilation errors.
type UpdateDeptClassifyReply ¶
type UpdateDeptClassifyReply struct {
// contains filtered or unexported fields
}
func (*UpdateDeptClassifyReply) Descriptor
deprecated
func (*UpdateDeptClassifyReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeptClassifyReply.ProtoReflect.Descriptor instead.
func (*UpdateDeptClassifyReply) ProtoMessage ¶
func (*UpdateDeptClassifyReply) ProtoMessage()
func (*UpdateDeptClassifyReply) ProtoReflect ¶
func (x *UpdateDeptClassifyReply) ProtoReflect() protoreflect.Message
func (*UpdateDeptClassifyReply) Reset ¶
func (x *UpdateDeptClassifyReply) Reset()
func (*UpdateDeptClassifyReply) String ¶
func (x *UpdateDeptClassifyReply) String() string
func (*UpdateDeptClassifyReply) Validate ¶
func (m *UpdateDeptClassifyReply) Validate() error
Validate checks the field values on UpdateDeptClassifyReply 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 (*UpdateDeptClassifyReply) ValidateAll ¶
func (m *UpdateDeptClassifyReply) ValidateAll() error
ValidateAll checks the field values on UpdateDeptClassifyReply 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 UpdateDeptClassifyReplyMultiError, or nil if none found.
type UpdateDeptClassifyReplyMultiError ¶
type UpdateDeptClassifyReplyMultiError []error
UpdateDeptClassifyReplyMultiError is an error wrapping multiple validation errors returned by UpdateDeptClassifyReply.ValidateAll() if the designated constraints aren't met.
func (UpdateDeptClassifyReplyMultiError) AllErrors ¶
func (m UpdateDeptClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeptClassifyReplyMultiError) Error ¶
func (m UpdateDeptClassifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDeptClassifyReplyValidationError ¶
type UpdateDeptClassifyReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateDeptClassifyReplyValidationError is the validation error returned by UpdateDeptClassifyReply.Validate if the designated constraints aren't met.
func (UpdateDeptClassifyReplyValidationError) Cause ¶
func (e UpdateDeptClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeptClassifyReplyValidationError) Error ¶
func (e UpdateDeptClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeptClassifyReplyValidationError) ErrorName ¶
func (e UpdateDeptClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeptClassifyReplyValidationError) Field ¶
func (e UpdateDeptClassifyReplyValidationError) Field() string
Field function returns field value.
func (UpdateDeptClassifyReplyValidationError) Key ¶
func (e UpdateDeptClassifyReplyValidationError) Key() bool
Key function returns key value.
func (UpdateDeptClassifyReplyValidationError) Reason ¶
func (e UpdateDeptClassifyReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateDeptClassifyRequest ¶
type UpdateDeptClassifyRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Keyword *string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
Weight *uint32 `protobuf:"varint,5,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDeptClassifyRequest) Descriptor
deprecated
func (*UpdateDeptClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeptClassifyRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeptClassifyRequest) GetDescription ¶
func (x *UpdateDeptClassifyRequest) GetDescription() string
func (*UpdateDeptClassifyRequest) GetId ¶
func (x *UpdateDeptClassifyRequest) GetId() uint32
func (*UpdateDeptClassifyRequest) GetKeyword ¶
func (x *UpdateDeptClassifyRequest) GetKeyword() string
func (*UpdateDeptClassifyRequest) GetName ¶
func (x *UpdateDeptClassifyRequest) GetName() string
func (*UpdateDeptClassifyRequest) GetWeight ¶
func (x *UpdateDeptClassifyRequest) GetWeight() uint32
func (*UpdateDeptClassifyRequest) ProtoMessage ¶
func (*UpdateDeptClassifyRequest) ProtoMessage()
func (*UpdateDeptClassifyRequest) ProtoReflect ¶
func (x *UpdateDeptClassifyRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeptClassifyRequest) Reset ¶
func (x *UpdateDeptClassifyRequest) Reset()
func (*UpdateDeptClassifyRequest) String ¶
func (x *UpdateDeptClassifyRequest) String() string
func (*UpdateDeptClassifyRequest) Validate ¶
func (m *UpdateDeptClassifyRequest) Validate() error
Validate checks the field values on UpdateDeptClassifyRequest 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 (*UpdateDeptClassifyRequest) ValidateAll ¶
func (m *UpdateDeptClassifyRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDeptClassifyRequest 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 UpdateDeptClassifyRequestMultiError, or nil if none found.
type UpdateDeptClassifyRequestMultiError ¶
type UpdateDeptClassifyRequestMultiError []error
UpdateDeptClassifyRequestMultiError is an error wrapping multiple validation errors returned by UpdateDeptClassifyRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDeptClassifyRequestMultiError) AllErrors ¶
func (m UpdateDeptClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeptClassifyRequestMultiError) Error ¶
func (m UpdateDeptClassifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDeptClassifyRequestValidationError ¶
type UpdateDeptClassifyRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDeptClassifyRequestValidationError is the validation error returned by UpdateDeptClassifyRequest.Validate if the designated constraints aren't met.
func (UpdateDeptClassifyRequestValidationError) Cause ¶
func (e UpdateDeptClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeptClassifyRequestValidationError) Error ¶
func (e UpdateDeptClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeptClassifyRequestValidationError) ErrorName ¶
func (e UpdateDeptClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeptClassifyRequestValidationError) Field ¶
func (e UpdateDeptClassifyRequestValidationError) Field() string
Field function returns field value.
func (UpdateDeptClassifyRequestValidationError) Key ¶
func (e UpdateDeptClassifyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDeptClassifyRequestValidationError) Reason ¶
func (e UpdateDeptClassifyRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDeptReply ¶
type UpdateDeptReply struct {
// contains filtered or unexported fields
}
func (*UpdateDeptReply) Descriptor
deprecated
func (*UpdateDeptReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeptReply.ProtoReflect.Descriptor instead.
func (*UpdateDeptReply) ProtoMessage ¶
func (*UpdateDeptReply) ProtoMessage()
func (*UpdateDeptReply) ProtoReflect ¶
func (x *UpdateDeptReply) ProtoReflect() protoreflect.Message
func (*UpdateDeptReply) Reset ¶
func (x *UpdateDeptReply) Reset()
func (*UpdateDeptReply) String ¶
func (x *UpdateDeptReply) String() string
func (*UpdateDeptReply) Validate ¶
func (m *UpdateDeptReply) Validate() error
Validate checks the field values on UpdateDeptReply 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 (*UpdateDeptReply) ValidateAll ¶
func (m *UpdateDeptReply) ValidateAll() error
ValidateAll checks the field values on UpdateDeptReply 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 UpdateDeptReplyMultiError, or nil if none found.
type UpdateDeptReplyMultiError ¶
type UpdateDeptReplyMultiError []error
UpdateDeptReplyMultiError is an error wrapping multiple validation errors returned by UpdateDeptReply.ValidateAll() if the designated constraints aren't met.
func (UpdateDeptReplyMultiError) AllErrors ¶
func (m UpdateDeptReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeptReplyMultiError) Error ¶
func (m UpdateDeptReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDeptReplyValidationError ¶
type UpdateDeptReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateDeptReplyValidationError is the validation error returned by UpdateDeptReply.Validate if the designated constraints aren't met.
func (UpdateDeptReplyValidationError) Cause ¶
func (e UpdateDeptReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeptReplyValidationError) Error ¶
func (e UpdateDeptReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeptReplyValidationError) ErrorName ¶
func (e UpdateDeptReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeptReplyValidationError) Field ¶
func (e UpdateDeptReplyValidationError) Field() string
Field function returns field value.
func (UpdateDeptReplyValidationError) Key ¶
func (e UpdateDeptReplyValidationError) Key() bool
Key function returns key value.
func (UpdateDeptReplyValidationError) Reason ¶
func (e UpdateDeptReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateDeptRequest ¶
type UpdateDeptRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId *uint32 `protobuf:"varint,2,opt,name=parentId,proto3,oneof" json:"parentId,omitempty"`
ClassifyId *uint32 `protobuf:"varint,3,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
Status *bool `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDeptRequest) Descriptor
deprecated
func (*UpdateDeptRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeptRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeptRequest) GetClassifyId ¶
func (x *UpdateDeptRequest) GetClassifyId() uint32
func (*UpdateDeptRequest) GetDescription ¶
func (x *UpdateDeptRequest) GetDescription() string
func (*UpdateDeptRequest) GetId ¶
func (x *UpdateDeptRequest) GetId() uint32
func (*UpdateDeptRequest) GetName ¶
func (x *UpdateDeptRequest) GetName() string
func (*UpdateDeptRequest) GetParentId ¶
func (x *UpdateDeptRequest) GetParentId() uint32
func (*UpdateDeptRequest) GetStatus ¶
func (x *UpdateDeptRequest) GetStatus() bool
func (*UpdateDeptRequest) ProtoMessage ¶
func (*UpdateDeptRequest) ProtoMessage()
func (*UpdateDeptRequest) ProtoReflect ¶
func (x *UpdateDeptRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeptRequest) Reset ¶
func (x *UpdateDeptRequest) Reset()
func (*UpdateDeptRequest) String ¶
func (x *UpdateDeptRequest) String() string
func (*UpdateDeptRequest) Validate ¶
func (m *UpdateDeptRequest) Validate() error
Validate checks the field values on UpdateDeptRequest 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 (*UpdateDeptRequest) ValidateAll ¶
func (m *UpdateDeptRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDeptRequest 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 UpdateDeptRequestMultiError, or nil if none found.
type UpdateDeptRequestMultiError ¶
type UpdateDeptRequestMultiError []error
UpdateDeptRequestMultiError is an error wrapping multiple validation errors returned by UpdateDeptRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDeptRequestMultiError) AllErrors ¶
func (m UpdateDeptRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDeptRequestMultiError) Error ¶
func (m UpdateDeptRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDeptRequestValidationError ¶
type UpdateDeptRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDeptRequestValidationError is the validation error returned by UpdateDeptRequest.Validate if the designated constraints aren't met.
func (UpdateDeptRequestValidationError) Cause ¶
func (e UpdateDeptRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDeptRequestValidationError) Error ¶
func (e UpdateDeptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDeptRequestValidationError) ErrorName ¶
func (e UpdateDeptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDeptRequestValidationError) Field ¶
func (e UpdateDeptRequestValidationError) Field() string
Field function returns field value.
func (UpdateDeptRequestValidationError) Key ¶
func (e UpdateDeptRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDeptRequestValidationError) Reason ¶
func (e UpdateDeptRequestValidationError) Reason() string
Reason function returns reason value.