Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterChatGroupHTTPServer(s *http.Server, srv ChatGroupHTTPServer)
- func RegisterChatGroupServer(s grpc.ServiceRegistrar, srv ChatGroupServer)
- func RegisterNotifyHTTPServer(s *http.Server, srv NotifyHTTPServer)
- func RegisterNotifyServer(s grpc.ServiceRegistrar, srv NotifyServer)
- func RegisterTemplateHTTPServer(s *http.Server, srv TemplateHTTPServer)
- func RegisterTemplateServer(s grpc.ServiceRegistrar, srv TemplateServer)
- type ChatGroupClient
- type ChatGroupHTTPClient
- type ChatGroupHTTPClientImpl
- func (c *ChatGroupHTTPClientImpl) CreateChatGroup(ctx context.Context, in *CreateChatGroupRequest, opts ...http.CallOption) (*CreateChatGroupReply, error)
- func (c *ChatGroupHTTPClientImpl) DeleteChatGroup(ctx context.Context, in *DeleteChatGroupRequest, opts ...http.CallOption) (*DeleteChatGroupReply, error)
- func (c *ChatGroupHTTPClientImpl) GetChatGroup(ctx context.Context, in *GetChatGroupRequest, opts ...http.CallOption) (*GetChatGroupReply, error)
- func (c *ChatGroupHTTPClientImpl) ListChatGroup(ctx context.Context, in *ListChatGroupRequest, opts ...http.CallOption) (*ListChatGroupReply, error)
- func (c *ChatGroupHTTPClientImpl) SelectChatGroup(ctx context.Context, in *SelectChatGroupRequest, opts ...http.CallOption) (*SelectChatGroupReply, error)
- func (c *ChatGroupHTTPClientImpl) UpdateChatGroup(ctx context.Context, in *UpdateChatGroupRequest, opts ...http.CallOption) (*UpdateChatGroupReply, error)
- type ChatGroupHTTPServer
- type ChatGroupServer
- type CreateChatGroupReply
- func (*CreateChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChatGroupReply) GetId() uint32
- func (*CreateChatGroupReply) ProtoMessage()
- func (x *CreateChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *CreateChatGroupReply) Reset()
- func (x *CreateChatGroupReply) String() string
- func (m *CreateChatGroupReply) Validate() error
- func (m *CreateChatGroupReply) ValidateAll() error
- type CreateChatGroupReplyMultiError
- type CreateChatGroupReplyValidationError
- func (e CreateChatGroupReplyValidationError) Cause() error
- func (e CreateChatGroupReplyValidationError) Error() string
- func (e CreateChatGroupReplyValidationError) ErrorName() string
- func (e CreateChatGroupReplyValidationError) Field() string
- func (e CreateChatGroupReplyValidationError) Key() bool
- func (e CreateChatGroupReplyValidationError) Reason() string
- type CreateChatGroupRequest
- func (*CreateChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChatGroupRequest) GetApp() api.NotifyApp
- func (x *CreateChatGroupRequest) GetHook() string
- func (x *CreateChatGroupRequest) GetHookName() string
- func (x *CreateChatGroupRequest) GetName() string
- func (x *CreateChatGroupRequest) GetRemark() string
- func (x *CreateChatGroupRequest) GetSecret() string
- func (*CreateChatGroupRequest) ProtoMessage()
- func (x *CreateChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChatGroupRequest) Reset()
- func (x *CreateChatGroupRequest) String() string
- func (m *CreateChatGroupRequest) Validate() error
- func (m *CreateChatGroupRequest) ValidateAll() error
- type CreateChatGroupRequestMultiError
- type CreateChatGroupRequestValidationError
- func (e CreateChatGroupRequestValidationError) Cause() error
- func (e CreateChatGroupRequestValidationError) Error() string
- func (e CreateChatGroupRequestValidationError) ErrorName() string
- func (e CreateChatGroupRequestValidationError) Field() string
- func (e CreateChatGroupRequestValidationError) Key() bool
- func (e CreateChatGroupRequestValidationError) Reason() string
- type CreateNotifyReply
- func (*CreateNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyReply) GetId() uint32
- func (*CreateNotifyReply) ProtoMessage()
- func (x *CreateNotifyReply) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyReply) Reset()
- func (x *CreateNotifyReply) String() string
- func (m *CreateNotifyReply) Validate() error
- func (m *CreateNotifyReply) ValidateAll() error
- type CreateNotifyReplyMultiError
- type CreateNotifyReplyValidationError
- func (e CreateNotifyReplyValidationError) Cause() error
- func (e CreateNotifyReplyValidationError) Error() string
- func (e CreateNotifyReplyValidationError) ErrorName() string
- func (e CreateNotifyReplyValidationError) Field() string
- func (e CreateNotifyReplyValidationError) Key() bool
- func (e CreateNotifyReplyValidationError) Reason() string
- type CreateNotifyRequest
- func (*CreateNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyRequest) GetChatGroups() []uint32
- func (x *CreateNotifyRequest) GetMembers() []*api.BeNotifyMember
- func (x *CreateNotifyRequest) GetName() string
- func (x *CreateNotifyRequest) GetRemark() string
- func (*CreateNotifyRequest) ProtoMessage()
- func (x *CreateNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyRequest) Reset()
- func (x *CreateNotifyRequest) String() string
- func (m *CreateNotifyRequest) Validate() error
- func (m *CreateNotifyRequest) ValidateAll() error
- type CreateNotifyRequestMultiError
- type CreateNotifyRequestValidationError
- func (e CreateNotifyRequestValidationError) Cause() error
- func (e CreateNotifyRequestValidationError) Error() string
- func (e CreateNotifyRequestValidationError) ErrorName() string
- func (e CreateNotifyRequestValidationError) Field() string
- func (e CreateNotifyRequestValidationError) Key() bool
- func (e CreateNotifyRequestValidationError) Reason() string
- type CreateTemplateReply
- func (*CreateTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (*CreateTemplateReply) ProtoMessage()
- func (x *CreateTemplateReply) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateReply) Reset()
- func (x *CreateTemplateReply) String() string
- func (m *CreateTemplateReply) Validate() error
- func (m *CreateTemplateReply) ValidateAll() error
- type CreateTemplateReplyMultiError
- type CreateTemplateReplyValidationError
- func (e CreateTemplateReplyValidationError) Cause() error
- func (e CreateTemplateReplyValidationError) Error() string
- func (e CreateTemplateReplyValidationError) ErrorName() string
- func (e CreateTemplateReplyValidationError) Field() string
- func (e CreateTemplateReplyValidationError) Key() bool
- func (e CreateTemplateReplyValidationError) Reason() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetContent() string
- func (x *CreateTemplateRequest) GetNotifyType() api.NotifyTemplateType
- func (x *CreateTemplateRequest) GetStrategyId() uint32
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (x *CreateTemplateRequest) String() string
- func (m *CreateTemplateRequest) Validate() error
- func (m *CreateTemplateRequest) ValidateAll() error
- type CreateTemplateRequestMultiError
- type CreateTemplateRequestValidationError
- func (e CreateTemplateRequestValidationError) Cause() error
- func (e CreateTemplateRequestValidationError) Error() string
- func (e CreateTemplateRequestValidationError) ErrorName() string
- func (e CreateTemplateRequestValidationError) Field() string
- func (e CreateTemplateRequestValidationError) Key() bool
- func (e CreateTemplateRequestValidationError) Reason() string
- type DeleteChatGroupReply
- func (*DeleteChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChatGroupReply) GetId() uint32
- func (*DeleteChatGroupReply) ProtoMessage()
- func (x *DeleteChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *DeleteChatGroupReply) Reset()
- func (x *DeleteChatGroupReply) String() string
- func (m *DeleteChatGroupReply) Validate() error
- func (m *DeleteChatGroupReply) ValidateAll() error
- type DeleteChatGroupReplyMultiError
- type DeleteChatGroupReplyValidationError
- func (e DeleteChatGroupReplyValidationError) Cause() error
- func (e DeleteChatGroupReplyValidationError) Error() string
- func (e DeleteChatGroupReplyValidationError) ErrorName() string
- func (e DeleteChatGroupReplyValidationError) Field() string
- func (e DeleteChatGroupReplyValidationError) Key() bool
- func (e DeleteChatGroupReplyValidationError) Reason() string
- type DeleteChatGroupRequest
- func (*DeleteChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChatGroupRequest) GetId() uint32
- func (*DeleteChatGroupRequest) ProtoMessage()
- func (x *DeleteChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChatGroupRequest) Reset()
- func (x *DeleteChatGroupRequest) String() string
- func (m *DeleteChatGroupRequest) Validate() error
- func (m *DeleteChatGroupRequest) ValidateAll() error
- type DeleteChatGroupRequestMultiError
- type DeleteChatGroupRequestValidationError
- func (e DeleteChatGroupRequestValidationError) Cause() error
- func (e DeleteChatGroupRequestValidationError) Error() string
- func (e DeleteChatGroupRequestValidationError) ErrorName() string
- func (e DeleteChatGroupRequestValidationError) Field() string
- func (e DeleteChatGroupRequestValidationError) Key() bool
- func (e DeleteChatGroupRequestValidationError) Reason() string
- type DeleteNotifyReply
- func (*DeleteNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyReply) GetId() uint32
- func (*DeleteNotifyReply) ProtoMessage()
- func (x *DeleteNotifyReply) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyReply) Reset()
- func (x *DeleteNotifyReply) String() string
- func (m *DeleteNotifyReply) Validate() error
- func (m *DeleteNotifyReply) ValidateAll() error
- type DeleteNotifyReplyMultiError
- type DeleteNotifyReplyValidationError
- func (e DeleteNotifyReplyValidationError) Cause() error
- func (e DeleteNotifyReplyValidationError) Error() string
- func (e DeleteNotifyReplyValidationError) ErrorName() string
- func (e DeleteNotifyReplyValidationError) Field() string
- func (e DeleteNotifyReplyValidationError) Key() bool
- func (e DeleteNotifyReplyValidationError) Reason() string
- type DeleteNotifyRequest
- func (*DeleteNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyRequest) GetId() uint32
- func (*DeleteNotifyRequest) ProtoMessage()
- func (x *DeleteNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyRequest) Reset()
- func (x *DeleteNotifyRequest) String() string
- func (m *DeleteNotifyRequest) Validate() error
- func (m *DeleteNotifyRequest) ValidateAll() error
- type DeleteNotifyRequestMultiError
- type DeleteNotifyRequestValidationError
- func (e DeleteNotifyRequestValidationError) Cause() error
- func (e DeleteNotifyRequestValidationError) Error() string
- func (e DeleteNotifyRequestValidationError) ErrorName() string
- func (e DeleteNotifyRequestValidationError) Field() string
- func (e DeleteNotifyRequestValidationError) Key() bool
- func (e DeleteNotifyRequestValidationError) Reason() string
- type DeleteTemplateReply
- func (*DeleteTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTemplateReply) ProtoMessage()
- func (x *DeleteTemplateReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateReply) Reset()
- func (x *DeleteTemplateReply) String() string
- func (m *DeleteTemplateReply) Validate() error
- func (m *DeleteTemplateReply) ValidateAll() error
- type DeleteTemplateReplyMultiError
- type DeleteTemplateReplyValidationError
- func (e DeleteTemplateReplyValidationError) Cause() error
- func (e DeleteTemplateReplyValidationError) Error() string
- func (e DeleteTemplateReplyValidationError) ErrorName() string
- func (e DeleteTemplateReplyValidationError) Field() string
- func (e DeleteTemplateReplyValidationError) Key() bool
- func (e DeleteTemplateReplyValidationError) Reason() string
- type DeleteTemplateRequest
- func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateRequest) GetId() uint32
- func (*DeleteTemplateRequest) ProtoMessage()
- func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateRequest) Reset()
- func (x *DeleteTemplateRequest) String() string
- func (m *DeleteTemplateRequest) Validate() error
- func (m *DeleteTemplateRequest) ValidateAll() error
- type DeleteTemplateRequestMultiError
- type DeleteTemplateRequestValidationError
- func (e DeleteTemplateRequestValidationError) Cause() error
- func (e DeleteTemplateRequestValidationError) Error() string
- func (e DeleteTemplateRequestValidationError) ErrorName() string
- func (e DeleteTemplateRequestValidationError) Field() string
- func (e DeleteTemplateRequestValidationError) Key() bool
- func (e DeleteTemplateRequestValidationError) Reason() string
- type GetChatGroupReply
- func (*GetChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetChatGroupReply) GetDetail() *api.ChatGroup
- func (*GetChatGroupReply) ProtoMessage()
- func (x *GetChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *GetChatGroupReply) Reset()
- func (x *GetChatGroupReply) String() string
- func (m *GetChatGroupReply) Validate() error
- func (m *GetChatGroupReply) ValidateAll() error
- type GetChatGroupReplyMultiError
- type GetChatGroupReplyValidationError
- func (e GetChatGroupReplyValidationError) Cause() error
- func (e GetChatGroupReplyValidationError) Error() string
- func (e GetChatGroupReplyValidationError) ErrorName() string
- func (e GetChatGroupReplyValidationError) Field() string
- func (e GetChatGroupReplyValidationError) Key() bool
- func (e GetChatGroupReplyValidationError) Reason() string
- type GetChatGroupRequest
- func (*GetChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChatGroupRequest) GetId() uint32
- func (*GetChatGroupRequest) ProtoMessage()
- func (x *GetChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetChatGroupRequest) Reset()
- func (x *GetChatGroupRequest) String() string
- func (m *GetChatGroupRequest) Validate() error
- func (m *GetChatGroupRequest) ValidateAll() error
- type GetChatGroupRequestMultiError
- type GetChatGroupRequestValidationError
- func (e GetChatGroupRequestValidationError) Cause() error
- func (e GetChatGroupRequestValidationError) Error() string
- func (e GetChatGroupRequestValidationError) ErrorName() string
- func (e GetChatGroupRequestValidationError) Field() string
- func (e GetChatGroupRequestValidationError) Key() bool
- func (e GetChatGroupRequestValidationError) Reason() string
- type GetNotifyReply
- func (*GetNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyReply) GetDetail() *api.NotifyV1
- func (*GetNotifyReply) ProtoMessage()
- func (x *GetNotifyReply) ProtoReflect() protoreflect.Message
- func (x *GetNotifyReply) Reset()
- func (x *GetNotifyReply) String() string
- func (m *GetNotifyReply) Validate() error
- func (m *GetNotifyReply) ValidateAll() error
- type GetNotifyReplyMultiError
- type GetNotifyReplyValidationError
- func (e GetNotifyReplyValidationError) Cause() error
- func (e GetNotifyReplyValidationError) Error() string
- func (e GetNotifyReplyValidationError) ErrorName() string
- func (e GetNotifyReplyValidationError) Field() string
- func (e GetNotifyReplyValidationError) Key() bool
- func (e GetNotifyReplyValidationError) Reason() string
- type GetNotifyRequest
- func (*GetNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyRequest) GetId() uint32
- func (*GetNotifyRequest) ProtoMessage()
- func (x *GetNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotifyRequest) Reset()
- func (x *GetNotifyRequest) String() string
- func (m *GetNotifyRequest) Validate() error
- func (m *GetNotifyRequest) ValidateAll() error
- type GetNotifyRequestMultiError
- type GetNotifyRequestValidationError
- func (e GetNotifyRequestValidationError) Cause() error
- func (e GetNotifyRequestValidationError) Error() string
- func (e GetNotifyRequestValidationError) ErrorName() string
- func (e GetNotifyRequestValidationError) Field() string
- func (e GetNotifyRequestValidationError) Key() bool
- func (e GetNotifyRequestValidationError) Reason() string
- type GetTemplateReply
- func (*GetTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateReply) GetDetail() *api.NotifyTemplateItem
- func (*GetTemplateReply) ProtoMessage()
- func (x *GetTemplateReply) ProtoReflect() protoreflect.Message
- func (x *GetTemplateReply) Reset()
- func (x *GetTemplateReply) String() string
- func (m *GetTemplateReply) Validate() error
- func (m *GetTemplateReply) ValidateAll() error
- type GetTemplateReplyMultiError
- type GetTemplateReplyValidationError
- func (e GetTemplateReplyValidationError) Cause() error
- func (e GetTemplateReplyValidationError) Error() string
- func (e GetTemplateReplyValidationError) ErrorName() string
- func (e GetTemplateReplyValidationError) Field() string
- func (e GetTemplateReplyValidationError) Key() bool
- func (e GetTemplateReplyValidationError) Reason() string
- type GetTemplateRequest
- func (*GetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateRequest) GetId() uint32
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- func (x *GetTemplateRequest) String() string
- func (m *GetTemplateRequest) Validate() error
- func (m *GetTemplateRequest) ValidateAll() error
- type GetTemplateRequestMultiError
- type GetTemplateRequestValidationError
- func (e GetTemplateRequestValidationError) Cause() error
- func (e GetTemplateRequestValidationError) Error() string
- func (e GetTemplateRequestValidationError) ErrorName() string
- func (e GetTemplateRequestValidationError) Field() string
- func (e GetTemplateRequestValidationError) Key() bool
- func (e GetTemplateRequestValidationError) Reason() string
- type ListChatGroupReply
- func (*ListChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListChatGroupReply) GetList() []*api.ChatGroup
- func (x *ListChatGroupReply) GetPage() *api.PageReply
- func (*ListChatGroupReply) ProtoMessage()
- func (x *ListChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *ListChatGroupReply) Reset()
- func (x *ListChatGroupReply) String() string
- func (m *ListChatGroupReply) Validate() error
- func (m *ListChatGroupReply) ValidateAll() error
- type ListChatGroupReplyMultiError
- type ListChatGroupReplyValidationError
- func (e ListChatGroupReplyValidationError) Cause() error
- func (e ListChatGroupReplyValidationError) Error() string
- func (e ListChatGroupReplyValidationError) ErrorName() string
- func (e ListChatGroupReplyValidationError) Field() string
- func (e ListChatGroupReplyValidationError) Key() bool
- func (e ListChatGroupReplyValidationError) Reason() string
- type ListChatGroupRequest
- func (*ListChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChatGroupRequest) GetApp() api.NotifyApp
- func (x *ListChatGroupRequest) GetKeyword() string
- func (x *ListChatGroupRequest) GetPage() *api.PageRequest
- func (x *ListChatGroupRequest) GetStatus() api.Status
- func (*ListChatGroupRequest) ProtoMessage()
- func (x *ListChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ListChatGroupRequest) Reset()
- func (x *ListChatGroupRequest) String() string
- func (m *ListChatGroupRequest) Validate() error
- func (m *ListChatGroupRequest) ValidateAll() error
- type ListChatGroupRequestMultiError
- type ListChatGroupRequestValidationError
- func (e ListChatGroupRequestValidationError) Cause() error
- func (e ListChatGroupRequestValidationError) Error() string
- func (e ListChatGroupRequestValidationError) ErrorName() string
- func (e ListChatGroupRequestValidationError) Field() string
- func (e ListChatGroupRequestValidationError) Key() bool
- func (e ListChatGroupRequestValidationError) Reason() string
- type ListNotifyReply
- func (*ListNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotifyReply) GetList() []*api.NotifyV1
- func (x *ListNotifyReply) GetPage() *api.PageReply
- func (*ListNotifyReply) ProtoMessage()
- func (x *ListNotifyReply) ProtoReflect() protoreflect.Message
- func (x *ListNotifyReply) Reset()
- func (x *ListNotifyReply) String() string
- func (m *ListNotifyReply) Validate() error
- func (m *ListNotifyReply) ValidateAll() error
- type ListNotifyReplyMultiError
- type ListNotifyReplyValidationError
- func (e ListNotifyReplyValidationError) Cause() error
- func (e ListNotifyReplyValidationError) Error() string
- func (e ListNotifyReplyValidationError) ErrorName() string
- func (e ListNotifyReplyValidationError) Field() string
- func (e ListNotifyReplyValidationError) Key() bool
- func (e ListNotifyReplyValidationError) Reason() string
- type ListNotifyRequest
- func (*ListNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotifyRequest) GetKeyword() string
- func (x *ListNotifyRequest) GetPage() *api.PageRequest
- func (x *ListNotifyRequest) GetStatus() api.Status
- func (*ListNotifyRequest) ProtoMessage()
- func (x *ListNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotifyRequest) Reset()
- func (x *ListNotifyRequest) String() string
- func (m *ListNotifyRequest) Validate() error
- func (m *ListNotifyRequest) ValidateAll() error
- type ListNotifyRequestMultiError
- type ListNotifyRequestValidationError
- func (e ListNotifyRequestValidationError) Cause() error
- func (e ListNotifyRequestValidationError) Error() string
- func (e ListNotifyRequestValidationError) ErrorName() string
- func (e ListNotifyRequestValidationError) Field() string
- func (e ListNotifyRequestValidationError) Key() bool
- func (e ListNotifyRequestValidationError) Reason() string
- type ListTemplateReply
- func (*ListTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateReply) GetList() []*api.NotifyTemplateItem
- func (x *ListTemplateReply) GetPage() *api.PageReply
- func (*ListTemplateReply) ProtoMessage()
- func (x *ListTemplateReply) ProtoReflect() protoreflect.Message
- func (x *ListTemplateReply) Reset()
- func (x *ListTemplateReply) String() string
- func (m *ListTemplateReply) Validate() error
- func (m *ListTemplateReply) ValidateAll() error
- type ListTemplateReplyMultiError
- type ListTemplateReplyValidationError
- func (e ListTemplateReplyValidationError) Cause() error
- func (e ListTemplateReplyValidationError) Error() string
- func (e ListTemplateReplyValidationError) ErrorName() string
- func (e ListTemplateReplyValidationError) Field() string
- func (e ListTemplateReplyValidationError) Key() bool
- func (e ListTemplateReplyValidationError) Reason() string
- type ListTemplateRequest
- func (*ListTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateRequest) GetPage() *api.PageRequest
- func (x *ListTemplateRequest) GetStrategyId() uint32
- func (*ListTemplateRequest) ProtoMessage()
- func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplateRequest) Reset()
- func (x *ListTemplateRequest) String() string
- func (m *ListTemplateRequest) Validate() error
- func (m *ListTemplateRequest) ValidateAll() error
- type ListTemplateRequestMultiError
- type ListTemplateRequestValidationError
- func (e ListTemplateRequestValidationError) Cause() error
- func (e ListTemplateRequestValidationError) Error() string
- func (e ListTemplateRequestValidationError) ErrorName() string
- func (e ListTemplateRequestValidationError) Field() string
- func (e ListTemplateRequestValidationError) Key() bool
- func (e ListTemplateRequestValidationError) Reason() string
- type NotifyClient
- type NotifyHTTPClient
- type NotifyHTTPClientImpl
- func (c *NotifyHTTPClientImpl) CreateNotify(ctx context.Context, in *CreateNotifyRequest, opts ...http.CallOption) (*CreateNotifyReply, error)
- func (c *NotifyHTTPClientImpl) DeleteNotify(ctx context.Context, in *DeleteNotifyRequest, opts ...http.CallOption) (*DeleteNotifyReply, error)
- func (c *NotifyHTTPClientImpl) GetNotify(ctx context.Context, in *GetNotifyRequest, opts ...http.CallOption) (*GetNotifyReply, error)
- func (c *NotifyHTTPClientImpl) ListNotify(ctx context.Context, in *ListNotifyRequest, opts ...http.CallOption) (*ListNotifyReply, error)
- func (c *NotifyHTTPClientImpl) SelectNotify(ctx context.Context, in *SelectNotifyRequest, opts ...http.CallOption) (*SelectNotifyReply, error)
- func (c *NotifyHTTPClientImpl) UpdateNotify(ctx context.Context, in *UpdateNotifyRequest, opts ...http.CallOption) (*UpdateNotifyReply, error)
- type NotifyHTTPServer
- type NotifyServer
- type SelectChatGroupReply
- func (*SelectChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectChatGroupReply) GetList() []*api.ChatGroupSelectV1
- func (x *SelectChatGroupReply) GetPage() *api.PageReply
- func (*SelectChatGroupReply) ProtoMessage()
- func (x *SelectChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *SelectChatGroupReply) Reset()
- func (x *SelectChatGroupReply) String() string
- func (m *SelectChatGroupReply) Validate() error
- func (m *SelectChatGroupReply) ValidateAll() error
- type SelectChatGroupReplyMultiError
- type SelectChatGroupReplyValidationError
- func (e SelectChatGroupReplyValidationError) Cause() error
- func (e SelectChatGroupReplyValidationError) Error() string
- func (e SelectChatGroupReplyValidationError) ErrorName() string
- func (e SelectChatGroupReplyValidationError) Field() string
- func (e SelectChatGroupReplyValidationError) Key() bool
- func (e SelectChatGroupReplyValidationError) Reason() string
- type SelectChatGroupRequest
- func (*SelectChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectChatGroupRequest) GetKeyword() string
- func (x *SelectChatGroupRequest) GetPage() *api.PageRequest
- func (x *SelectChatGroupRequest) GetStatus() api.Status
- func (*SelectChatGroupRequest) ProtoMessage()
- func (x *SelectChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *SelectChatGroupRequest) Reset()
- func (x *SelectChatGroupRequest) String() string
- func (m *SelectChatGroupRequest) Validate() error
- func (m *SelectChatGroupRequest) ValidateAll() error
- type SelectChatGroupRequestMultiError
- type SelectChatGroupRequestValidationError
- func (e SelectChatGroupRequestValidationError) Cause() error
- func (e SelectChatGroupRequestValidationError) Error() string
- func (e SelectChatGroupRequestValidationError) ErrorName() string
- func (e SelectChatGroupRequestValidationError) Field() string
- func (e SelectChatGroupRequestValidationError) Key() bool
- func (e SelectChatGroupRequestValidationError) Reason() string
- type SelectNotifyReply
- func (*SelectNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectNotifyReply) GetList() []*api.NotifySelectV1
- func (x *SelectNotifyReply) GetPage() *api.PageReply
- func (*SelectNotifyReply) ProtoMessage()
- func (x *SelectNotifyReply) ProtoReflect() protoreflect.Message
- func (x *SelectNotifyReply) Reset()
- func (x *SelectNotifyReply) String() string
- func (m *SelectNotifyReply) Validate() error
- func (m *SelectNotifyReply) ValidateAll() error
- type SelectNotifyReplyMultiError
- type SelectNotifyReplyValidationError
- func (e SelectNotifyReplyValidationError) Cause() error
- func (e SelectNotifyReplyValidationError) Error() string
- func (e SelectNotifyReplyValidationError) ErrorName() string
- func (e SelectNotifyReplyValidationError) Field() string
- func (e SelectNotifyReplyValidationError) Key() bool
- func (e SelectNotifyReplyValidationError) Reason() string
- type SelectNotifyRequest
- func (*SelectNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectNotifyRequest) GetKeyword() string
- func (x *SelectNotifyRequest) GetPage() *api.PageRequest
- func (x *SelectNotifyRequest) GetStatus() api.Status
- func (*SelectNotifyRequest) ProtoMessage()
- func (x *SelectNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *SelectNotifyRequest) Reset()
- func (x *SelectNotifyRequest) String() string
- func (m *SelectNotifyRequest) Validate() error
- func (m *SelectNotifyRequest) ValidateAll() error
- type SelectNotifyRequestMultiError
- type SelectNotifyRequestValidationError
- func (e SelectNotifyRequestValidationError) Cause() error
- func (e SelectNotifyRequestValidationError) Error() string
- func (e SelectNotifyRequestValidationError) ErrorName() string
- func (e SelectNotifyRequestValidationError) Field() string
- func (e SelectNotifyRequestValidationError) Key() bool
- func (e SelectNotifyRequestValidationError) Reason() string
- type TemplateClient
- type TemplateHTTPClient
- type TemplateHTTPClientImpl
- func (c *TemplateHTTPClientImpl) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...http.CallOption) (*CreateTemplateReply, error)
- func (c *TemplateHTTPClientImpl) DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...http.CallOption) (*DeleteTemplateReply, error)
- func (c *TemplateHTTPClientImpl) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...http.CallOption) (*GetTemplateReply, error)
- func (c *TemplateHTTPClientImpl) ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...http.CallOption) (*ListTemplateReply, error)
- func (c *TemplateHTTPClientImpl) UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...http.CallOption) (*UpdateTemplateReply, error)
- type TemplateHTTPServer
- type TemplateServer
- type UnimplementedChatGroupServer
- func (UnimplementedChatGroupServer) CreateChatGroup(context.Context, *CreateChatGroupRequest) (*CreateChatGroupReply, error)
- func (UnimplementedChatGroupServer) DeleteChatGroup(context.Context, *DeleteChatGroupRequest) (*DeleteChatGroupReply, error)
- func (UnimplementedChatGroupServer) GetChatGroup(context.Context, *GetChatGroupRequest) (*GetChatGroupReply, error)
- func (UnimplementedChatGroupServer) ListChatGroup(context.Context, *ListChatGroupRequest) (*ListChatGroupReply, error)
- func (UnimplementedChatGroupServer) SelectChatGroup(context.Context, *SelectChatGroupRequest) (*SelectChatGroupReply, error)
- func (UnimplementedChatGroupServer) UpdateChatGroup(context.Context, *UpdateChatGroupRequest) (*UpdateChatGroupReply, error)
- type UnimplementedNotifyServer
- func (UnimplementedNotifyServer) CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyReply, error)
- func (UnimplementedNotifyServer) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyReply, error)
- func (UnimplementedNotifyServer) GetNotify(context.Context, *GetNotifyRequest) (*GetNotifyReply, error)
- func (UnimplementedNotifyServer) ListNotify(context.Context, *ListNotifyRequest) (*ListNotifyReply, error)
- func (UnimplementedNotifyServer) SelectNotify(context.Context, *SelectNotifyRequest) (*SelectNotifyReply, error)
- func (UnimplementedNotifyServer) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyReply, error)
- type UnimplementedTemplateServer
- func (UnimplementedTemplateServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error)
- func (UnimplementedTemplateServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateReply, error)
- func (UnimplementedTemplateServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error)
- func (UnimplementedTemplateServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error)
- func (UnimplementedTemplateServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateReply, error)
- type UnsafeChatGroupServer
- type UnsafeNotifyServer
- type UnsafeTemplateServer
- type UpdateChatGroupReply
- func (*UpdateChatGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChatGroupReply) GetId() uint32
- func (*UpdateChatGroupReply) ProtoMessage()
- func (x *UpdateChatGroupReply) ProtoReflect() protoreflect.Message
- func (x *UpdateChatGroupReply) Reset()
- func (x *UpdateChatGroupReply) String() string
- func (m *UpdateChatGroupReply) Validate() error
- func (m *UpdateChatGroupReply) ValidateAll() error
- type UpdateChatGroupReplyMultiError
- type UpdateChatGroupReplyValidationError
- func (e UpdateChatGroupReplyValidationError) Cause() error
- func (e UpdateChatGroupReplyValidationError) Error() string
- func (e UpdateChatGroupReplyValidationError) ErrorName() string
- func (e UpdateChatGroupReplyValidationError) Field() string
- func (e UpdateChatGroupReplyValidationError) Key() bool
- func (e UpdateChatGroupReplyValidationError) Reason() string
- type UpdateChatGroupRequest
- func (*UpdateChatGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChatGroupRequest) GetHookName() string
- func (x *UpdateChatGroupRequest) GetId() uint32
- func (x *UpdateChatGroupRequest) GetName() string
- func (x *UpdateChatGroupRequest) GetRemark() string
- func (*UpdateChatGroupRequest) ProtoMessage()
- func (x *UpdateChatGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChatGroupRequest) Reset()
- func (x *UpdateChatGroupRequest) String() string
- func (m *UpdateChatGroupRequest) Validate() error
- func (m *UpdateChatGroupRequest) ValidateAll() error
- type UpdateChatGroupRequestMultiError
- type UpdateChatGroupRequestValidationError
- func (e UpdateChatGroupRequestValidationError) Cause() error
- func (e UpdateChatGroupRequestValidationError) Error() string
- func (e UpdateChatGroupRequestValidationError) ErrorName() string
- func (e UpdateChatGroupRequestValidationError) Field() string
- func (e UpdateChatGroupRequestValidationError) Key() bool
- func (e UpdateChatGroupRequestValidationError) Reason() string
- type UpdateNotifyReply
- func (*UpdateNotifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyReply) GetId() uint32
- func (*UpdateNotifyReply) ProtoMessage()
- func (x *UpdateNotifyReply) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyReply) Reset()
- func (x *UpdateNotifyReply) String() string
- func (m *UpdateNotifyReply) Validate() error
- func (m *UpdateNotifyReply) ValidateAll() error
- type UpdateNotifyReplyMultiError
- type UpdateNotifyReplyValidationError
- func (e UpdateNotifyReplyValidationError) Cause() error
- func (e UpdateNotifyReplyValidationError) Error() string
- func (e UpdateNotifyReplyValidationError) ErrorName() string
- func (e UpdateNotifyReplyValidationError) Field() string
- func (e UpdateNotifyReplyValidationError) Key() bool
- func (e UpdateNotifyReplyValidationError) Reason() string
- type UpdateNotifyRequest
- func (*UpdateNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyRequest) GetChatGroups() []uint32
- func (x *UpdateNotifyRequest) GetId() uint32
- func (x *UpdateNotifyRequest) GetMembers() []*api.BeNotifyMember
- func (x *UpdateNotifyRequest) GetName() string
- func (x *UpdateNotifyRequest) GetRemark() string
- func (x *UpdateNotifyRequest) GetStatus() api.Status
- func (*UpdateNotifyRequest) ProtoMessage()
- func (x *UpdateNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyRequest) Reset()
- func (x *UpdateNotifyRequest) String() string
- func (m *UpdateNotifyRequest) Validate() error
- func (m *UpdateNotifyRequest) ValidateAll() error
- type UpdateNotifyRequestMultiError
- type UpdateNotifyRequestValidationError
- func (e UpdateNotifyRequestValidationError) Cause() error
- func (e UpdateNotifyRequestValidationError) Error() string
- func (e UpdateNotifyRequestValidationError) ErrorName() string
- func (e UpdateNotifyRequestValidationError) Field() string
- func (e UpdateNotifyRequestValidationError) Key() bool
- func (e UpdateNotifyRequestValidationError) Reason() string
- type UpdateTemplateReply
- func (*UpdateTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTemplateReply) ProtoMessage()
- func (x *UpdateTemplateReply) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateReply) Reset()
- func (x *UpdateTemplateReply) String() string
- func (m *UpdateTemplateReply) Validate() error
- func (m *UpdateTemplateReply) ValidateAll() error
- type UpdateTemplateReplyMultiError
- type UpdateTemplateReplyValidationError
- func (e UpdateTemplateReplyValidationError) Cause() error
- func (e UpdateTemplateReplyValidationError) Error() string
- func (e UpdateTemplateReplyValidationError) ErrorName() string
- func (e UpdateTemplateReplyValidationError) Field() string
- func (e UpdateTemplateReplyValidationError) Key() bool
- func (e UpdateTemplateReplyValidationError) Reason() string
- type UpdateTemplateRequest
- func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateRequest) GetContent() string
- func (x *UpdateTemplateRequest) GetId() uint32
- func (x *UpdateTemplateRequest) GetNotifyType() api.NotifyTemplateType
- func (x *UpdateTemplateRequest) GetStrategyId() uint32
- func (*UpdateTemplateRequest) ProtoMessage()
- func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateRequest) Reset()
- func (x *UpdateTemplateRequest) String() string
- func (m *UpdateTemplateRequest) Validate() error
- func (m *UpdateTemplateRequest) ValidateAll() error
- type UpdateTemplateRequestMultiError
- type UpdateTemplateRequestValidationError
- func (e UpdateTemplateRequestValidationError) Cause() error
- func (e UpdateTemplateRequestValidationError) Error() string
- func (e UpdateTemplateRequestValidationError) ErrorName() string
- func (e UpdateTemplateRequestValidationError) Field() string
- func (e UpdateTemplateRequestValidationError) Key() bool
- func (e UpdateTemplateRequestValidationError) Reason() string
Constants ¶
const ( ChatGroup_CreateChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/CreateChatGroup" ChatGroup_UpdateChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/UpdateChatGroup" ChatGroup_DeleteChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/DeleteChatGroup" ChatGroup_GetChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/GetChatGroup" ChatGroup_ListChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/ListChatGroup" ChatGroup_SelectChatGroup_FullMethodName = "/api.server.prom.notify.ChatGroup/SelectChatGroup" )
const ( Notify_CreateNotify_FullMethodName = "/api.server.prom.notify.Notify/CreateNotify" Notify_UpdateNotify_FullMethodName = "/api.server.prom.notify.Notify/UpdateNotify" Notify_DeleteNotify_FullMethodName = "/api.server.prom.notify.Notify/DeleteNotify" Notify_GetNotify_FullMethodName = "/api.server.prom.notify.Notify/GetNotify" Notify_ListNotify_FullMethodName = "/api.server.prom.notify.Notify/ListNotify" Notify_SelectNotify_FullMethodName = "/api.server.prom.notify.Notify/SelectNotify" )
const ( Template_CreateTemplate_FullMethodName = "/api.server.prom.notify.Template/CreateTemplate" Template_UpdateTemplate_FullMethodName = "/api.server.prom.notify.Template/UpdateTemplate" Template_DeleteTemplate_FullMethodName = "/api.server.prom.notify.Template/DeleteTemplate" Template_GetTemplate_FullMethodName = "/api.server.prom.notify.Template/GetTemplate" Template_ListTemplate_FullMethodName = "/api.server.prom.notify.Template/ListTemplate" )
const OperationChatGroupCreateChatGroup = "/api.server.prom.notify.ChatGroup/CreateChatGroup"
const OperationChatGroupDeleteChatGroup = "/api.server.prom.notify.ChatGroup/DeleteChatGroup"
const OperationChatGroupGetChatGroup = "/api.server.prom.notify.ChatGroup/GetChatGroup"
const OperationChatGroupListChatGroup = "/api.server.prom.notify.ChatGroup/ListChatGroup"
const OperationChatGroupSelectChatGroup = "/api.server.prom.notify.ChatGroup/SelectChatGroup"
const OperationChatGroupUpdateChatGroup = "/api.server.prom.notify.ChatGroup/UpdateChatGroup"
const OperationNotifyCreateNotify = "/api.server.prom.notify.Notify/CreateNotify"
const OperationNotifyDeleteNotify = "/api.server.prom.notify.Notify/DeleteNotify"
const OperationNotifyGetNotify = "/api.server.prom.notify.Notify/GetNotify"
const OperationNotifyListNotify = "/api.server.prom.notify.Notify/ListNotify"
const OperationNotifySelectNotify = "/api.server.prom.notify.Notify/SelectNotify"
const OperationNotifyUpdateNotify = "/api.server.prom.notify.Notify/UpdateNotify"
const OperationTemplateCreateTemplate = "/api.server.prom.notify.Template/CreateTemplate"
const OperationTemplateDeleteTemplate = "/api.server.prom.notify.Template/DeleteTemplate"
const OperationTemplateGetTemplate = "/api.server.prom.notify.Template/GetTemplate"
const OperationTemplateListTemplate = "/api.server.prom.notify.Template/ListTemplate"
const OperationTemplateUpdateTemplate = "/api.server.prom.notify.Template/UpdateTemplate"
Variables ¶
var ChatGroup_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.prom.notify.ChatGroup", HandlerType: (*ChatGroupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateChatGroup", Handler: _ChatGroup_CreateChatGroup_Handler, }, { MethodName: "UpdateChatGroup", Handler: _ChatGroup_UpdateChatGroup_Handler, }, { MethodName: "DeleteChatGroup", Handler: _ChatGroup_DeleteChatGroup_Handler, }, { MethodName: "GetChatGroup", Handler: _ChatGroup_GetChatGroup_Handler, }, { MethodName: "ListChatGroup", Handler: _ChatGroup_ListChatGroup_Handler, }, { MethodName: "SelectChatGroup", Handler: _ChatGroup_SelectChatGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/prom/notify/chat_group.proto", }
ChatGroup_ServiceDesc is the grpc.ServiceDesc for ChatGroup service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_server_prom_notify_chat_group_proto protoreflect.FileDescriptor
var File_server_prom_notify_notify_proto protoreflect.FileDescriptor
var File_server_prom_notify_template_proto protoreflect.FileDescriptor
var Notify_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.prom.notify.Notify", HandlerType: (*NotifyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNotify", Handler: _Notify_CreateNotify_Handler, }, { MethodName: "UpdateNotify", Handler: _Notify_UpdateNotify_Handler, }, { MethodName: "DeleteNotify", Handler: _Notify_DeleteNotify_Handler, }, { MethodName: "GetNotify", Handler: _Notify_GetNotify_Handler, }, { MethodName: "ListNotify", Handler: _Notify_ListNotify_Handler, }, { MethodName: "SelectNotify", Handler: _Notify_SelectNotify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/prom/notify/notify.proto", }
Notify_ServiceDesc is the grpc.ServiceDesc for Notify service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Template_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.prom.notify.Template", HandlerType: (*TemplateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTemplate", Handler: _Template_CreateTemplate_Handler, }, { MethodName: "UpdateTemplate", Handler: _Template_UpdateTemplate_Handler, }, { MethodName: "DeleteTemplate", Handler: _Template_DeleteTemplate_Handler, }, { MethodName: "GetTemplate", Handler: _Template_GetTemplate_Handler, }, { MethodName: "ListTemplate", Handler: _Template_ListTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/prom/notify/template.proto", }
Template_ServiceDesc is the grpc.ServiceDesc for Template service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterChatGroupHTTPServer ¶
func RegisterChatGroupHTTPServer(s *http.Server, srv ChatGroupHTTPServer)
func RegisterChatGroupServer ¶
func RegisterChatGroupServer(s grpc.ServiceRegistrar, srv ChatGroupServer)
func RegisterNotifyHTTPServer ¶
func RegisterNotifyHTTPServer(s *http.Server, srv NotifyHTTPServer)
func RegisterNotifyServer ¶
func RegisterNotifyServer(s grpc.ServiceRegistrar, srv NotifyServer)
func RegisterTemplateHTTPServer ¶
func RegisterTemplateHTTPServer(s *http.Server, srv TemplateHTTPServer)
func RegisterTemplateServer ¶
func RegisterTemplateServer(s grpc.ServiceRegistrar, srv TemplateServer)
Types ¶
type ChatGroupClient ¶
type ChatGroupClient interface { // 创建通知群组 CreateChatGroup(ctx context.Context, in *CreateChatGroupRequest, opts ...grpc.CallOption) (*CreateChatGroupReply, error) // 更新通知群组 UpdateChatGroup(ctx context.Context, in *UpdateChatGroupRequest, opts ...grpc.CallOption) (*UpdateChatGroupReply, error) // 删除通知群组 DeleteChatGroup(ctx context.Context, in *DeleteChatGroupRequest, opts ...grpc.CallOption) (*DeleteChatGroupReply, error) // 获取通知群组 GetChatGroup(ctx context.Context, in *GetChatGroupRequest, opts ...grpc.CallOption) (*GetChatGroupReply, error) // 获取通知群组列表 ListChatGroup(ctx context.Context, in *ListChatGroupRequest, opts ...grpc.CallOption) (*ListChatGroupReply, error) // 获取通知群组列表(下拉选择) SelectChatGroup(ctx context.Context, in *SelectChatGroupRequest, opts ...grpc.CallOption) (*SelectChatGroupReply, error) }
ChatGroupClient is the client API for ChatGroup 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 NewChatGroupClient ¶
func NewChatGroupClient(cc grpc.ClientConnInterface) ChatGroupClient
type ChatGroupHTTPClient ¶
type ChatGroupHTTPClient interface { CreateChatGroup(ctx context.Context, req *CreateChatGroupRequest, opts ...http.CallOption) (rsp *CreateChatGroupReply, err error) DeleteChatGroup(ctx context.Context, req *DeleteChatGroupRequest, opts ...http.CallOption) (rsp *DeleteChatGroupReply, err error) GetChatGroup(ctx context.Context, req *GetChatGroupRequest, opts ...http.CallOption) (rsp *GetChatGroupReply, err error) ListChatGroup(ctx context.Context, req *ListChatGroupRequest, opts ...http.CallOption) (rsp *ListChatGroupReply, err error) SelectChatGroup(ctx context.Context, req *SelectChatGroupRequest, opts ...http.CallOption) (rsp *SelectChatGroupReply, err error) UpdateChatGroup(ctx context.Context, req *UpdateChatGroupRequest, opts ...http.CallOption) (rsp *UpdateChatGroupReply, err error) }
func NewChatGroupHTTPClient ¶
func NewChatGroupHTTPClient(client *http.Client) ChatGroupHTTPClient
type ChatGroupHTTPClientImpl ¶
type ChatGroupHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ChatGroupHTTPClientImpl) CreateChatGroup ¶
func (c *ChatGroupHTTPClientImpl) CreateChatGroup(ctx context.Context, in *CreateChatGroupRequest, opts ...http.CallOption) (*CreateChatGroupReply, error)
func (*ChatGroupHTTPClientImpl) DeleteChatGroup ¶
func (c *ChatGroupHTTPClientImpl) DeleteChatGroup(ctx context.Context, in *DeleteChatGroupRequest, opts ...http.CallOption) (*DeleteChatGroupReply, error)
func (*ChatGroupHTTPClientImpl) GetChatGroup ¶
func (c *ChatGroupHTTPClientImpl) GetChatGroup(ctx context.Context, in *GetChatGroupRequest, opts ...http.CallOption) (*GetChatGroupReply, error)
func (*ChatGroupHTTPClientImpl) ListChatGroup ¶
func (c *ChatGroupHTTPClientImpl) ListChatGroup(ctx context.Context, in *ListChatGroupRequest, opts ...http.CallOption) (*ListChatGroupReply, error)
func (*ChatGroupHTTPClientImpl) SelectChatGroup ¶
func (c *ChatGroupHTTPClientImpl) SelectChatGroup(ctx context.Context, in *SelectChatGroupRequest, opts ...http.CallOption) (*SelectChatGroupReply, error)
func (*ChatGroupHTTPClientImpl) UpdateChatGroup ¶
func (c *ChatGroupHTTPClientImpl) UpdateChatGroup(ctx context.Context, in *UpdateChatGroupRequest, opts ...http.CallOption) (*UpdateChatGroupReply, error)
type ChatGroupHTTPServer ¶
type ChatGroupHTTPServer interface { CreateChatGroup(context.Context, *CreateChatGroupRequest) (*CreateChatGroupReply, error) DeleteChatGroup(context.Context, *DeleteChatGroupRequest) (*DeleteChatGroupReply, error) GetChatGroup(context.Context, *GetChatGroupRequest) (*GetChatGroupReply, error) ListChatGroup(context.Context, *ListChatGroupRequest) (*ListChatGroupReply, error) SelectChatGroup(context.Context, *SelectChatGroupRequest) (*SelectChatGroupReply, error) UpdateChatGroup(context.Context, *UpdateChatGroupRequest) (*UpdateChatGroupReply, error) }
type ChatGroupServer ¶
type ChatGroupServer interface { // 创建通知群组 CreateChatGroup(context.Context, *CreateChatGroupRequest) (*CreateChatGroupReply, error) // 更新通知群组 UpdateChatGroup(context.Context, *UpdateChatGroupRequest) (*UpdateChatGroupReply, error) // 删除通知群组 DeleteChatGroup(context.Context, *DeleteChatGroupRequest) (*DeleteChatGroupReply, error) // 获取通知群组 GetChatGroup(context.Context, *GetChatGroupRequest) (*GetChatGroupReply, error) // 获取通知群组列表 ListChatGroup(context.Context, *ListChatGroupRequest) (*ListChatGroupReply, error) // 获取通知群组列表(下拉选择) SelectChatGroup(context.Context, *SelectChatGroupRequest) (*SelectChatGroupReply, error) // contains filtered or unexported methods }
ChatGroupServer is the server API for ChatGroup service. All implementations must embed UnimplementedChatGroupServer for forward compatibility
type CreateChatGroupReply ¶
type CreateChatGroupReply struct { // 群组ID, 成功会返回该参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建通知群组响应参数
func (*CreateChatGroupReply) Descriptor
deprecated
func (*CreateChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateChatGroupReply.ProtoReflect.Descriptor instead.
func (*CreateChatGroupReply) GetId ¶
func (x *CreateChatGroupReply) GetId() uint32
func (*CreateChatGroupReply) ProtoMessage ¶
func (*CreateChatGroupReply) ProtoMessage()
func (*CreateChatGroupReply) ProtoReflect ¶
func (x *CreateChatGroupReply) ProtoReflect() protoreflect.Message
func (*CreateChatGroupReply) Reset ¶
func (x *CreateChatGroupReply) Reset()
func (*CreateChatGroupReply) String ¶
func (x *CreateChatGroupReply) String() string
func (*CreateChatGroupReply) Validate ¶
func (m *CreateChatGroupReply) Validate() error
Validate checks the field values on CreateChatGroupReply 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 (*CreateChatGroupReply) ValidateAll ¶
func (m *CreateChatGroupReply) ValidateAll() error
ValidateAll checks the field values on CreateChatGroupReply 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 CreateChatGroupReplyMultiError, or nil if none found.
type CreateChatGroupReplyMultiError ¶
type CreateChatGroupReplyMultiError []error
CreateChatGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (CreateChatGroupReplyMultiError) AllErrors ¶
func (m CreateChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChatGroupReplyMultiError) Error ¶
func (m CreateChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChatGroupReplyValidationError ¶
type CreateChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
CreateChatGroupReplyValidationError is the validation error returned by CreateChatGroupReply.Validate if the designated constraints aren't met.
func (CreateChatGroupReplyValidationError) Cause ¶
func (e CreateChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateChatGroupReplyValidationError) Error ¶
func (e CreateChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChatGroupReplyValidationError) ErrorName ¶
func (e CreateChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChatGroupReplyValidationError) Field ¶
func (e CreateChatGroupReplyValidationError) Field() string
Field function returns field value.
func (CreateChatGroupReplyValidationError) Key ¶
func (e CreateChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (CreateChatGroupReplyValidationError) Reason ¶
func (e CreateChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type CreateChatGroupRequest ¶
type CreateChatGroupRequest struct { // 群组名称(一般指IM群, 例如微信群、钉钉群等) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 群组备注 Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // 群组webhook地址(机器人地址) Hook string `protobuf:"bytes,3,opt,name=hook,proto3" json:"hook,omitempty"` // 这个群组所属的应用 App api.NotifyApp `protobuf:"varint,4,opt,name=app,proto3,enum=api.NotifyApp" json:"app,omitempty"` // hook一般是机器人, 这个字段是机器人的名称(也可以是hook别名) HookName string `protobuf:"bytes,5,opt,name=hookName,proto3" json:"hookName,omitempty"` // secret , hook通知密钥 Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
创建通知群组请求参数
func (*CreateChatGroupRequest) Descriptor
deprecated
func (*CreateChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChatGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateChatGroupRequest) GetApp ¶
func (x *CreateChatGroupRequest) GetApp() api.NotifyApp
func (*CreateChatGroupRequest) GetHook ¶
func (x *CreateChatGroupRequest) GetHook() string
func (*CreateChatGroupRequest) GetHookName ¶
func (x *CreateChatGroupRequest) GetHookName() string
func (*CreateChatGroupRequest) GetName ¶
func (x *CreateChatGroupRequest) GetName() string
func (*CreateChatGroupRequest) GetRemark ¶
func (x *CreateChatGroupRequest) GetRemark() string
func (*CreateChatGroupRequest) GetSecret ¶
func (x *CreateChatGroupRequest) GetSecret() string
func (*CreateChatGroupRequest) ProtoMessage ¶
func (*CreateChatGroupRequest) ProtoMessage()
func (*CreateChatGroupRequest) ProtoReflect ¶
func (x *CreateChatGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateChatGroupRequest) Reset ¶
func (x *CreateChatGroupRequest) Reset()
func (*CreateChatGroupRequest) String ¶
func (x *CreateChatGroupRequest) String() string
func (*CreateChatGroupRequest) Validate ¶
func (m *CreateChatGroupRequest) Validate() error
Validate checks the field values on CreateChatGroupRequest 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 (*CreateChatGroupRequest) ValidateAll ¶
func (m *CreateChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateChatGroupRequest 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 CreateChatGroupRequestMultiError, or nil if none found.
type CreateChatGroupRequestMultiError ¶
type CreateChatGroupRequestMultiError []error
CreateChatGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateChatGroupRequestMultiError) AllErrors ¶
func (m CreateChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChatGroupRequestMultiError) Error ¶
func (m CreateChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChatGroupRequestValidationError ¶
type CreateChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateChatGroupRequestValidationError is the validation error returned by CreateChatGroupRequest.Validate if the designated constraints aren't met.
func (CreateChatGroupRequestValidationError) Cause ¶
func (e CreateChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateChatGroupRequestValidationError) Error ¶
func (e CreateChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChatGroupRequestValidationError) ErrorName ¶
func (e CreateChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChatGroupRequestValidationError) Field ¶
func (e CreateChatGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateChatGroupRequestValidationError) Key ¶
func (e CreateChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateChatGroupRequestValidationError) Reason ¶
func (e CreateChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type CreateNotifyReply ¶
type CreateNotifyReply struct { // 通知对象ID, 创建成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建通知对象响应参数
func (*CreateNotifyReply) Descriptor
deprecated
func (*CreateNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyReply.ProtoReflect.Descriptor instead.
func (*CreateNotifyReply) GetId ¶
func (x *CreateNotifyReply) GetId() uint32
func (*CreateNotifyReply) ProtoMessage ¶
func (*CreateNotifyReply) ProtoMessage()
func (*CreateNotifyReply) ProtoReflect ¶
func (x *CreateNotifyReply) ProtoReflect() protoreflect.Message
func (*CreateNotifyReply) Reset ¶
func (x *CreateNotifyReply) Reset()
func (*CreateNotifyReply) String ¶
func (x *CreateNotifyReply) String() string
func (*CreateNotifyReply) Validate ¶
func (m *CreateNotifyReply) Validate() error
Validate checks the field values on CreateNotifyReply 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 (*CreateNotifyReply) ValidateAll ¶
func (m *CreateNotifyReply) ValidateAll() error
ValidateAll checks the field values on CreateNotifyReply 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 CreateNotifyReplyMultiError, or nil if none found.
type CreateNotifyReplyMultiError ¶
type CreateNotifyReplyMultiError []error
CreateNotifyReplyMultiError is an error wrapping multiple validation errors returned by CreateNotifyReply.ValidateAll() if the designated constraints aren't met.
func (CreateNotifyReplyMultiError) AllErrors ¶
func (m CreateNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNotifyReplyMultiError) Error ¶
func (m CreateNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNotifyReplyValidationError ¶
type CreateNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
CreateNotifyReplyValidationError is the validation error returned by CreateNotifyReply.Validate if the designated constraints aren't met.
func (CreateNotifyReplyValidationError) Cause ¶
func (e CreateNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateNotifyReplyValidationError) Error ¶
func (e CreateNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNotifyReplyValidationError) ErrorName ¶
func (e CreateNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNotifyReplyValidationError) Field ¶
func (e CreateNotifyReplyValidationError) Field() string
Field function returns field value.
func (CreateNotifyReplyValidationError) Key ¶
func (e CreateNotifyReplyValidationError) Key() bool
Key function returns key value.
func (CreateNotifyReplyValidationError) Reason ¶
func (e CreateNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type CreateNotifyRequest ¶
type CreateNotifyRequest struct { // 通知对象名称, 字符串长度2-20 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 备注 Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // 通知的人员 Members []*api.BeNotifyMember `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // 通知的群组 ChatGroups []uint32 `protobuf:"varint,4,rep,packed,name=chatGroups,proto3" json:"chatGroups,omitempty"` // contains filtered or unexported fields }
创建通知对象请求参数
func (*CreateNotifyRequest) Descriptor
deprecated
func (*CreateNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyRequest.ProtoReflect.Descriptor instead.
func (*CreateNotifyRequest) GetChatGroups ¶
func (x *CreateNotifyRequest) GetChatGroups() []uint32
func (*CreateNotifyRequest) GetMembers ¶
func (x *CreateNotifyRequest) GetMembers() []*api.BeNotifyMember
func (*CreateNotifyRequest) GetName ¶
func (x *CreateNotifyRequest) GetName() string
func (*CreateNotifyRequest) GetRemark ¶
func (x *CreateNotifyRequest) GetRemark() string
func (*CreateNotifyRequest) ProtoMessage ¶
func (*CreateNotifyRequest) ProtoMessage()
func (*CreateNotifyRequest) ProtoReflect ¶
func (x *CreateNotifyRequest) ProtoReflect() protoreflect.Message
func (*CreateNotifyRequest) Reset ¶
func (x *CreateNotifyRequest) Reset()
func (*CreateNotifyRequest) String ¶
func (x *CreateNotifyRequest) String() string
func (*CreateNotifyRequest) Validate ¶
func (m *CreateNotifyRequest) Validate() error
Validate checks the field values on CreateNotifyRequest 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 (*CreateNotifyRequest) ValidateAll ¶
func (m *CreateNotifyRequest) ValidateAll() error
ValidateAll checks the field values on CreateNotifyRequest 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 CreateNotifyRequestMultiError, or nil if none found.
type CreateNotifyRequestMultiError ¶
type CreateNotifyRequestMultiError []error
CreateNotifyRequestMultiError is an error wrapping multiple validation errors returned by CreateNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (CreateNotifyRequestMultiError) AllErrors ¶
func (m CreateNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNotifyRequestMultiError) Error ¶
func (m CreateNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNotifyRequestValidationError ¶
type CreateNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
CreateNotifyRequestValidationError is the validation error returned by CreateNotifyRequest.Validate if the designated constraints aren't met.
func (CreateNotifyRequestValidationError) Cause ¶
func (e CreateNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNotifyRequestValidationError) Error ¶
func (e CreateNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNotifyRequestValidationError) ErrorName ¶
func (e CreateNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNotifyRequestValidationError) Field ¶
func (e CreateNotifyRequestValidationError) Field() string
Field function returns field value.
func (CreateNotifyRequestValidationError) Key ¶
func (e CreateNotifyRequestValidationError) Key() bool
Key function returns key value.
func (CreateNotifyRequestValidationError) Reason ¶
func (e CreateNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateReply ¶
type CreateTemplateReply struct {
// contains filtered or unexported fields
}
func (*CreateTemplateReply) Descriptor
deprecated
func (*CreateTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateReply.ProtoReflect.Descriptor instead.
func (*CreateTemplateReply) ProtoMessage ¶
func (*CreateTemplateReply) ProtoMessage()
func (*CreateTemplateReply) ProtoReflect ¶
func (x *CreateTemplateReply) ProtoReflect() protoreflect.Message
func (*CreateTemplateReply) Reset ¶
func (x *CreateTemplateReply) Reset()
func (*CreateTemplateReply) String ¶
func (x *CreateTemplateReply) String() string
func (*CreateTemplateReply) Validate ¶
func (m *CreateTemplateReply) Validate() error
Validate checks the field values on CreateTemplateReply 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 (*CreateTemplateReply) ValidateAll ¶
func (m *CreateTemplateReply) ValidateAll() error
ValidateAll checks the field values on CreateTemplateReply 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 CreateTemplateReplyMultiError, or nil if none found.
type CreateTemplateReplyMultiError ¶
type CreateTemplateReplyMultiError []error
CreateTemplateReplyMultiError is an error wrapping multiple validation errors returned by CreateTemplateReply.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateReplyMultiError) AllErrors ¶
func (m CreateTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateReplyMultiError) Error ¶
func (m CreateTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateReplyValidationError ¶
type CreateTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateReplyValidationError is the validation error returned by CreateTemplateReply.Validate if the designated constraints aren't met.
func (CreateTemplateReplyValidationError) Cause ¶
func (e CreateTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateReplyValidationError) Error ¶
func (e CreateTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateReplyValidationError) ErrorName ¶
func (e CreateTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateReplyValidationError) Field ¶
func (e CreateTemplateReplyValidationError) Field() string
Field function returns field value.
func (CreateTemplateReplyValidationError) Key ¶
func (e CreateTemplateReplyValidationError) Key() bool
Key function returns key value.
func (CreateTemplateReplyValidationError) Reason ¶
func (e CreateTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { // 模板内容 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // 所属策略 StrategyId uint32 `protobuf:"varint,3,opt,name=strategyId,proto3" json:"strategyId,omitempty"` // 模板类型 NotifyType api.NotifyTemplateType `protobuf:"varint,4,opt,name=notifyType,proto3,enum=api.NotifyTemplateType" json:"notifyType,omitempty"` // contains filtered or unexported fields }
创建模板请求参数
func (*CreateTemplateRequest) Descriptor
deprecated
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetContent ¶
func (x *CreateTemplateRequest) GetContent() string
func (*CreateTemplateRequest) GetNotifyType ¶
func (x *CreateTemplateRequest) GetNotifyType() api.NotifyTemplateType
func (*CreateTemplateRequest) GetStrategyId ¶
func (x *CreateTemplateRequest) GetStrategyId() uint32
func (*CreateTemplateRequest) ProtoMessage ¶
func (*CreateTemplateRequest) ProtoMessage()
func (*CreateTemplateRequest) ProtoReflect ¶
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateRequest) Reset ¶
func (x *CreateTemplateRequest) Reset()
func (*CreateTemplateRequest) String ¶
func (x *CreateTemplateRequest) String() string
func (*CreateTemplateRequest) Validate ¶
func (m *CreateTemplateRequest) Validate() error
Validate checks the field values on CreateTemplateRequest 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 (*CreateTemplateRequest) ValidateAll ¶
func (m *CreateTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CreateTemplateRequest 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 CreateTemplateRequestMultiError, or nil if none found.
type CreateTemplateRequestMultiError ¶
type CreateTemplateRequestMultiError []error
CreateTemplateRequestMultiError is an error wrapping multiple validation errors returned by CreateTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateRequestMultiError) AllErrors ¶
func (m CreateTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateRequestMultiError) Error ¶
func (m CreateTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateRequestValidationError ¶
type CreateTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateRequestValidationError is the validation error returned by CreateTemplateRequest.Validate if the designated constraints aren't met.
func (CreateTemplateRequestValidationError) Cause ¶
func (e CreateTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateRequestValidationError) Error ¶
func (e CreateTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateRequestValidationError) ErrorName ¶
func (e CreateTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateRequestValidationError) Field ¶
func (e CreateTemplateRequestValidationError) Field() string
Field function returns field value.
func (CreateTemplateRequestValidationError) Key ¶
func (e CreateTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CreateTemplateRequestValidationError) Reason ¶
func (e CreateTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteChatGroupReply ¶
type DeleteChatGroupReply struct { // 群组ID, 成功会返回该参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除通知群组响应参数
func (*DeleteChatGroupReply) Descriptor
deprecated
func (*DeleteChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChatGroupReply.ProtoReflect.Descriptor instead.
func (*DeleteChatGroupReply) GetId ¶
func (x *DeleteChatGroupReply) GetId() uint32
func (*DeleteChatGroupReply) ProtoMessage ¶
func (*DeleteChatGroupReply) ProtoMessage()
func (*DeleteChatGroupReply) ProtoReflect ¶
func (x *DeleteChatGroupReply) ProtoReflect() protoreflect.Message
func (*DeleteChatGroupReply) Reset ¶
func (x *DeleteChatGroupReply) Reset()
func (*DeleteChatGroupReply) String ¶
func (x *DeleteChatGroupReply) String() string
func (*DeleteChatGroupReply) Validate ¶
func (m *DeleteChatGroupReply) Validate() error
Validate checks the field values on DeleteChatGroupReply 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 (*DeleteChatGroupReply) ValidateAll ¶
func (m *DeleteChatGroupReply) ValidateAll() error
ValidateAll checks the field values on DeleteChatGroupReply 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 DeleteChatGroupReplyMultiError, or nil if none found.
type DeleteChatGroupReplyMultiError ¶
type DeleteChatGroupReplyMultiError []error
DeleteChatGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (DeleteChatGroupReplyMultiError) AllErrors ¶
func (m DeleteChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChatGroupReplyMultiError) Error ¶
func (m DeleteChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChatGroupReplyValidationError ¶
type DeleteChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteChatGroupReplyValidationError is the validation error returned by DeleteChatGroupReply.Validate if the designated constraints aren't met.
func (DeleteChatGroupReplyValidationError) Cause ¶
func (e DeleteChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteChatGroupReplyValidationError) Error ¶
func (e DeleteChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChatGroupReplyValidationError) ErrorName ¶
func (e DeleteChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChatGroupReplyValidationError) Field ¶
func (e DeleteChatGroupReplyValidationError) Field() string
Field function returns field value.
func (DeleteChatGroupReplyValidationError) Key ¶
func (e DeleteChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (DeleteChatGroupReplyValidationError) Reason ¶
func (e DeleteChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteChatGroupRequest ¶
type DeleteChatGroupRequest struct { // 需要删除的群组ID(大于0), 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除通知群组请求参数
func (*DeleteChatGroupRequest) Descriptor
deprecated
func (*DeleteChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChatGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteChatGroupRequest) GetId ¶
func (x *DeleteChatGroupRequest) GetId() uint32
func (*DeleteChatGroupRequest) ProtoMessage ¶
func (*DeleteChatGroupRequest) ProtoMessage()
func (*DeleteChatGroupRequest) ProtoReflect ¶
func (x *DeleteChatGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteChatGroupRequest) Reset ¶
func (x *DeleteChatGroupRequest) Reset()
func (*DeleteChatGroupRequest) String ¶
func (x *DeleteChatGroupRequest) String() string
func (*DeleteChatGroupRequest) Validate ¶
func (m *DeleteChatGroupRequest) Validate() error
Validate checks the field values on DeleteChatGroupRequest 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 (*DeleteChatGroupRequest) ValidateAll ¶
func (m *DeleteChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on DeleteChatGroupRequest 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 DeleteChatGroupRequestMultiError, or nil if none found.
type DeleteChatGroupRequestMultiError ¶
type DeleteChatGroupRequestMultiError []error
DeleteChatGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteChatGroupRequestMultiError) AllErrors ¶
func (m DeleteChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChatGroupRequestMultiError) Error ¶
func (m DeleteChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChatGroupRequestValidationError ¶
type DeleteChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteChatGroupRequestValidationError is the validation error returned by DeleteChatGroupRequest.Validate if the designated constraints aren't met.
func (DeleteChatGroupRequestValidationError) Cause ¶
func (e DeleteChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteChatGroupRequestValidationError) Error ¶
func (e DeleteChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChatGroupRequestValidationError) ErrorName ¶
func (e DeleteChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChatGroupRequestValidationError) Field ¶
func (e DeleteChatGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteChatGroupRequestValidationError) Key ¶
func (e DeleteChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteChatGroupRequestValidationError) Reason ¶
func (e DeleteChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteNotifyReply ¶
type DeleteNotifyReply struct { // 通知对象ID, 删除成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除通知对象响应参数
func (*DeleteNotifyReply) Descriptor
deprecated
func (*DeleteNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotifyReply.ProtoReflect.Descriptor instead.
func (*DeleteNotifyReply) GetId ¶
func (x *DeleteNotifyReply) GetId() uint32
func (*DeleteNotifyReply) ProtoMessage ¶
func (*DeleteNotifyReply) ProtoMessage()
func (*DeleteNotifyReply) ProtoReflect ¶
func (x *DeleteNotifyReply) ProtoReflect() protoreflect.Message
func (*DeleteNotifyReply) Reset ¶
func (x *DeleteNotifyReply) Reset()
func (*DeleteNotifyReply) String ¶
func (x *DeleteNotifyReply) String() string
func (*DeleteNotifyReply) Validate ¶
func (m *DeleteNotifyReply) Validate() error
Validate checks the field values on DeleteNotifyReply 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 (*DeleteNotifyReply) ValidateAll ¶
func (m *DeleteNotifyReply) ValidateAll() error
ValidateAll checks the field values on DeleteNotifyReply 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 DeleteNotifyReplyMultiError, or nil if none found.
type DeleteNotifyReplyMultiError ¶
type DeleteNotifyReplyMultiError []error
DeleteNotifyReplyMultiError is an error wrapping multiple validation errors returned by DeleteNotifyReply.ValidateAll() if the designated constraints aren't met.
func (DeleteNotifyReplyMultiError) AllErrors ¶
func (m DeleteNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNotifyReplyMultiError) Error ¶
func (m DeleteNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNotifyReplyValidationError ¶
type DeleteNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteNotifyReplyValidationError is the validation error returned by DeleteNotifyReply.Validate if the designated constraints aren't met.
func (DeleteNotifyReplyValidationError) Cause ¶
func (e DeleteNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteNotifyReplyValidationError) Error ¶
func (e DeleteNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNotifyReplyValidationError) ErrorName ¶
func (e DeleteNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNotifyReplyValidationError) Field ¶
func (e DeleteNotifyReplyValidationError) Field() string
Field function returns field value.
func (DeleteNotifyReplyValidationError) Key ¶
func (e DeleteNotifyReplyValidationError) Key() bool
Key function returns key value.
func (DeleteNotifyReplyValidationError) Reason ¶
func (e DeleteNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteNotifyRequest ¶
type DeleteNotifyRequest struct { // 通知对象ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除通知对象请求参数
func (*DeleteNotifyRequest) Descriptor
deprecated
func (*DeleteNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotifyRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotifyRequest) GetId ¶
func (x *DeleteNotifyRequest) GetId() uint32
func (*DeleteNotifyRequest) ProtoMessage ¶
func (*DeleteNotifyRequest) ProtoMessage()
func (*DeleteNotifyRequest) ProtoReflect ¶
func (x *DeleteNotifyRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotifyRequest) Reset ¶
func (x *DeleteNotifyRequest) Reset()
func (*DeleteNotifyRequest) String ¶
func (x *DeleteNotifyRequest) String() string
func (*DeleteNotifyRequest) Validate ¶
func (m *DeleteNotifyRequest) Validate() error
Validate checks the field values on DeleteNotifyRequest 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 (*DeleteNotifyRequest) ValidateAll ¶
func (m *DeleteNotifyRequest) ValidateAll() error
ValidateAll checks the field values on DeleteNotifyRequest 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 DeleteNotifyRequestMultiError, or nil if none found.
type DeleteNotifyRequestMultiError ¶
type DeleteNotifyRequestMultiError []error
DeleteNotifyRequestMultiError is an error wrapping multiple validation errors returned by DeleteNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteNotifyRequestMultiError) AllErrors ¶
func (m DeleteNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNotifyRequestMultiError) Error ¶
func (m DeleteNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNotifyRequestValidationError ¶
type DeleteNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteNotifyRequestValidationError is the validation error returned by DeleteNotifyRequest.Validate if the designated constraints aren't met.
func (DeleteNotifyRequestValidationError) Cause ¶
func (e DeleteNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteNotifyRequestValidationError) Error ¶
func (e DeleteNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNotifyRequestValidationError) ErrorName ¶
func (e DeleteNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNotifyRequestValidationError) Field ¶
func (e DeleteNotifyRequestValidationError) Field() string
Field function returns field value.
func (DeleteNotifyRequestValidationError) Key ¶
func (e DeleteNotifyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteNotifyRequestValidationError) Reason ¶
func (e DeleteNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateReply ¶
type DeleteTemplateReply struct {
// contains filtered or unexported fields
}
func (*DeleteTemplateReply) Descriptor
deprecated
func (*DeleteTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateReply.ProtoReflect.Descriptor instead.
func (*DeleteTemplateReply) ProtoMessage ¶
func (*DeleteTemplateReply) ProtoMessage()
func (*DeleteTemplateReply) ProtoReflect ¶
func (x *DeleteTemplateReply) ProtoReflect() protoreflect.Message
func (*DeleteTemplateReply) Reset ¶
func (x *DeleteTemplateReply) Reset()
func (*DeleteTemplateReply) String ¶
func (x *DeleteTemplateReply) String() string
func (*DeleteTemplateReply) Validate ¶
func (m *DeleteTemplateReply) Validate() error
Validate checks the field values on DeleteTemplateReply 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 (*DeleteTemplateReply) ValidateAll ¶
func (m *DeleteTemplateReply) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateReply 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 DeleteTemplateReplyMultiError, or nil if none found.
type DeleteTemplateReplyMultiError ¶
type DeleteTemplateReplyMultiError []error
DeleteTemplateReplyMultiError is an error wrapping multiple validation errors returned by DeleteTemplateReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateReplyMultiError) AllErrors ¶
func (m DeleteTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateReplyMultiError) Error ¶
func (m DeleteTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateReplyValidationError ¶
type DeleteTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateReplyValidationError is the validation error returned by DeleteTemplateReply.Validate if the designated constraints aren't met.
func (DeleteTemplateReplyValidationError) Cause ¶
func (e DeleteTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateReplyValidationError) Error ¶
func (e DeleteTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateReplyValidationError) ErrorName ¶
func (e DeleteTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateReplyValidationError) Field ¶
func (e DeleteTemplateReplyValidationError) Field() string
Field function returns field value.
func (DeleteTemplateReplyValidationError) Key ¶
func (e DeleteTemplateReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateReplyValidationError) Reason ¶
func (e DeleteTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateRequest ¶
type DeleteTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除模板请求参数
func (*DeleteTemplateRequest) Descriptor
deprecated
func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateRequest) GetId ¶
func (x *DeleteTemplateRequest) GetId() uint32
func (*DeleteTemplateRequest) ProtoMessage ¶
func (*DeleteTemplateRequest) ProtoMessage()
func (*DeleteTemplateRequest) ProtoReflect ¶
func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteTemplateRequest) Reset ¶
func (x *DeleteTemplateRequest) Reset()
func (*DeleteTemplateRequest) String ¶
func (x *DeleteTemplateRequest) String() string
func (*DeleteTemplateRequest) Validate ¶
func (m *DeleteTemplateRequest) Validate() error
Validate checks the field values on DeleteTemplateRequest 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 (*DeleteTemplateRequest) ValidateAll ¶
func (m *DeleteTemplateRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateRequest 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 DeleteTemplateRequestMultiError, or nil if none found.
type DeleteTemplateRequestMultiError ¶
type DeleteTemplateRequestMultiError []error
DeleteTemplateRequestMultiError is an error wrapping multiple validation errors returned by DeleteTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateRequestMultiError) AllErrors ¶
func (m DeleteTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateRequestMultiError) Error ¶
func (m DeleteTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateRequestValidationError ¶
type DeleteTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateRequestValidationError is the validation error returned by DeleteTemplateRequest.Validate if the designated constraints aren't met.
func (DeleteTemplateRequestValidationError) Cause ¶
func (e DeleteTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateRequestValidationError) Error ¶
func (e DeleteTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateRequestValidationError) ErrorName ¶
func (e DeleteTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateRequestValidationError) Field ¶
func (e DeleteTemplateRequestValidationError) Field() string
Field function returns field value.
func (DeleteTemplateRequestValidationError) Key ¶
func (e DeleteTemplateRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateRequestValidationError) Reason ¶
func (e DeleteTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type GetChatGroupReply ¶
type GetChatGroupReply struct { // 群组详情 Detail *api.ChatGroup `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取通知群组响应参数
func (*GetChatGroupReply) Descriptor
deprecated
func (*GetChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use GetChatGroupReply.ProtoReflect.Descriptor instead.
func (*GetChatGroupReply) GetDetail ¶
func (x *GetChatGroupReply) GetDetail() *api.ChatGroup
func (*GetChatGroupReply) ProtoMessage ¶
func (*GetChatGroupReply) ProtoMessage()
func (*GetChatGroupReply) ProtoReflect ¶
func (x *GetChatGroupReply) ProtoReflect() protoreflect.Message
func (*GetChatGroupReply) Reset ¶
func (x *GetChatGroupReply) Reset()
func (*GetChatGroupReply) String ¶
func (x *GetChatGroupReply) String() string
func (*GetChatGroupReply) Validate ¶
func (m *GetChatGroupReply) Validate() error
Validate checks the field values on GetChatGroupReply 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 (*GetChatGroupReply) ValidateAll ¶
func (m *GetChatGroupReply) ValidateAll() error
ValidateAll checks the field values on GetChatGroupReply 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 GetChatGroupReplyMultiError, or nil if none found.
type GetChatGroupReplyMultiError ¶
type GetChatGroupReplyMultiError []error
GetChatGroupReplyMultiError is an error wrapping multiple validation errors returned by GetChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (GetChatGroupReplyMultiError) AllErrors ¶
func (m GetChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChatGroupReplyMultiError) Error ¶
func (m GetChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChatGroupReplyValidationError ¶
type GetChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
GetChatGroupReplyValidationError is the validation error returned by GetChatGroupReply.Validate if the designated constraints aren't met.
func (GetChatGroupReplyValidationError) Cause ¶
func (e GetChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (GetChatGroupReplyValidationError) Error ¶
func (e GetChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetChatGroupReplyValidationError) ErrorName ¶
func (e GetChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetChatGroupReplyValidationError) Field ¶
func (e GetChatGroupReplyValidationError) Field() string
Field function returns field value.
func (GetChatGroupReplyValidationError) Key ¶
func (e GetChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (GetChatGroupReplyValidationError) Reason ¶
func (e GetChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type GetChatGroupRequest ¶
type GetChatGroupRequest struct { // 需要获取的群组ID(大于0), 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取通知群组请求参数
func (*GetChatGroupRequest) Descriptor
deprecated
func (*GetChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChatGroupRequest.ProtoReflect.Descriptor instead.
func (*GetChatGroupRequest) GetId ¶
func (x *GetChatGroupRequest) GetId() uint32
func (*GetChatGroupRequest) ProtoMessage ¶
func (*GetChatGroupRequest) ProtoMessage()
func (*GetChatGroupRequest) ProtoReflect ¶
func (x *GetChatGroupRequest) ProtoReflect() protoreflect.Message
func (*GetChatGroupRequest) Reset ¶
func (x *GetChatGroupRequest) Reset()
func (*GetChatGroupRequest) String ¶
func (x *GetChatGroupRequest) String() string
func (*GetChatGroupRequest) Validate ¶
func (m *GetChatGroupRequest) Validate() error
Validate checks the field values on GetChatGroupRequest 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 (*GetChatGroupRequest) ValidateAll ¶
func (m *GetChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetChatGroupRequest 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 GetChatGroupRequestMultiError, or nil if none found.
type GetChatGroupRequestMultiError ¶
type GetChatGroupRequestMultiError []error
GetChatGroupRequestMultiError is an error wrapping multiple validation errors returned by GetChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetChatGroupRequestMultiError) AllErrors ¶
func (m GetChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetChatGroupRequestMultiError) Error ¶
func (m GetChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetChatGroupRequestValidationError ¶
type GetChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetChatGroupRequestValidationError is the validation error returned by GetChatGroupRequest.Validate if the designated constraints aren't met.
func (GetChatGroupRequestValidationError) Cause ¶
func (e GetChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetChatGroupRequestValidationError) Error ¶
func (e GetChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetChatGroupRequestValidationError) ErrorName ¶
func (e GetChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetChatGroupRequestValidationError) Field ¶
func (e GetChatGroupRequestValidationError) Field() string
Field function returns field value.
func (GetChatGroupRequestValidationError) Key ¶
func (e GetChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetChatGroupRequestValidationError) Reason ¶
func (e GetChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetNotifyReply ¶
type GetNotifyReply struct { // 通知对象详情 Detail *api.NotifyV1 `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取通知对象详情响应参数
func (*GetNotifyReply) Descriptor
deprecated
func (*GetNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyReply.ProtoReflect.Descriptor instead.
func (*GetNotifyReply) GetDetail ¶
func (x *GetNotifyReply) GetDetail() *api.NotifyV1
func (*GetNotifyReply) ProtoMessage ¶
func (*GetNotifyReply) ProtoMessage()
func (*GetNotifyReply) ProtoReflect ¶
func (x *GetNotifyReply) ProtoReflect() protoreflect.Message
func (*GetNotifyReply) Reset ¶
func (x *GetNotifyReply) Reset()
func (*GetNotifyReply) String ¶
func (x *GetNotifyReply) String() string
func (*GetNotifyReply) Validate ¶
func (m *GetNotifyReply) Validate() error
Validate checks the field values on GetNotifyReply 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 (*GetNotifyReply) ValidateAll ¶
func (m *GetNotifyReply) ValidateAll() error
ValidateAll checks the field values on GetNotifyReply 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 GetNotifyReplyMultiError, or nil if none found.
type GetNotifyReplyMultiError ¶
type GetNotifyReplyMultiError []error
GetNotifyReplyMultiError is an error wrapping multiple validation errors returned by GetNotifyReply.ValidateAll() if the designated constraints aren't met.
func (GetNotifyReplyMultiError) AllErrors ¶
func (m GetNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNotifyReplyMultiError) Error ¶
func (m GetNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNotifyReplyValidationError ¶
type GetNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
GetNotifyReplyValidationError is the validation error returned by GetNotifyReply.Validate if the designated constraints aren't met.
func (GetNotifyReplyValidationError) Cause ¶
func (e GetNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNotifyReplyValidationError) Error ¶
func (e GetNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNotifyReplyValidationError) ErrorName ¶
func (e GetNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNotifyReplyValidationError) Field ¶
func (e GetNotifyReplyValidationError) Field() string
Field function returns field value.
func (GetNotifyReplyValidationError) Key ¶
func (e GetNotifyReplyValidationError) Key() bool
Key function returns key value.
func (GetNotifyReplyValidationError) Reason ¶
func (e GetNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type GetNotifyRequest ¶
type GetNotifyRequest struct { // 通知对象ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取通知对象详情请求参数
func (*GetNotifyRequest) Descriptor
deprecated
func (*GetNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyRequest.ProtoReflect.Descriptor instead.
func (*GetNotifyRequest) GetId ¶
func (x *GetNotifyRequest) GetId() uint32
func (*GetNotifyRequest) ProtoMessage ¶
func (*GetNotifyRequest) ProtoMessage()
func (*GetNotifyRequest) ProtoReflect ¶
func (x *GetNotifyRequest) ProtoReflect() protoreflect.Message
func (*GetNotifyRequest) Reset ¶
func (x *GetNotifyRequest) Reset()
func (*GetNotifyRequest) String ¶
func (x *GetNotifyRequest) String() string
func (*GetNotifyRequest) Validate ¶
func (m *GetNotifyRequest) Validate() error
Validate checks the field values on GetNotifyRequest 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 (*GetNotifyRequest) ValidateAll ¶
func (m *GetNotifyRequest) ValidateAll() error
ValidateAll checks the field values on GetNotifyRequest 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 GetNotifyRequestMultiError, or nil if none found.
type GetNotifyRequestMultiError ¶
type GetNotifyRequestMultiError []error
GetNotifyRequestMultiError is an error wrapping multiple validation errors returned by GetNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (GetNotifyRequestMultiError) AllErrors ¶
func (m GetNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNotifyRequestMultiError) Error ¶
func (m GetNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNotifyRequestValidationError ¶
type GetNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
GetNotifyRequestValidationError is the validation error returned by GetNotifyRequest.Validate if the designated constraints aren't met.
func (GetNotifyRequestValidationError) Cause ¶
func (e GetNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNotifyRequestValidationError) Error ¶
func (e GetNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNotifyRequestValidationError) ErrorName ¶
func (e GetNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNotifyRequestValidationError) Field ¶
func (e GetNotifyRequestValidationError) Field() string
Field function returns field value.
func (GetNotifyRequestValidationError) Key ¶
func (e GetNotifyRequestValidationError) Key() bool
Key function returns key value.
func (GetNotifyRequestValidationError) Reason ¶
func (e GetNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type GetTemplateReply ¶
type GetTemplateReply struct { Detail *api.NotifyTemplateItem `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateReply) Descriptor
deprecated
func (*GetTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateReply.ProtoReflect.Descriptor instead.
func (*GetTemplateReply) GetDetail ¶
func (x *GetTemplateReply) GetDetail() *api.NotifyTemplateItem
func (*GetTemplateReply) ProtoMessage ¶
func (*GetTemplateReply) ProtoMessage()
func (*GetTemplateReply) ProtoReflect ¶
func (x *GetTemplateReply) ProtoReflect() protoreflect.Message
func (*GetTemplateReply) Reset ¶
func (x *GetTemplateReply) Reset()
func (*GetTemplateReply) String ¶
func (x *GetTemplateReply) String() string
func (*GetTemplateReply) Validate ¶
func (m *GetTemplateReply) Validate() error
Validate checks the field values on GetTemplateReply 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 (*GetTemplateReply) ValidateAll ¶
func (m *GetTemplateReply) ValidateAll() error
ValidateAll checks the field values on GetTemplateReply 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 GetTemplateReplyMultiError, or nil if none found.
type GetTemplateReplyMultiError ¶
type GetTemplateReplyMultiError []error
GetTemplateReplyMultiError is an error wrapping multiple validation errors returned by GetTemplateReply.ValidateAll() if the designated constraints aren't met.
func (GetTemplateReplyMultiError) AllErrors ¶
func (m GetTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateReplyMultiError) Error ¶
func (m GetTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateReplyValidationError ¶
type GetTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
GetTemplateReplyValidationError is the validation error returned by GetTemplateReply.Validate if the designated constraints aren't met.
func (GetTemplateReplyValidationError) Cause ¶
func (e GetTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateReplyValidationError) Error ¶
func (e GetTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateReplyValidationError) ErrorName ¶
func (e GetTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateReplyValidationError) Field ¶
func (e GetTemplateReplyValidationError) Field() string
Field function returns field value.
func (GetTemplateReplyValidationError) Key ¶
func (e GetTemplateReplyValidationError) Key() bool
Key function returns key value.
func (GetTemplateReplyValidationError) Reason ¶
func (e GetTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type GetTemplateRequest ¶
type GetTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取模板请求参数
func (*GetTemplateRequest) Descriptor
deprecated
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetId ¶
func (x *GetTemplateRequest) GetId() uint32
func (*GetTemplateRequest) ProtoMessage ¶
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) String ¶
func (x *GetTemplateRequest) String() string
func (*GetTemplateRequest) Validate ¶
func (m *GetTemplateRequest) Validate() error
Validate checks the field values on GetTemplateRequest 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 (*GetTemplateRequest) ValidateAll ¶
func (m *GetTemplateRequest) ValidateAll() error
ValidateAll checks the field values on GetTemplateRequest 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 GetTemplateRequestMultiError, or nil if none found.
type GetTemplateRequestMultiError ¶
type GetTemplateRequestMultiError []error
GetTemplateRequestMultiError is an error wrapping multiple validation errors returned by GetTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (GetTemplateRequestMultiError) AllErrors ¶
func (m GetTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateRequestMultiError) Error ¶
func (m GetTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateRequestValidationError ¶
type GetTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
GetTemplateRequestValidationError is the validation error returned by GetTemplateRequest.Validate if the designated constraints aren't met.
func (GetTemplateRequestValidationError) Cause ¶
func (e GetTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateRequestValidationError) Error ¶
func (e GetTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateRequestValidationError) ErrorName ¶
func (e GetTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateRequestValidationError) Field ¶
func (e GetTemplateRequestValidationError) Field() string
Field function returns field value.
func (GetTemplateRequestValidationError) Key ¶
func (e GetTemplateRequestValidationError) Key() bool
Key function returns key value.
func (GetTemplateRequestValidationError) Reason ¶
func (e GetTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type ListChatGroupReply ¶
type ListChatGroupReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 群组列表 List []*api.ChatGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取通知群组列表响应参数
func (*ListChatGroupReply) Descriptor
deprecated
func (*ListChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ListChatGroupReply.ProtoReflect.Descriptor instead.
func (*ListChatGroupReply) GetList ¶
func (x *ListChatGroupReply) GetList() []*api.ChatGroup
func (*ListChatGroupReply) GetPage ¶
func (x *ListChatGroupReply) GetPage() *api.PageReply
func (*ListChatGroupReply) ProtoMessage ¶
func (*ListChatGroupReply) ProtoMessage()
func (*ListChatGroupReply) ProtoReflect ¶
func (x *ListChatGroupReply) ProtoReflect() protoreflect.Message
func (*ListChatGroupReply) Reset ¶
func (x *ListChatGroupReply) Reset()
func (*ListChatGroupReply) String ¶
func (x *ListChatGroupReply) String() string
func (*ListChatGroupReply) Validate ¶
func (m *ListChatGroupReply) Validate() error
Validate checks the field values on ListChatGroupReply 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 (*ListChatGroupReply) ValidateAll ¶
func (m *ListChatGroupReply) ValidateAll() error
ValidateAll checks the field values on ListChatGroupReply 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 ListChatGroupReplyMultiError, or nil if none found.
type ListChatGroupReplyMultiError ¶
type ListChatGroupReplyMultiError []error
ListChatGroupReplyMultiError is an error wrapping multiple validation errors returned by ListChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (ListChatGroupReplyMultiError) AllErrors ¶
func (m ListChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChatGroupReplyMultiError) Error ¶
func (m ListChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChatGroupReplyValidationError ¶
type ListChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ListChatGroupReplyValidationError is the validation error returned by ListChatGroupReply.Validate if the designated constraints aren't met.
func (ListChatGroupReplyValidationError) Cause ¶
func (e ListChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ListChatGroupReplyValidationError) Error ¶
func (e ListChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListChatGroupReplyValidationError) ErrorName ¶
func (e ListChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListChatGroupReplyValidationError) Field ¶
func (e ListChatGroupReplyValidationError) Field() string
Field function returns field value.
func (ListChatGroupReplyValidationError) Key ¶
func (e ListChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (ListChatGroupReplyValidationError) Reason ¶
func (e ListChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ListChatGroupRequest ¶
type ListChatGroupRequest struct { // 分页参数, 必须传递 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 用于模糊查询, 非必填, 最大为20字符 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 群组状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // 所属平台 App api.NotifyApp `protobuf:"varint,4,opt,name=app,proto3,enum=api.NotifyApp" json:"app,omitempty"` // contains filtered or unexported fields }
获取通知群组列表请求参数
func (*ListChatGroupRequest) Descriptor
deprecated
func (*ListChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChatGroupRequest.ProtoReflect.Descriptor instead.
func (*ListChatGroupRequest) GetApp ¶
func (x *ListChatGroupRequest) GetApp() api.NotifyApp
func (*ListChatGroupRequest) GetKeyword ¶
func (x *ListChatGroupRequest) GetKeyword() string
func (*ListChatGroupRequest) GetPage ¶
func (x *ListChatGroupRequest) GetPage() *api.PageRequest
func (*ListChatGroupRequest) GetStatus ¶
func (x *ListChatGroupRequest) GetStatus() api.Status
func (*ListChatGroupRequest) ProtoMessage ¶
func (*ListChatGroupRequest) ProtoMessage()
func (*ListChatGroupRequest) ProtoReflect ¶
func (x *ListChatGroupRequest) ProtoReflect() protoreflect.Message
func (*ListChatGroupRequest) Reset ¶
func (x *ListChatGroupRequest) Reset()
func (*ListChatGroupRequest) String ¶
func (x *ListChatGroupRequest) String() string
func (*ListChatGroupRequest) Validate ¶
func (m *ListChatGroupRequest) Validate() error
Validate checks the field values on ListChatGroupRequest 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 (*ListChatGroupRequest) ValidateAll ¶
func (m *ListChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on ListChatGroupRequest 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 ListChatGroupRequestMultiError, or nil if none found.
type ListChatGroupRequestMultiError ¶
type ListChatGroupRequestMultiError []error
ListChatGroupRequestMultiError is an error wrapping multiple validation errors returned by ListChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ListChatGroupRequestMultiError) AllErrors ¶
func (m ListChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChatGroupRequestMultiError) Error ¶
func (m ListChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChatGroupRequestValidationError ¶
type ListChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ListChatGroupRequestValidationError is the validation error returned by ListChatGroupRequest.Validate if the designated constraints aren't met.
func (ListChatGroupRequestValidationError) Cause ¶
func (e ListChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ListChatGroupRequestValidationError) Error ¶
func (e ListChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChatGroupRequestValidationError) ErrorName ¶
func (e ListChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChatGroupRequestValidationError) Field ¶
func (e ListChatGroupRequestValidationError) Field() string
Field function returns field value.
func (ListChatGroupRequestValidationError) Key ¶
func (e ListChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (ListChatGroupRequestValidationError) Reason ¶
func (e ListChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type ListNotifyReply ¶
type ListNotifyReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 通知对象列表 List []*api.NotifyV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取通知对象列表响应参数
func (*ListNotifyReply) Descriptor
deprecated
func (*ListNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNotifyReply.ProtoReflect.Descriptor instead.
func (*ListNotifyReply) GetList ¶
func (x *ListNotifyReply) GetList() []*api.NotifyV1
func (*ListNotifyReply) GetPage ¶
func (x *ListNotifyReply) GetPage() *api.PageReply
func (*ListNotifyReply) ProtoMessage ¶
func (*ListNotifyReply) ProtoMessage()
func (*ListNotifyReply) ProtoReflect ¶
func (x *ListNotifyReply) ProtoReflect() protoreflect.Message
func (*ListNotifyReply) Reset ¶
func (x *ListNotifyReply) Reset()
func (*ListNotifyReply) String ¶
func (x *ListNotifyReply) String() string
func (*ListNotifyReply) Validate ¶
func (m *ListNotifyReply) Validate() error
Validate checks the field values on ListNotifyReply 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 (*ListNotifyReply) ValidateAll ¶
func (m *ListNotifyReply) ValidateAll() error
ValidateAll checks the field values on ListNotifyReply 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 ListNotifyReplyMultiError, or nil if none found.
type ListNotifyReplyMultiError ¶
type ListNotifyReplyMultiError []error
ListNotifyReplyMultiError is an error wrapping multiple validation errors returned by ListNotifyReply.ValidateAll() if the designated constraints aren't met.
func (ListNotifyReplyMultiError) AllErrors ¶
func (m ListNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListNotifyReplyMultiError) Error ¶
func (m ListNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListNotifyReplyValidationError ¶
type ListNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
ListNotifyReplyValidationError is the validation error returned by ListNotifyReply.Validate if the designated constraints aren't met.
func (ListNotifyReplyValidationError) Cause ¶
func (e ListNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (ListNotifyReplyValidationError) Error ¶
func (e ListNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListNotifyReplyValidationError) ErrorName ¶
func (e ListNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListNotifyReplyValidationError) Field ¶
func (e ListNotifyReplyValidationError) Field() string
Field function returns field value.
func (ListNotifyReplyValidationError) Key ¶
func (e ListNotifyReplyValidationError) Key() bool
Key function returns key value.
func (ListNotifyReplyValidationError) Reason ¶
func (e ListNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type ListNotifyRequest ¶
type ListNotifyRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 字符串长度0-20, 可选, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态, 枚举值, 可选, 用于过滤 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取通知对象列表请求参数
func (*ListNotifyRequest) Descriptor
deprecated
func (*ListNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNotifyRequest.ProtoReflect.Descriptor instead.
func (*ListNotifyRequest) GetKeyword ¶
func (x *ListNotifyRequest) GetKeyword() string
func (*ListNotifyRequest) GetPage ¶
func (x *ListNotifyRequest) GetPage() *api.PageRequest
func (*ListNotifyRequest) GetStatus ¶
func (x *ListNotifyRequest) GetStatus() api.Status
func (*ListNotifyRequest) ProtoMessage ¶
func (*ListNotifyRequest) ProtoMessage()
func (*ListNotifyRequest) ProtoReflect ¶
func (x *ListNotifyRequest) ProtoReflect() protoreflect.Message
func (*ListNotifyRequest) Reset ¶
func (x *ListNotifyRequest) Reset()
func (*ListNotifyRequest) String ¶
func (x *ListNotifyRequest) String() string
func (*ListNotifyRequest) Validate ¶
func (m *ListNotifyRequest) Validate() error
Validate checks the field values on ListNotifyRequest 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 (*ListNotifyRequest) ValidateAll ¶
func (m *ListNotifyRequest) ValidateAll() error
ValidateAll checks the field values on ListNotifyRequest 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 ListNotifyRequestMultiError, or nil if none found.
type ListNotifyRequestMultiError ¶
type ListNotifyRequestMultiError []error
ListNotifyRequestMultiError is an error wrapping multiple validation errors returned by ListNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (ListNotifyRequestMultiError) AllErrors ¶
func (m ListNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListNotifyRequestMultiError) Error ¶
func (m ListNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListNotifyRequestValidationError ¶
type ListNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
ListNotifyRequestValidationError is the validation error returned by ListNotifyRequest.Validate if the designated constraints aren't met.
func (ListNotifyRequestValidationError) Cause ¶
func (e ListNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (ListNotifyRequestValidationError) Error ¶
func (e ListNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListNotifyRequestValidationError) ErrorName ¶
func (e ListNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListNotifyRequestValidationError) Field ¶
func (e ListNotifyRequestValidationError) Field() string
Field function returns field value.
func (ListNotifyRequestValidationError) Key ¶
func (e ListNotifyRequestValidationError) Key() bool
Key function returns key value.
func (ListNotifyRequestValidationError) Reason ¶
func (e ListNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type ListTemplateReply ¶
type ListTemplateReply struct { Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*api.NotifyTemplateItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateReply) Descriptor
deprecated
func (*ListTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateReply.ProtoReflect.Descriptor instead.
func (*ListTemplateReply) GetList ¶
func (x *ListTemplateReply) GetList() []*api.NotifyTemplateItem
func (*ListTemplateReply) GetPage ¶
func (x *ListTemplateReply) GetPage() *api.PageReply
func (*ListTemplateReply) ProtoMessage ¶
func (*ListTemplateReply) ProtoMessage()
func (*ListTemplateReply) ProtoReflect ¶
func (x *ListTemplateReply) ProtoReflect() protoreflect.Message
func (*ListTemplateReply) Reset ¶
func (x *ListTemplateReply) Reset()
func (*ListTemplateReply) String ¶
func (x *ListTemplateReply) String() string
func (*ListTemplateReply) Validate ¶
func (m *ListTemplateReply) Validate() error
Validate checks the field values on ListTemplateReply 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 (*ListTemplateReply) ValidateAll ¶
func (m *ListTemplateReply) ValidateAll() error
ValidateAll checks the field values on ListTemplateReply 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 ListTemplateReplyMultiError, or nil if none found.
type ListTemplateReplyMultiError ¶
type ListTemplateReplyMultiError []error
ListTemplateReplyMultiError is an error wrapping multiple validation errors returned by ListTemplateReply.ValidateAll() if the designated constraints aren't met.
func (ListTemplateReplyMultiError) AllErrors ¶
func (m ListTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplateReplyMultiError) Error ¶
func (m ListTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplateReplyValidationError ¶
type ListTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
ListTemplateReplyValidationError is the validation error returned by ListTemplateReply.Validate if the designated constraints aren't met.
func (ListTemplateReplyValidationError) Cause ¶
func (e ListTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTemplateReplyValidationError) Error ¶
func (e ListTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplateReplyValidationError) ErrorName ¶
func (e ListTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplateReplyValidationError) Field ¶
func (e ListTemplateReplyValidationError) Field() string
Field function returns field value.
func (ListTemplateReplyValidationError) Key ¶
func (e ListTemplateReplyValidationError) Key() bool
Key function returns key value.
func (ListTemplateReplyValidationError) Reason ¶
func (e ListTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type ListTemplateRequest ¶
type ListTemplateRequest struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` StrategyId uint32 `protobuf:"varint,2,opt,name=strategyId,proto3" json:"strategyId,omitempty"` // contains filtered or unexported fields }
获取模板列表请求参数
func (*ListTemplateRequest) Descriptor
deprecated
func (*ListTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateRequest.ProtoReflect.Descriptor instead.
func (*ListTemplateRequest) GetPage ¶
func (x *ListTemplateRequest) GetPage() *api.PageRequest
func (*ListTemplateRequest) GetStrategyId ¶
func (x *ListTemplateRequest) GetStrategyId() uint32
func (*ListTemplateRequest) ProtoMessage ¶
func (*ListTemplateRequest) ProtoMessage()
func (*ListTemplateRequest) ProtoReflect ¶
func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
func (*ListTemplateRequest) Reset ¶
func (x *ListTemplateRequest) Reset()
func (*ListTemplateRequest) String ¶
func (x *ListTemplateRequest) String() string
func (*ListTemplateRequest) Validate ¶
func (m *ListTemplateRequest) Validate() error
Validate checks the field values on ListTemplateRequest 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 (*ListTemplateRequest) ValidateAll ¶
func (m *ListTemplateRequest) ValidateAll() error
ValidateAll checks the field values on ListTemplateRequest 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 ListTemplateRequestMultiError, or nil if none found.
type ListTemplateRequestMultiError ¶
type ListTemplateRequestMultiError []error
ListTemplateRequestMultiError is an error wrapping multiple validation errors returned by ListTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (ListTemplateRequestMultiError) AllErrors ¶
func (m ListTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplateRequestMultiError) Error ¶
func (m ListTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplateRequestValidationError ¶
type ListTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
ListTemplateRequestValidationError is the validation error returned by ListTemplateRequest.Validate if the designated constraints aren't met.
func (ListTemplateRequestValidationError) Cause ¶
func (e ListTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTemplateRequestValidationError) Error ¶
func (e ListTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplateRequestValidationError) ErrorName ¶
func (e ListTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplateRequestValidationError) Field ¶
func (e ListTemplateRequestValidationError) Field() string
Field function returns field value.
func (ListTemplateRequestValidationError) Key ¶
func (e ListTemplateRequestValidationError) Key() bool
Key function returns key value.
func (ListTemplateRequestValidationError) Reason ¶
func (e ListTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type NotifyClient ¶
type NotifyClient interface { // 创建通知对象 CreateNotify(ctx context.Context, in *CreateNotifyRequest, opts ...grpc.CallOption) (*CreateNotifyReply, error) // 更新通知对象 UpdateNotify(ctx context.Context, in *UpdateNotifyRequest, opts ...grpc.CallOption) (*UpdateNotifyReply, error) // 删除通知对象 DeleteNotify(ctx context.Context, in *DeleteNotifyRequest, opts ...grpc.CallOption) (*DeleteNotifyReply, error) // 获取通知对象详情 GetNotify(ctx context.Context, in *GetNotifyRequest, opts ...grpc.CallOption) (*GetNotifyReply, error) // 获取通知对象列表 ListNotify(ctx context.Context, in *ListNotifyRequest, opts ...grpc.CallOption) (*ListNotifyReply, error) // 获取通知对象列表(用于下拉选择) SelectNotify(ctx context.Context, in *SelectNotifyRequest, opts ...grpc.CallOption) (*SelectNotifyReply, error) }
NotifyClient is the client API for Notify 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 NewNotifyClient ¶
func NewNotifyClient(cc grpc.ClientConnInterface) NotifyClient
type NotifyHTTPClient ¶
type NotifyHTTPClient interface { CreateNotify(ctx context.Context, req *CreateNotifyRequest, opts ...http.CallOption) (rsp *CreateNotifyReply, err error) DeleteNotify(ctx context.Context, req *DeleteNotifyRequest, opts ...http.CallOption) (rsp *DeleteNotifyReply, err error) GetNotify(ctx context.Context, req *GetNotifyRequest, opts ...http.CallOption) (rsp *GetNotifyReply, err error) ListNotify(ctx context.Context, req *ListNotifyRequest, opts ...http.CallOption) (rsp *ListNotifyReply, err error) SelectNotify(ctx context.Context, req *SelectNotifyRequest, opts ...http.CallOption) (rsp *SelectNotifyReply, err error) UpdateNotify(ctx context.Context, req *UpdateNotifyRequest, opts ...http.CallOption) (rsp *UpdateNotifyReply, err error) }
func NewNotifyHTTPClient ¶
func NewNotifyHTTPClient(client *http.Client) NotifyHTTPClient
type NotifyHTTPClientImpl ¶
type NotifyHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*NotifyHTTPClientImpl) CreateNotify ¶
func (c *NotifyHTTPClientImpl) CreateNotify(ctx context.Context, in *CreateNotifyRequest, opts ...http.CallOption) (*CreateNotifyReply, error)
func (*NotifyHTTPClientImpl) DeleteNotify ¶
func (c *NotifyHTTPClientImpl) DeleteNotify(ctx context.Context, in *DeleteNotifyRequest, opts ...http.CallOption) (*DeleteNotifyReply, error)
func (*NotifyHTTPClientImpl) GetNotify ¶
func (c *NotifyHTTPClientImpl) GetNotify(ctx context.Context, in *GetNotifyRequest, opts ...http.CallOption) (*GetNotifyReply, error)
func (*NotifyHTTPClientImpl) ListNotify ¶
func (c *NotifyHTTPClientImpl) ListNotify(ctx context.Context, in *ListNotifyRequest, opts ...http.CallOption) (*ListNotifyReply, error)
func (*NotifyHTTPClientImpl) SelectNotify ¶
func (c *NotifyHTTPClientImpl) SelectNotify(ctx context.Context, in *SelectNotifyRequest, opts ...http.CallOption) (*SelectNotifyReply, error)
func (*NotifyHTTPClientImpl) UpdateNotify ¶
func (c *NotifyHTTPClientImpl) UpdateNotify(ctx context.Context, in *UpdateNotifyRequest, opts ...http.CallOption) (*UpdateNotifyReply, error)
type NotifyHTTPServer ¶
type NotifyHTTPServer interface { CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyReply, error) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyReply, error) GetNotify(context.Context, *GetNotifyRequest) (*GetNotifyReply, error) ListNotify(context.Context, *ListNotifyRequest) (*ListNotifyReply, error) SelectNotify(context.Context, *SelectNotifyRequest) (*SelectNotifyReply, error) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyReply, error) }
type NotifyServer ¶
type NotifyServer interface { // 创建通知对象 CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyReply, error) // 更新通知对象 UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyReply, error) // 删除通知对象 DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyReply, error) // 获取通知对象详情 GetNotify(context.Context, *GetNotifyRequest) (*GetNotifyReply, error) // 获取通知对象列表 ListNotify(context.Context, *ListNotifyRequest) (*ListNotifyReply, error) // 获取通知对象列表(用于下拉选择) SelectNotify(context.Context, *SelectNotifyRequest) (*SelectNotifyReply, error) // contains filtered or unexported methods }
NotifyServer is the server API for Notify service. All implementations must embed UnimplementedNotifyServer for forward compatibility
type SelectChatGroupReply ¶
type SelectChatGroupReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 群组列表 List []*api.ChatGroupSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取通知群组列表(下拉选择)响应参数
func (*SelectChatGroupReply) Descriptor
deprecated
func (*SelectChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectChatGroupReply.ProtoReflect.Descriptor instead.
func (*SelectChatGroupReply) GetList ¶
func (x *SelectChatGroupReply) GetList() []*api.ChatGroupSelectV1
func (*SelectChatGroupReply) GetPage ¶
func (x *SelectChatGroupReply) GetPage() *api.PageReply
func (*SelectChatGroupReply) ProtoMessage ¶
func (*SelectChatGroupReply) ProtoMessage()
func (*SelectChatGroupReply) ProtoReflect ¶
func (x *SelectChatGroupReply) ProtoReflect() protoreflect.Message
func (*SelectChatGroupReply) Reset ¶
func (x *SelectChatGroupReply) Reset()
func (*SelectChatGroupReply) String ¶
func (x *SelectChatGroupReply) String() string
func (*SelectChatGroupReply) Validate ¶
func (m *SelectChatGroupReply) Validate() error
Validate checks the field values on SelectChatGroupReply 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 (*SelectChatGroupReply) ValidateAll ¶
func (m *SelectChatGroupReply) ValidateAll() error
ValidateAll checks the field values on SelectChatGroupReply 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 SelectChatGroupReplyMultiError, or nil if none found.
type SelectChatGroupReplyMultiError ¶
type SelectChatGroupReplyMultiError []error
SelectChatGroupReplyMultiError is an error wrapping multiple validation errors returned by SelectChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (SelectChatGroupReplyMultiError) AllErrors ¶
func (m SelectChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectChatGroupReplyMultiError) Error ¶
func (m SelectChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectChatGroupReplyValidationError ¶
type SelectChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
SelectChatGroupReplyValidationError is the validation error returned by SelectChatGroupReply.Validate if the designated constraints aren't met.
func (SelectChatGroupReplyValidationError) Cause ¶
func (e SelectChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectChatGroupReplyValidationError) Error ¶
func (e SelectChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectChatGroupReplyValidationError) ErrorName ¶
func (e SelectChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectChatGroupReplyValidationError) Field ¶
func (e SelectChatGroupReplyValidationError) Field() string
Field function returns field value.
func (SelectChatGroupReplyValidationError) Key ¶
func (e SelectChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (SelectChatGroupReplyValidationError) Reason ¶
func (e SelectChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type SelectChatGroupRequest ¶
type SelectChatGroupRequest struct { // 分页参数, 必须传递 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 用于模糊查询, 非必填, 最大为20字符 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 群组状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取通知群组列表(下拉选择)请求参数
func (*SelectChatGroupRequest) Descriptor
deprecated
func (*SelectChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectChatGroupRequest.ProtoReflect.Descriptor instead.
func (*SelectChatGroupRequest) GetKeyword ¶
func (x *SelectChatGroupRequest) GetKeyword() string
func (*SelectChatGroupRequest) GetPage ¶
func (x *SelectChatGroupRequest) GetPage() *api.PageRequest
func (*SelectChatGroupRequest) GetStatus ¶
func (x *SelectChatGroupRequest) GetStatus() api.Status
func (*SelectChatGroupRequest) ProtoMessage ¶
func (*SelectChatGroupRequest) ProtoMessage()
func (*SelectChatGroupRequest) ProtoReflect ¶
func (x *SelectChatGroupRequest) ProtoReflect() protoreflect.Message
func (*SelectChatGroupRequest) Reset ¶
func (x *SelectChatGroupRequest) Reset()
func (*SelectChatGroupRequest) String ¶
func (x *SelectChatGroupRequest) String() string
func (*SelectChatGroupRequest) Validate ¶
func (m *SelectChatGroupRequest) Validate() error
Validate checks the field values on SelectChatGroupRequest 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 (*SelectChatGroupRequest) ValidateAll ¶
func (m *SelectChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on SelectChatGroupRequest 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 SelectChatGroupRequestMultiError, or nil if none found.
type SelectChatGroupRequestMultiError ¶
type SelectChatGroupRequestMultiError []error
SelectChatGroupRequestMultiError is an error wrapping multiple validation errors returned by SelectChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (SelectChatGroupRequestMultiError) AllErrors ¶
func (m SelectChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectChatGroupRequestMultiError) Error ¶
func (m SelectChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectChatGroupRequestValidationError ¶
type SelectChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
SelectChatGroupRequestValidationError is the validation error returned by SelectChatGroupRequest.Validate if the designated constraints aren't met.
func (SelectChatGroupRequestValidationError) Cause ¶
func (e SelectChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectChatGroupRequestValidationError) Error ¶
func (e SelectChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectChatGroupRequestValidationError) ErrorName ¶
func (e SelectChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectChatGroupRequestValidationError) Field ¶
func (e SelectChatGroupRequestValidationError) Field() string
Field function returns field value.
func (SelectChatGroupRequestValidationError) Key ¶
func (e SelectChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (SelectChatGroupRequestValidationError) Reason ¶
func (e SelectChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type SelectNotifyReply ¶
type SelectNotifyReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 通知对象列表 List []*api.NotifySelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取通知对象列表(用于下拉选择)响应参数
func (*SelectNotifyReply) Descriptor
deprecated
func (*SelectNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectNotifyReply.ProtoReflect.Descriptor instead.
func (*SelectNotifyReply) GetList ¶
func (x *SelectNotifyReply) GetList() []*api.NotifySelectV1
func (*SelectNotifyReply) GetPage ¶
func (x *SelectNotifyReply) GetPage() *api.PageReply
func (*SelectNotifyReply) ProtoMessage ¶
func (*SelectNotifyReply) ProtoMessage()
func (*SelectNotifyReply) ProtoReflect ¶
func (x *SelectNotifyReply) ProtoReflect() protoreflect.Message
func (*SelectNotifyReply) Reset ¶
func (x *SelectNotifyReply) Reset()
func (*SelectNotifyReply) String ¶
func (x *SelectNotifyReply) String() string
func (*SelectNotifyReply) Validate ¶
func (m *SelectNotifyReply) Validate() error
Validate checks the field values on SelectNotifyReply 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 (*SelectNotifyReply) ValidateAll ¶
func (m *SelectNotifyReply) ValidateAll() error
ValidateAll checks the field values on SelectNotifyReply 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 SelectNotifyReplyMultiError, or nil if none found.
type SelectNotifyReplyMultiError ¶
type SelectNotifyReplyMultiError []error
SelectNotifyReplyMultiError is an error wrapping multiple validation errors returned by SelectNotifyReply.ValidateAll() if the designated constraints aren't met.
func (SelectNotifyReplyMultiError) AllErrors ¶
func (m SelectNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectNotifyReplyMultiError) Error ¶
func (m SelectNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectNotifyReplyValidationError ¶
type SelectNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
SelectNotifyReplyValidationError is the validation error returned by SelectNotifyReply.Validate if the designated constraints aren't met.
func (SelectNotifyReplyValidationError) Cause ¶
func (e SelectNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectNotifyReplyValidationError) Error ¶
func (e SelectNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectNotifyReplyValidationError) ErrorName ¶
func (e SelectNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectNotifyReplyValidationError) Field ¶
func (e SelectNotifyReplyValidationError) Field() string
Field function returns field value.
func (SelectNotifyReplyValidationError) Key ¶
func (e SelectNotifyReplyValidationError) Key() bool
Key function returns key value.
func (SelectNotifyReplyValidationError) Reason ¶
func (e SelectNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type SelectNotifyRequest ¶
type SelectNotifyRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 字符串长度0-20, 可选, 用于模糊查询 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态, 枚举值, 可选, 用于过滤 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取通知对象列表(用于下拉选择)请求参数
func (*SelectNotifyRequest) Descriptor
deprecated
func (*SelectNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectNotifyRequest.ProtoReflect.Descriptor instead.
func (*SelectNotifyRequest) GetKeyword ¶
func (x *SelectNotifyRequest) GetKeyword() string
func (*SelectNotifyRequest) GetPage ¶
func (x *SelectNotifyRequest) GetPage() *api.PageRequest
func (*SelectNotifyRequest) GetStatus ¶
func (x *SelectNotifyRequest) GetStatus() api.Status
func (*SelectNotifyRequest) ProtoMessage ¶
func (*SelectNotifyRequest) ProtoMessage()
func (*SelectNotifyRequest) ProtoReflect ¶
func (x *SelectNotifyRequest) ProtoReflect() protoreflect.Message
func (*SelectNotifyRequest) Reset ¶
func (x *SelectNotifyRequest) Reset()
func (*SelectNotifyRequest) String ¶
func (x *SelectNotifyRequest) String() string
func (*SelectNotifyRequest) Validate ¶
func (m *SelectNotifyRequest) Validate() error
Validate checks the field values on SelectNotifyRequest 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 (*SelectNotifyRequest) ValidateAll ¶
func (m *SelectNotifyRequest) ValidateAll() error
ValidateAll checks the field values on SelectNotifyRequest 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 SelectNotifyRequestMultiError, or nil if none found.
type SelectNotifyRequestMultiError ¶
type SelectNotifyRequestMultiError []error
SelectNotifyRequestMultiError is an error wrapping multiple validation errors returned by SelectNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (SelectNotifyRequestMultiError) AllErrors ¶
func (m SelectNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectNotifyRequestMultiError) Error ¶
func (m SelectNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectNotifyRequestValidationError ¶
type SelectNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
SelectNotifyRequestValidationError is the validation error returned by SelectNotifyRequest.Validate if the designated constraints aren't met.
func (SelectNotifyRequestValidationError) Cause ¶
func (e SelectNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectNotifyRequestValidationError) Error ¶
func (e SelectNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectNotifyRequestValidationError) ErrorName ¶
func (e SelectNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectNotifyRequestValidationError) Field ¶
func (e SelectNotifyRequestValidationError) Field() string
Field function returns field value.
func (SelectNotifyRequestValidationError) Key ¶
func (e SelectNotifyRequestValidationError) Key() bool
Key function returns key value.
func (SelectNotifyRequestValidationError) Reason ¶
func (e SelectNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type TemplateClient ¶
type TemplateClient interface { // 创建模板 CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateReply, error) // 更新模板 UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*UpdateTemplateReply, error) // 删除模板 DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*DeleteTemplateReply, error) // 获取模板 GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateReply, error) // 获取模板列表 ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...grpc.CallOption) (*ListTemplateReply, error) }
TemplateClient is the client API for Template 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 NewTemplateClient ¶
func NewTemplateClient(cc grpc.ClientConnInterface) TemplateClient
type TemplateHTTPClient ¶
type TemplateHTTPClient interface { CreateTemplate(ctx context.Context, req *CreateTemplateRequest, opts ...http.CallOption) (rsp *CreateTemplateReply, err error) DeleteTemplate(ctx context.Context, req *DeleteTemplateRequest, opts ...http.CallOption) (rsp *DeleteTemplateReply, err error) GetTemplate(ctx context.Context, req *GetTemplateRequest, opts ...http.CallOption) (rsp *GetTemplateReply, err error) ListTemplate(ctx context.Context, req *ListTemplateRequest, opts ...http.CallOption) (rsp *ListTemplateReply, err error) UpdateTemplate(ctx context.Context, req *UpdateTemplateRequest, opts ...http.CallOption) (rsp *UpdateTemplateReply, err error) }
func NewTemplateHTTPClient ¶
func NewTemplateHTTPClient(client *http.Client) TemplateHTTPClient
type TemplateHTTPClientImpl ¶
type TemplateHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*TemplateHTTPClientImpl) CreateTemplate ¶
func (c *TemplateHTTPClientImpl) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...http.CallOption) (*CreateTemplateReply, error)
func (*TemplateHTTPClientImpl) DeleteTemplate ¶
func (c *TemplateHTTPClientImpl) DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...http.CallOption) (*DeleteTemplateReply, error)
func (*TemplateHTTPClientImpl) GetTemplate ¶
func (c *TemplateHTTPClientImpl) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...http.CallOption) (*GetTemplateReply, error)
func (*TemplateHTTPClientImpl) ListTemplate ¶
func (c *TemplateHTTPClientImpl) ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...http.CallOption) (*ListTemplateReply, error)
func (*TemplateHTTPClientImpl) UpdateTemplate ¶
func (c *TemplateHTTPClientImpl) UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...http.CallOption) (*UpdateTemplateReply, error)
type TemplateHTTPServer ¶
type TemplateHTTPServer interface { CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateReply, error) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateReply, error) }
type TemplateServer ¶
type TemplateServer interface { // 创建模板 CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error) // 更新模板 UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateReply, error) // 删除模板 DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateReply, error) // 获取模板 GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error) // 获取模板列表 ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error) // contains filtered or unexported methods }
TemplateServer is the server API for Template service. All implementations must embed UnimplementedTemplateServer for forward compatibility
type UnimplementedChatGroupServer ¶
type UnimplementedChatGroupServer struct { }
UnimplementedChatGroupServer must be embedded to have forward compatible implementations.
func (UnimplementedChatGroupServer) CreateChatGroup ¶
func (UnimplementedChatGroupServer) CreateChatGroup(context.Context, *CreateChatGroupRequest) (*CreateChatGroupReply, error)
func (UnimplementedChatGroupServer) DeleteChatGroup ¶
func (UnimplementedChatGroupServer) DeleteChatGroup(context.Context, *DeleteChatGroupRequest) (*DeleteChatGroupReply, error)
func (UnimplementedChatGroupServer) GetChatGroup ¶
func (UnimplementedChatGroupServer) GetChatGroup(context.Context, *GetChatGroupRequest) (*GetChatGroupReply, error)
func (UnimplementedChatGroupServer) ListChatGroup ¶
func (UnimplementedChatGroupServer) ListChatGroup(context.Context, *ListChatGroupRequest) (*ListChatGroupReply, error)
func (UnimplementedChatGroupServer) SelectChatGroup ¶
func (UnimplementedChatGroupServer) SelectChatGroup(context.Context, *SelectChatGroupRequest) (*SelectChatGroupReply, error)
func (UnimplementedChatGroupServer) UpdateChatGroup ¶
func (UnimplementedChatGroupServer) UpdateChatGroup(context.Context, *UpdateChatGroupRequest) (*UpdateChatGroupReply, error)
type UnimplementedNotifyServer ¶
type UnimplementedNotifyServer struct { }
UnimplementedNotifyServer must be embedded to have forward compatible implementations.
func (UnimplementedNotifyServer) CreateNotify ¶
func (UnimplementedNotifyServer) CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyReply, error)
func (UnimplementedNotifyServer) DeleteNotify ¶
func (UnimplementedNotifyServer) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyReply, error)
func (UnimplementedNotifyServer) GetNotify ¶
func (UnimplementedNotifyServer) GetNotify(context.Context, *GetNotifyRequest) (*GetNotifyReply, error)
func (UnimplementedNotifyServer) ListNotify ¶
func (UnimplementedNotifyServer) ListNotify(context.Context, *ListNotifyRequest) (*ListNotifyReply, error)
func (UnimplementedNotifyServer) SelectNotify ¶
func (UnimplementedNotifyServer) SelectNotify(context.Context, *SelectNotifyRequest) (*SelectNotifyReply, error)
func (UnimplementedNotifyServer) UpdateNotify ¶
func (UnimplementedNotifyServer) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyReply, error)
type UnimplementedTemplateServer ¶
type UnimplementedTemplateServer struct { }
UnimplementedTemplateServer must be embedded to have forward compatible implementations.
func (UnimplementedTemplateServer) CreateTemplate ¶
func (UnimplementedTemplateServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error)
func (UnimplementedTemplateServer) DeleteTemplate ¶
func (UnimplementedTemplateServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateReply, error)
func (UnimplementedTemplateServer) GetTemplate ¶
func (UnimplementedTemplateServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error)
func (UnimplementedTemplateServer) ListTemplate ¶
func (UnimplementedTemplateServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error)
func (UnimplementedTemplateServer) UpdateTemplate ¶
func (UnimplementedTemplateServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateReply, error)
type UnsafeChatGroupServer ¶
type UnsafeChatGroupServer interface {
// contains filtered or unexported methods
}
UnsafeChatGroupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatGroupServer will result in compilation errors.
type UnsafeNotifyServer ¶
type UnsafeNotifyServer interface {
// contains filtered or unexported methods
}
UnsafeNotifyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotifyServer will result in compilation errors.
type UnsafeTemplateServer ¶
type UnsafeTemplateServer interface {
// contains filtered or unexported methods
}
UnsafeTemplateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TemplateServer will result in compilation errors.
type UpdateChatGroupReply ¶
type UpdateChatGroupReply struct { // 群组ID, 成功会返回该参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新通知群组响应参数
func (*UpdateChatGroupReply) Descriptor
deprecated
func (*UpdateChatGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChatGroupReply.ProtoReflect.Descriptor instead.
func (*UpdateChatGroupReply) GetId ¶
func (x *UpdateChatGroupReply) GetId() uint32
func (*UpdateChatGroupReply) ProtoMessage ¶
func (*UpdateChatGroupReply) ProtoMessage()
func (*UpdateChatGroupReply) ProtoReflect ¶
func (x *UpdateChatGroupReply) ProtoReflect() protoreflect.Message
func (*UpdateChatGroupReply) Reset ¶
func (x *UpdateChatGroupReply) Reset()
func (*UpdateChatGroupReply) String ¶
func (x *UpdateChatGroupReply) String() string
func (*UpdateChatGroupReply) Validate ¶
func (m *UpdateChatGroupReply) Validate() error
Validate checks the field values on UpdateChatGroupReply 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 (*UpdateChatGroupReply) ValidateAll ¶
func (m *UpdateChatGroupReply) ValidateAll() error
ValidateAll checks the field values on UpdateChatGroupReply 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 UpdateChatGroupReplyMultiError, or nil if none found.
type UpdateChatGroupReplyMultiError ¶
type UpdateChatGroupReplyMultiError []error
UpdateChatGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateChatGroupReply.ValidateAll() if the designated constraints aren't met.
func (UpdateChatGroupReplyMultiError) AllErrors ¶
func (m UpdateChatGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChatGroupReplyMultiError) Error ¶
func (m UpdateChatGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChatGroupReplyValidationError ¶
type UpdateChatGroupReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateChatGroupReplyValidationError is the validation error returned by UpdateChatGroupReply.Validate if the designated constraints aren't met.
func (UpdateChatGroupReplyValidationError) Cause ¶
func (e UpdateChatGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateChatGroupReplyValidationError) Error ¶
func (e UpdateChatGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChatGroupReplyValidationError) ErrorName ¶
func (e UpdateChatGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChatGroupReplyValidationError) Field ¶
func (e UpdateChatGroupReplyValidationError) Field() string
Field function returns field value.
func (UpdateChatGroupReplyValidationError) Key ¶
func (e UpdateChatGroupReplyValidationError) Key() bool
Key function returns key value.
func (UpdateChatGroupReplyValidationError) Reason ¶
func (e UpdateChatGroupReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateChatGroupRequest ¶
type UpdateChatGroupRequest struct { // 群组ID(大于0), 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 群组名称(一般指IM群, 例如微信群、钉钉群等) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 群组备注, 不允许超过255字符 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // hook一般是机器人, 这个字段是机器人的名称(也可以是hook别名) HookName string `protobuf:"bytes,4,opt,name=hookName,proto3" json:"hookName,omitempty"` // contains filtered or unexported fields }
更新通知群组请求参数
func (*UpdateChatGroupRequest) Descriptor
deprecated
func (*UpdateChatGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChatGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateChatGroupRequest) GetHookName ¶
func (x *UpdateChatGroupRequest) GetHookName() string
func (*UpdateChatGroupRequest) GetId ¶
func (x *UpdateChatGroupRequest) GetId() uint32
func (*UpdateChatGroupRequest) GetName ¶
func (x *UpdateChatGroupRequest) GetName() string
func (*UpdateChatGroupRequest) GetRemark ¶
func (x *UpdateChatGroupRequest) GetRemark() string
func (*UpdateChatGroupRequest) ProtoMessage ¶
func (*UpdateChatGroupRequest) ProtoMessage()
func (*UpdateChatGroupRequest) ProtoReflect ¶
func (x *UpdateChatGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateChatGroupRequest) Reset ¶
func (x *UpdateChatGroupRequest) Reset()
func (*UpdateChatGroupRequest) String ¶
func (x *UpdateChatGroupRequest) String() string
func (*UpdateChatGroupRequest) Validate ¶
func (m *UpdateChatGroupRequest) Validate() error
Validate checks the field values on UpdateChatGroupRequest 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 (*UpdateChatGroupRequest) ValidateAll ¶
func (m *UpdateChatGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateChatGroupRequest 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 UpdateChatGroupRequestMultiError, or nil if none found.
type UpdateChatGroupRequestMultiError ¶
type UpdateChatGroupRequestMultiError []error
UpdateChatGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateChatGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateChatGroupRequestMultiError) AllErrors ¶
func (m UpdateChatGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChatGroupRequestMultiError) Error ¶
func (m UpdateChatGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChatGroupRequestValidationError ¶
type UpdateChatGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateChatGroupRequestValidationError is the validation error returned by UpdateChatGroupRequest.Validate if the designated constraints aren't met.
func (UpdateChatGroupRequestValidationError) Cause ¶
func (e UpdateChatGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateChatGroupRequestValidationError) Error ¶
func (e UpdateChatGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChatGroupRequestValidationError) ErrorName ¶
func (e UpdateChatGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChatGroupRequestValidationError) Field ¶
func (e UpdateChatGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateChatGroupRequestValidationError) Key ¶
func (e UpdateChatGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateChatGroupRequestValidationError) Reason ¶
func (e UpdateChatGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateNotifyReply ¶
type UpdateNotifyReply struct { // 通知对象ID, 更新成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新通知对象响应参数
func (*UpdateNotifyReply) Descriptor
deprecated
func (*UpdateNotifyReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyReply.ProtoReflect.Descriptor instead.
func (*UpdateNotifyReply) GetId ¶
func (x *UpdateNotifyReply) GetId() uint32
func (*UpdateNotifyReply) ProtoMessage ¶
func (*UpdateNotifyReply) ProtoMessage()
func (*UpdateNotifyReply) ProtoReflect ¶
func (x *UpdateNotifyReply) ProtoReflect() protoreflect.Message
func (*UpdateNotifyReply) Reset ¶
func (x *UpdateNotifyReply) Reset()
func (*UpdateNotifyReply) String ¶
func (x *UpdateNotifyReply) String() string
func (*UpdateNotifyReply) Validate ¶
func (m *UpdateNotifyReply) Validate() error
Validate checks the field values on UpdateNotifyReply 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 (*UpdateNotifyReply) ValidateAll ¶
func (m *UpdateNotifyReply) ValidateAll() error
ValidateAll checks the field values on UpdateNotifyReply 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 UpdateNotifyReplyMultiError, or nil if none found.
type UpdateNotifyReplyMultiError ¶
type UpdateNotifyReplyMultiError []error
UpdateNotifyReplyMultiError is an error wrapping multiple validation errors returned by UpdateNotifyReply.ValidateAll() if the designated constraints aren't met.
func (UpdateNotifyReplyMultiError) AllErrors ¶
func (m UpdateNotifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNotifyReplyMultiError) Error ¶
func (m UpdateNotifyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNotifyReplyValidationError ¶
type UpdateNotifyReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateNotifyReplyValidationError is the validation error returned by UpdateNotifyReply.Validate if the designated constraints aren't met.
func (UpdateNotifyReplyValidationError) Cause ¶
func (e UpdateNotifyReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateNotifyReplyValidationError) Error ¶
func (e UpdateNotifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNotifyReplyValidationError) ErrorName ¶
func (e UpdateNotifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNotifyReplyValidationError) Field ¶
func (e UpdateNotifyReplyValidationError) Field() string
Field function returns field value.
func (UpdateNotifyReplyValidationError) Key ¶
func (e UpdateNotifyReplyValidationError) Key() bool
Key function returns key value.
func (UpdateNotifyReplyValidationError) Reason ¶
func (e UpdateNotifyReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateNotifyRequest ¶
type UpdateNotifyRequest struct { // 通知对象ID, 必须大于0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 通知对象名称, 字符串长度2-20 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 备注, 字符串长度0-255 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // 通知的人员, 最多为100个通知人员对象 Members []*api.BeNotifyMember `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"` // 通知的群组, 最多为100个群组ID ChatGroups []uint32 `protobuf:"varint,5,rep,packed,name=chatGroups,proto3" json:"chatGroups,omitempty"` // 状态 Status api.Status `protobuf:"varint,6,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
更新通知对象请求参数
func (*UpdateNotifyRequest) Descriptor
deprecated
func (*UpdateNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyRequest.ProtoReflect.Descriptor instead.
func (*UpdateNotifyRequest) GetChatGroups ¶
func (x *UpdateNotifyRequest) GetChatGroups() []uint32
func (*UpdateNotifyRequest) GetId ¶
func (x *UpdateNotifyRequest) GetId() uint32
func (*UpdateNotifyRequest) GetMembers ¶
func (x *UpdateNotifyRequest) GetMembers() []*api.BeNotifyMember
func (*UpdateNotifyRequest) GetName ¶
func (x *UpdateNotifyRequest) GetName() string
func (*UpdateNotifyRequest) GetRemark ¶
func (x *UpdateNotifyRequest) GetRemark() string
func (*UpdateNotifyRequest) GetStatus ¶
func (x *UpdateNotifyRequest) GetStatus() api.Status
func (*UpdateNotifyRequest) ProtoMessage ¶
func (*UpdateNotifyRequest) ProtoMessage()
func (*UpdateNotifyRequest) ProtoReflect ¶
func (x *UpdateNotifyRequest) ProtoReflect() protoreflect.Message
func (*UpdateNotifyRequest) Reset ¶
func (x *UpdateNotifyRequest) Reset()
func (*UpdateNotifyRequest) String ¶
func (x *UpdateNotifyRequest) String() string
func (*UpdateNotifyRequest) Validate ¶
func (m *UpdateNotifyRequest) Validate() error
Validate checks the field values on UpdateNotifyRequest 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 (*UpdateNotifyRequest) ValidateAll ¶
func (m *UpdateNotifyRequest) ValidateAll() error
ValidateAll checks the field values on UpdateNotifyRequest 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 UpdateNotifyRequestMultiError, or nil if none found.
type UpdateNotifyRequestMultiError ¶
type UpdateNotifyRequestMultiError []error
UpdateNotifyRequestMultiError is an error wrapping multiple validation errors returned by UpdateNotifyRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateNotifyRequestMultiError) AllErrors ¶
func (m UpdateNotifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNotifyRequestMultiError) Error ¶
func (m UpdateNotifyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNotifyRequestValidationError ¶
type UpdateNotifyRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateNotifyRequestValidationError is the validation error returned by UpdateNotifyRequest.Validate if the designated constraints aren't met.
func (UpdateNotifyRequestValidationError) Cause ¶
func (e UpdateNotifyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateNotifyRequestValidationError) Error ¶
func (e UpdateNotifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNotifyRequestValidationError) ErrorName ¶
func (e UpdateNotifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNotifyRequestValidationError) Field ¶
func (e UpdateNotifyRequestValidationError) Field() string
Field function returns field value.
func (UpdateNotifyRequestValidationError) Key ¶
func (e UpdateNotifyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateNotifyRequestValidationError) Reason ¶
func (e UpdateNotifyRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTemplateReply ¶
type UpdateTemplateReply struct {
// contains filtered or unexported fields
}
func (*UpdateTemplateReply) Descriptor
deprecated
func (*UpdateTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateReply.ProtoReflect.Descriptor instead.
func (*UpdateTemplateReply) ProtoMessage ¶
func (*UpdateTemplateReply) ProtoMessage()
func (*UpdateTemplateReply) ProtoReflect ¶
func (x *UpdateTemplateReply) ProtoReflect() protoreflect.Message
func (*UpdateTemplateReply) Reset ¶
func (x *UpdateTemplateReply) Reset()
func (*UpdateTemplateReply) String ¶
func (x *UpdateTemplateReply) String() string
func (*UpdateTemplateReply) Validate ¶
func (m *UpdateTemplateReply) Validate() error
Validate checks the field values on UpdateTemplateReply 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 (*UpdateTemplateReply) ValidateAll ¶
func (m *UpdateTemplateReply) ValidateAll() error
ValidateAll checks the field values on UpdateTemplateReply 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 UpdateTemplateReplyMultiError, or nil if none found.
type UpdateTemplateReplyMultiError ¶
type UpdateTemplateReplyMultiError []error
UpdateTemplateReplyMultiError is an error wrapping multiple validation errors returned by UpdateTemplateReply.ValidateAll() if the designated constraints aren't met.
func (UpdateTemplateReplyMultiError) AllErrors ¶
func (m UpdateTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTemplateReplyMultiError) Error ¶
func (m UpdateTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTemplateReplyValidationError ¶
type UpdateTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateTemplateReplyValidationError is the validation error returned by UpdateTemplateReply.Validate if the designated constraints aren't met.
func (UpdateTemplateReplyValidationError) Cause ¶
func (e UpdateTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateTemplateReplyValidationError) Error ¶
func (e UpdateTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTemplateReplyValidationError) ErrorName ¶
func (e UpdateTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTemplateReplyValidationError) Field ¶
func (e UpdateTemplateReplyValidationError) Field() string
Field function returns field value.
func (UpdateTemplateReplyValidationError) Key ¶
func (e UpdateTemplateReplyValidationError) Key() bool
Key function returns key value.
func (UpdateTemplateReplyValidationError) Reason ¶
func (e UpdateTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 模板内容 Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // 所属策略 StrategyId uint32 `protobuf:"varint,3,opt,name=strategyId,proto3" json:"strategyId,omitempty"` // 模板类型 NotifyType api.NotifyTemplateType `protobuf:"varint,4,opt,name=notifyType,proto3,enum=api.NotifyTemplateType" json:"notifyType,omitempty"` // contains filtered or unexported fields }
更新模板请求参数
func (*UpdateTemplateRequest) Descriptor
deprecated
func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateRequest) GetContent ¶
func (x *UpdateTemplateRequest) GetContent() string
func (*UpdateTemplateRequest) GetId ¶
func (x *UpdateTemplateRequest) GetId() uint32
func (*UpdateTemplateRequest) GetNotifyType ¶
func (x *UpdateTemplateRequest) GetNotifyType() api.NotifyTemplateType
func (*UpdateTemplateRequest) GetStrategyId ¶
func (x *UpdateTemplateRequest) GetStrategyId() uint32
func (*UpdateTemplateRequest) ProtoMessage ¶
func (*UpdateTemplateRequest) ProtoMessage()
func (*UpdateTemplateRequest) ProtoReflect ¶
func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplateRequest) Reset ¶
func (x *UpdateTemplateRequest) Reset()
func (*UpdateTemplateRequest) String ¶
func (x *UpdateTemplateRequest) String() string
func (*UpdateTemplateRequest) Validate ¶
func (m *UpdateTemplateRequest) Validate() error
Validate checks the field values on UpdateTemplateRequest 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 (*UpdateTemplateRequest) ValidateAll ¶
func (m *UpdateTemplateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTemplateRequest 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 UpdateTemplateRequestMultiError, or nil if none found.
type UpdateTemplateRequestMultiError ¶
type UpdateTemplateRequestMultiError []error
UpdateTemplateRequestMultiError is an error wrapping multiple validation errors returned by UpdateTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTemplateRequestMultiError) AllErrors ¶
func (m UpdateTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTemplateRequestMultiError) Error ¶
func (m UpdateTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTemplateRequestValidationError ¶
type UpdateTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTemplateRequestValidationError is the validation error returned by UpdateTemplateRequest.Validate if the designated constraints aren't met.
func (UpdateTemplateRequestValidationError) Cause ¶
func (e UpdateTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTemplateRequestValidationError) Error ¶
func (e UpdateTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTemplateRequestValidationError) ErrorName ¶
func (e UpdateTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTemplateRequestValidationError) Field ¶
func (e UpdateTemplateRequestValidationError) Field() string
Field function returns field value.
func (UpdateTemplateRequestValidationError) Key ¶
func (e UpdateTemplateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTemplateRequestValidationError) Reason ¶
func (e UpdateTemplateRequestValidationError) Reason() string
Reason function returns reason value.