Documentation ¶
Index ¶
- Variables
- func NotifyServiceClientType() reflect.Type
- func NotifyServiceHandlerType() reflect.Type
- func NotifyServiceServerType() reflect.Type
- func RegisterNotifyServiceHandler(r http.Router, srv NotifyServiceHandler, opts ...http.HandleOption)
- func RegisterNotifyServiceImp(regester transport.Register, srv NotifyServiceServer, ...)
- func RegisterNotifyServiceServer(s grpc1.ServiceRegistrar, srv NotifyServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type Behavior
- func (*Behavior) Descriptor() ([]byte, []int)deprecated
- func (x *Behavior) GetGroup() string
- func (m *Behavior) MarshalJSON() ([]byte, error)
- func (*Behavior) ProtoMessage()
- func (x *Behavior) ProtoReflect() protoreflect.Message
- func (x *Behavior) Reset()
- func (x *Behavior) String() string
- func (m *Behavior) UnmarshalJSON(b []byte) error
- func (m *Behavior) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Behavior) Validate() error
- type CreateNotifyRequest
- func (*CreateNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyRequest) GetAttribute() map[string]string
- func (x *CreateNotifyRequest) GetChannels() []string
- func (x *CreateNotifyRequest) GetNotifyGroupId() int64
- func (x *CreateNotifyRequest) GetNotifyName() string
- func (x *CreateNotifyRequest) GetScope() string
- func (x *CreateNotifyRequest) GetScopeId() string
- func (x *CreateNotifyRequest) GetTemplateId() []string
- func (m *CreateNotifyRequest) MarshalJSON() ([]byte, error)
- func (*CreateNotifyRequest) ProtoMessage()
- func (x *CreateNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyRequest) Reset()
- func (x *CreateNotifyRequest) String() string
- func (m *CreateNotifyRequest) UnmarshalJSON(b []byte) error
- func (m *CreateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateNotifyRequest) Validate() error
- type CreateNotifyResponse
- func (*CreateNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyResponse) GetData() uint64
- func (m *CreateNotifyResponse) MarshalJSON() ([]byte, error)
- func (*CreateNotifyResponse) ProtoMessage()
- func (x *CreateNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyResponse) Reset()
- func (x *CreateNotifyResponse) String() string
- func (m *CreateNotifyResponse) UnmarshalJSON(b []byte) error
- func (m *CreateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateNotifyResponse) Validate() error
- type CreateUserDefineNotifyTemplateRequest
- func (*CreateUserDefineNotifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserDefineNotifyTemplateRequest) GetFormats() map[string]string
- func (x *CreateUserDefineNotifyTemplateRequest) GetGroup() string
- func (x *CreateUserDefineNotifyTemplateRequest) GetName() string
- func (x *CreateUserDefineNotifyTemplateRequest) GetScope() string
- func (x *CreateUserDefineNotifyTemplateRequest) GetScopeId() string
- func (x *CreateUserDefineNotifyTemplateRequest) GetTargets() []string
- func (x *CreateUserDefineNotifyTemplateRequest) GetTemplate() []string
- func (x *CreateUserDefineNotifyTemplateRequest) GetTitle() []string
- func (x *CreateUserDefineNotifyTemplateRequest) GetTrigger() []string
- func (m *CreateUserDefineNotifyTemplateRequest) MarshalJSON() ([]byte, error)
- func (*CreateUserDefineNotifyTemplateRequest) ProtoMessage()
- func (x *CreateUserDefineNotifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserDefineNotifyTemplateRequest) Reset()
- func (x *CreateUserDefineNotifyTemplateRequest) String() string
- func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalJSON(b []byte) error
- func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateUserDefineNotifyTemplateRequest) Validate() error
- type CreateUserDefineNotifyTemplateResponse
- func (*CreateUserDefineNotifyTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserDefineNotifyTemplateResponse) GetData() uint64
- func (m *CreateUserDefineNotifyTemplateResponse) MarshalJSON() ([]byte, error)
- func (*CreateUserDefineNotifyTemplateResponse) ProtoMessage()
- func (x *CreateUserDefineNotifyTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserDefineNotifyTemplateResponse) Reset()
- func (x *CreateUserDefineNotifyTemplateResponse) String() string
- func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalJSON(b []byte) error
- func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateUserDefineNotifyTemplateResponse) Validate() error
- type DeleteNotifyRequest
- func (*DeleteNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyRequest) GetId() int64
- func (x *DeleteNotifyRequest) GetScope() string
- func (x *DeleteNotifyRequest) GetScopeId() string
- func (m *DeleteNotifyRequest) MarshalJSON() ([]byte, error)
- func (*DeleteNotifyRequest) ProtoMessage()
- func (x *DeleteNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyRequest) Reset()
- func (x *DeleteNotifyRequest) String() string
- func (m *DeleteNotifyRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteNotifyRequest) Validate() error
- type DeleteNotifyResponse
- func (*DeleteNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyResponse) GetData() int64
- func (m *DeleteNotifyResponse) MarshalJSON() ([]byte, error)
- func (*DeleteNotifyResponse) ProtoMessage()
- func (x *DeleteNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyResponse) Reset()
- func (x *DeleteNotifyResponse) String() string
- func (m *DeleteNotifyResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteNotifyResponse) Validate() error
- type GetAllGroupData
- func (*GetAllGroupData) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGroupData) GetName() string
- func (x *GetAllGroupData) GetType() string
- func (x *GetAllGroupData) GetValue() string
- func (m *GetAllGroupData) MarshalJSON() ([]byte, error)
- func (*GetAllGroupData) ProtoMessage()
- func (x *GetAllGroupData) ProtoReflect() protoreflect.Message
- func (x *GetAllGroupData) Reset()
- func (x *GetAllGroupData) String() string
- func (m *GetAllGroupData) UnmarshalJSON(b []byte) error
- func (m *GetAllGroupData) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetAllGroupData) Validate() error
- type GetAllGroupsRequest
- func (*GetAllGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGroupsRequest) GetScope() string
- func (x *GetAllGroupsRequest) GetScopeId() string
- func (m *GetAllGroupsRequest) MarshalJSON() ([]byte, error)
- func (*GetAllGroupsRequest) ProtoMessage()
- func (x *GetAllGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllGroupsRequest) Reset()
- func (x *GetAllGroupsRequest) String() string
- func (m *GetAllGroupsRequest) UnmarshalJSON(b []byte) error
- func (m *GetAllGroupsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetAllGroupsRequest) Validate() error
- type GetAllGroupsResponse
- func (*GetAllGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGroupsResponse) GetData() []*GetAllGroupData
- func (m *GetAllGroupsResponse) MarshalJSON() ([]byte, error)
- func (*GetAllGroupsResponse) ProtoMessage()
- func (x *GetAllGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllGroupsResponse) Reset()
- func (x *GetAllGroupsResponse) String() string
- func (m *GetAllGroupsResponse) UnmarshalJSON(b []byte) error
- func (m *GetAllGroupsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetAllGroupsResponse) Validate() error
- type GetAllNotifyTemplatesRequest
- func (*GetAllNotifyTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetAllNotifyTemplatesRequest) MarshalJSON() ([]byte, error)
- func (*GetAllNotifyTemplatesRequest) ProtoMessage()
- func (x *GetAllNotifyTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllNotifyTemplatesRequest) Reset()
- func (x *GetAllNotifyTemplatesRequest) String() string
- func (m *GetAllNotifyTemplatesRequest) UnmarshalJSON(b []byte) error
- func (m *GetAllNotifyTemplatesRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetAllNotifyTemplatesRequest) Validate() error
- type GetAllNotifyTemplatesResponse
- func (*GetAllNotifyTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllNotifyTemplatesResponse) GetData() []*Model
- func (m *GetAllNotifyTemplatesResponse) MarshalJSON() ([]byte, error)
- func (*GetAllNotifyTemplatesResponse) ProtoMessage()
- func (x *GetAllNotifyTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllNotifyTemplatesResponse) Reset()
- func (x *GetAllNotifyTemplatesResponse) String() string
- func (m *GetAllNotifyTemplatesResponse) UnmarshalJSON(b []byte) error
- func (m *GetAllNotifyTemplatesResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetAllNotifyTemplatesResponse) Validate() error
- type GetNotifyDetailRequest
- func (*GetNotifyDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyDetailRequest) GetId() int64
- func (m *GetNotifyDetailRequest) MarshalJSON() ([]byte, error)
- func (*GetNotifyDetailRequest) ProtoMessage()
- func (x *GetNotifyDetailRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotifyDetailRequest) Reset()
- func (x *GetNotifyDetailRequest) String() string
- func (m *GetNotifyDetailRequest) UnmarshalJSON(b []byte) error
- func (m *GetNotifyDetailRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyDetailRequest) Validate() error
- type GetNotifyDetailResponse
- func (*GetNotifyDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyDetailResponse) GetData() *NotifyDetailResponse
- func (m *GetNotifyDetailResponse) MarshalJSON() ([]byte, error)
- func (*GetNotifyDetailResponse) ProtoMessage()
- func (x *GetNotifyDetailResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotifyDetailResponse) Reset()
- func (x *GetNotifyDetailResponse) String() string
- func (m *GetNotifyDetailResponse) UnmarshalJSON(b []byte) error
- func (m *GetNotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyDetailResponse) Validate() error
- type GetNotifyRes
- func (*GetNotifyRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyRes) GetId() string
- func (x *GetNotifyRes) GetName() string
- func (m *GetNotifyRes) MarshalJSON() ([]byte, error)
- func (*GetNotifyRes) ProtoMessage()
- func (x *GetNotifyRes) ProtoReflect() protoreflect.Message
- func (x *GetNotifyRes) Reset()
- func (x *GetNotifyRes) String() string
- func (m *GetNotifyRes) UnmarshalJSON(b []byte) error
- func (m *GetNotifyRes) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyRes) Validate() error
- type GetNotifyTemplateRequest
- func (*GetNotifyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyTemplateRequest) GetName() string
- func (x *GetNotifyTemplateRequest) GetScope() string
- func (x *GetNotifyTemplateRequest) GetScopeId() string
- func (x *GetNotifyTemplateRequest) GetType() string
- func (m *GetNotifyTemplateRequest) MarshalJSON() ([]byte, error)
- func (*GetNotifyTemplateRequest) ProtoMessage()
- func (x *GetNotifyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotifyTemplateRequest) Reset()
- func (x *GetNotifyTemplateRequest) String() string
- func (m *GetNotifyTemplateRequest) UnmarshalJSON(b []byte) error
- func (m *GetNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyTemplateRequest) Validate() error
- type GetNotifyTemplateResponse
- func (*GetNotifyTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyTemplateResponse) GetData() []*GetNotifyRes
- func (m *GetNotifyTemplateResponse) MarshalJSON() ([]byte, error)
- func (*GetNotifyTemplateResponse) ProtoMessage()
- func (x *GetNotifyTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotifyTemplateResponse) Reset()
- func (x *GetNotifyTemplateResponse) String() string
- func (m *GetNotifyTemplateResponse) UnmarshalJSON(b []byte) error
- func (m *GetNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyTemplateResponse) Validate() error
- type GetUserNotifyListRequest
- func (*GetUserNotifyListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNotifyListRequest) GetScope() string
- func (x *GetUserNotifyListRequest) GetScopeId() string
- func (m *GetUserNotifyListRequest) MarshalJSON() ([]byte, error)
- func (*GetUserNotifyListRequest) ProtoMessage()
- func (x *GetUserNotifyListRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserNotifyListRequest) Reset()
- func (x *GetUserNotifyListRequest) String() string
- func (m *GetUserNotifyListRequest) UnmarshalJSON(b []byte) error
- func (m *GetUserNotifyListRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetUserNotifyListRequest) Validate() error
- type GetUserNotifyListResponse
- func (*GetUserNotifyListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNotifyListResponse) GetData() []*NotifyRes
- func (m *GetUserNotifyListResponse) MarshalJSON() ([]byte, error)
- func (*GetUserNotifyListResponse) ProtoMessage()
- func (x *GetUserNotifyListResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserNotifyListResponse) Reset()
- func (x *GetUserNotifyListResponse) String() string
- func (m *GetUserNotifyListResponse) UnmarshalJSON(b []byte) error
- func (m *GetUserNotifyListResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetUserNotifyListResponse) Validate() error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetModule() string
- func (x *Metadata) GetName() string
- func (x *Metadata) GetScope() []string
- func (x *Metadata) GetType() string
- func (m *Metadata) MarshalJSON() ([]byte, error)
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) UnmarshalJSON(b []byte) error
- func (m *Metadata) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Metadata) Validate() error
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetBehavior() *Behavior
- func (x *Model) GetId() string
- func (x *Model) GetMetadata() *Metadata
- func (x *Model) GetTemplates() []*Templates
- func (m *Model) MarshalJSON() ([]byte, error)
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- func (m *Model) UnmarshalJSON(b []byte) error
- func (m *Model) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Model) Validate() error
- type NotifyDetailResponse
- func (*NotifyDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyDetailResponse) GetGroupType() string
- func (x *NotifyDetailResponse) GetId() int64
- func (x *NotifyDetailResponse) GetNotifyId() string
- func (x *NotifyDetailResponse) GetNotifyName() string
- func (x *NotifyDetailResponse) GetTarget() string
- func (m *NotifyDetailResponse) MarshalJSON() ([]byte, error)
- func (*NotifyDetailResponse) ProtoMessage()
- func (x *NotifyDetailResponse) ProtoReflect() protoreflect.Message
- func (x *NotifyDetailResponse) Reset()
- func (x *NotifyDetailResponse) String() string
- func (m *NotifyDetailResponse) UnmarshalJSON(b []byte) error
- func (m *NotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyDetailResponse) Validate() error
- type NotifyEnableRequest
- func (*NotifyEnableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyEnableRequest) GetId() int64
- func (x *NotifyEnableRequest) GetScope() string
- func (x *NotifyEnableRequest) GetScopeId() string
- func (m *NotifyEnableRequest) MarshalJSON() ([]byte, error)
- func (*NotifyEnableRequest) ProtoMessage()
- func (x *NotifyEnableRequest) ProtoReflect() protoreflect.Message
- func (x *NotifyEnableRequest) Reset()
- func (x *NotifyEnableRequest) String() string
- func (m *NotifyEnableRequest) UnmarshalJSON(b []byte) error
- func (m *NotifyEnableRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyEnableRequest) Validate() error
- type NotifyEnableResponse
- func (*NotifyEnableResponse) Descriptor() ([]byte, []int)deprecated
- func (m *NotifyEnableResponse) MarshalJSON() ([]byte, error)
- func (*NotifyEnableResponse) ProtoMessage()
- func (x *NotifyEnableResponse) ProtoReflect() protoreflect.Message
- func (x *NotifyEnableResponse) Reset()
- func (x *NotifyEnableResponse) String() string
- func (m *NotifyEnableResponse) UnmarshalJSON(b []byte) error
- func (m *NotifyEnableResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyEnableResponse) Validate() error
- type NotifyRes
- func (*NotifyRes) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyRes) GetCreatedAt() *timestamppb.Timestamp
- func (x *NotifyRes) GetEnable() bool
- func (x *NotifyRes) GetGroupInfo() []*NotifyTarget
- func (x *NotifyRes) GetId() int64
- func (x *NotifyRes) GetItems() []string
- func (x *NotifyRes) GetNotifyId() string
- func (x *NotifyRes) GetNotifyName() string
- func (x *NotifyRes) GetTarget() string
- func (m *NotifyRes) MarshalJSON() ([]byte, error)
- func (*NotifyRes) ProtoMessage()
- func (x *NotifyRes) ProtoReflect() protoreflect.Message
- func (x *NotifyRes) Reset()
- func (x *NotifyRes) String() string
- func (m *NotifyRes) UnmarshalJSON(b []byte) error
- func (m *NotifyRes) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyRes) Validate() error
- type NotifyServiceClient
- type NotifyServiceHandler
- type NotifyServiceServer
- type NotifyTarget
- func (*NotifyTarget) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyTarget) GetType() string
- func (x *NotifyTarget) GetValues() []*TargetValue
- func (m *NotifyTarget) MarshalJSON() ([]byte, error)
- func (*NotifyTarget) ProtoMessage()
- func (x *NotifyTarget) ProtoReflect() protoreflect.Message
- func (x *NotifyTarget) Reset()
- func (x *NotifyTarget) String() string
- func (m *NotifyTarget) UnmarshalJSON(b []byte) error
- func (m *NotifyTarget) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyTarget) Validate() error
- type Render
- func (*Render) Descriptor() ([]byte, []int)deprecated
- func (x *Render) GetFormats() map[string]string
- func (x *Render) GetTemplate() string
- func (x *Render) GetTitle() string
- func (m *Render) MarshalJSON() ([]byte, error)
- func (*Render) ProtoMessage()
- func (x *Render) ProtoReflect() protoreflect.Message
- func (x *Render) Reset()
- func (x *Render) String() string
- func (m *Render) UnmarshalJSON(b []byte) error
- func (m *Render) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Render) Validate() error
- type TargetValue
- func (*TargetValue) Descriptor() ([]byte, []int)deprecated
- func (x *TargetValue) GetReceiver() string
- func (x *TargetValue) GetSecret() string
- func (m *TargetValue) MarshalJSON() ([]byte, error)
- func (*TargetValue) ProtoMessage()
- func (x *TargetValue) ProtoReflect() protoreflect.Message
- func (x *TargetValue) Reset()
- func (x *TargetValue) String() string
- func (m *TargetValue) UnmarshalJSON(b []byte) error
- func (m *TargetValue) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TargetValue) Validate() error
- type Templates
- func (*Templates) Descriptor() ([]byte, []int)deprecated
- func (x *Templates) GetI18N() []string
- func (x *Templates) GetRender() *Render
- func (x *Templates) GetTargets() []string
- func (x *Templates) GetTrigger() []string
- func (m *Templates) MarshalJSON() ([]byte, error)
- func (*Templates) ProtoMessage()
- func (x *Templates) ProtoReflect() protoreflect.Message
- func (x *Templates) Reset()
- func (x *Templates) String() string
- func (m *Templates) UnmarshalJSON(b []byte) error
- func (m *Templates) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Templates) Validate() error
- type UnimplementedNotifyServiceServer
- func (*UnimplementedNotifyServiceServer) CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyResponse, error)
- func (*UnimplementedNotifyServiceServer) CreateUserDefineNotifyTemplate(context.Context, *CreateUserDefineNotifyTemplateRequest) (*CreateUserDefineNotifyTemplateResponse, error)
- func (*UnimplementedNotifyServiceServer) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyResponse, error)
- func (*UnimplementedNotifyServiceServer) GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
- func (*UnimplementedNotifyServiceServer) GetAllNotifyTemplates(context.Context, *GetAllNotifyTemplatesRequest) (*GetAllNotifyTemplatesResponse, error)
- func (*UnimplementedNotifyServiceServer) GetNotifyDetail(context.Context, *GetNotifyDetailRequest) (*GetNotifyDetailResponse, error)
- func (*UnimplementedNotifyServiceServer) GetNotifyTemplate(context.Context, *GetNotifyTemplateRequest) (*GetNotifyTemplateResponse, error)
- func (*UnimplementedNotifyServiceServer) GetUserNotifyList(context.Context, *GetUserNotifyListRequest) (*GetUserNotifyListResponse, error)
- func (*UnimplementedNotifyServiceServer) NotifyEnable(context.Context, *NotifyEnableRequest) (*NotifyEnableResponse, error)
- func (*UnimplementedNotifyServiceServer) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyResponse, error)
- type UpdateNotifyRequest
- func (*UpdateNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyRequest) GetAttribute() map[string]string
- func (x *UpdateNotifyRequest) GetChannels() []string
- func (x *UpdateNotifyRequest) GetId() int64
- func (x *UpdateNotifyRequest) GetNotifyGroupId() int64
- func (x *UpdateNotifyRequest) GetScope() string
- func (x *UpdateNotifyRequest) GetScopeId() string
- func (x *UpdateNotifyRequest) GetTemplateId() []string
- func (m *UpdateNotifyRequest) MarshalJSON() ([]byte, error)
- func (*UpdateNotifyRequest) ProtoMessage()
- func (x *UpdateNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyRequest) Reset()
- func (x *UpdateNotifyRequest) String() string
- func (m *UpdateNotifyRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateNotifyRequest) Validate() error
- type UpdateNotifyResponse
- func (*UpdateNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyResponse) GetData() int64
- func (m *UpdateNotifyResponse) MarshalJSON() ([]byte, error)
- func (*UpdateNotifyResponse) ProtoMessage()
- func (x *UpdateNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyResponse) Reset()
- func (x *UpdateNotifyResponse) String() string
- func (m *UpdateNotifyResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateNotifyResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_notify_proto protoreflect.FileDescriptor
Functions ¶
func NotifyServiceClientType ¶
NotifyServiceClientType .
func NotifyServiceHandlerType ¶
NotifyServiceHandlerType .
func NotifyServiceServerType ¶
NotifyServiceServerType .
func RegisterNotifyServiceHandler ¶
func RegisterNotifyServiceHandler(r http.Router, srv NotifyServiceHandler, opts ...http.HandleOption)
RegisterNotifyServiceHandler register NotifyServiceHandler to http.Router.
func RegisterNotifyServiceImp ¶
func RegisterNotifyServiceImp(regester transport.Register, srv NotifyServiceServer, opts ...transport.ServiceOption)
RegisterNotifyServiceImp notify.proto
func RegisterNotifyServiceServer ¶
func RegisterNotifyServiceServer(s grpc1.ServiceRegistrar, srv NotifyServiceServer, opts ...grpc1.HandleOption)
Types ¶
type Behavior ¶
type Behavior struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*Behavior) Descriptor
deprecated
func (*Behavior) MarshalJSON ¶
Behavior implement json.Marshaler.
func (*Behavior) ProtoMessage ¶
func (*Behavior) ProtoMessage()
func (*Behavior) ProtoReflect ¶
func (x *Behavior) ProtoReflect() protoreflect.Message
func (*Behavior) UnmarshalJSON ¶
Behavior implement json.Marshaler.
func (*Behavior) UnmarshalURLValues ¶
Behavior implement urlenc.URLValuesUnmarshaler.
type CreateNotifyRequest ¶
type CreateNotifyRequest struct { ScopeId string `protobuf:"bytes,1,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` TemplateId []string `protobuf:"bytes,3,rep,name=templateId,proto3" json:"templateId,omitempty"` NotifyName string `protobuf:"bytes,4,opt,name=notifyName,proto3" json:"notifyName,omitempty"` NotifyGroupId int64 `protobuf:"varint,5,opt,name=notifyGroupId,proto3" json:"notifyGroupId,omitempty"` Channels []string `protobuf:"bytes,6,rep,name=channels,proto3" json:"channels,omitempty"` Attribute map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateNotifyRequest) Descriptor
deprecated
func (*CreateNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyRequest.ProtoReflect.Descriptor instead.
func (*CreateNotifyRequest) GetAttribute ¶
func (x *CreateNotifyRequest) GetAttribute() map[string]string
func (*CreateNotifyRequest) GetChannels ¶
func (x *CreateNotifyRequest) GetChannels() []string
func (*CreateNotifyRequest) GetNotifyGroupId ¶
func (x *CreateNotifyRequest) GetNotifyGroupId() int64
func (*CreateNotifyRequest) GetNotifyName ¶
func (x *CreateNotifyRequest) GetNotifyName() string
func (*CreateNotifyRequest) GetScope ¶
func (x *CreateNotifyRequest) GetScope() string
func (*CreateNotifyRequest) GetScopeId ¶
func (x *CreateNotifyRequest) GetScopeId() string
func (*CreateNotifyRequest) GetTemplateId ¶
func (x *CreateNotifyRequest) GetTemplateId() []string
func (*CreateNotifyRequest) MarshalJSON ¶
func (m *CreateNotifyRequest) MarshalJSON() ([]byte, error)
CreateNotifyRequest implement json.Marshaler.
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) UnmarshalJSON ¶
func (m *CreateNotifyRequest) UnmarshalJSON(b []byte) error
CreateNotifyRequest implement json.Marshaler.
func (*CreateNotifyRequest) UnmarshalURLValues ¶
func (m *CreateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
CreateNotifyRequest implement urlenc.URLValuesUnmarshaler.
func (*CreateNotifyRequest) Validate ¶
func (this *CreateNotifyRequest) Validate() error
type CreateNotifyResponse ¶
type CreateNotifyResponse struct { Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateNotifyResponse) Descriptor
deprecated
func (*CreateNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyResponse.ProtoReflect.Descriptor instead.
func (*CreateNotifyResponse) GetData ¶
func (x *CreateNotifyResponse) GetData() uint64
func (*CreateNotifyResponse) MarshalJSON ¶
func (m *CreateNotifyResponse) MarshalJSON() ([]byte, error)
CreateNotifyResponse implement json.Marshaler.
func (*CreateNotifyResponse) ProtoMessage ¶
func (*CreateNotifyResponse) ProtoMessage()
func (*CreateNotifyResponse) ProtoReflect ¶
func (x *CreateNotifyResponse) ProtoReflect() protoreflect.Message
func (*CreateNotifyResponse) Reset ¶
func (x *CreateNotifyResponse) Reset()
func (*CreateNotifyResponse) String ¶
func (x *CreateNotifyResponse) String() string
func (*CreateNotifyResponse) UnmarshalJSON ¶
func (m *CreateNotifyResponse) UnmarshalJSON(b []byte) error
CreateNotifyResponse implement json.Marshaler.
func (*CreateNotifyResponse) UnmarshalURLValues ¶
func (m *CreateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
CreateNotifyResponse implement urlenc.URLValuesUnmarshaler.
func (*CreateNotifyResponse) Validate ¶
func (this *CreateNotifyResponse) Validate() error
type CreateUserDefineNotifyTemplateRequest ¶
type CreateUserDefineNotifyTemplateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` Trigger []string `protobuf:"bytes,3,rep,name=trigger,proto3" json:"trigger,omitempty"` Formats map[string]string `` /* 155-byte string literal not displayed */ Title []string `protobuf:"bytes,5,rep,name=title,proto3" json:"title,omitempty"` Template []string `protobuf:"bytes,6,rep,name=template,proto3" json:"template,omitempty"` Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,8,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Targets []string `protobuf:"bytes,9,rep,name=targets,proto3" json:"targets,omitempty"` // contains filtered or unexported fields }
func (*CreateUserDefineNotifyTemplateRequest) Descriptor
deprecated
func (*CreateUserDefineNotifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserDefineNotifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateUserDefineNotifyTemplateRequest) GetFormats ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetFormats() map[string]string
func (*CreateUserDefineNotifyTemplateRequest) GetGroup ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetGroup() string
func (*CreateUserDefineNotifyTemplateRequest) GetName ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetName() string
func (*CreateUserDefineNotifyTemplateRequest) GetScope ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetScope() string
func (*CreateUserDefineNotifyTemplateRequest) GetScopeId ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetScopeId() string
func (*CreateUserDefineNotifyTemplateRequest) GetTargets ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetTargets() []string
func (*CreateUserDefineNotifyTemplateRequest) GetTemplate ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetTemplate() []string
func (*CreateUserDefineNotifyTemplateRequest) GetTitle ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetTitle() []string
func (*CreateUserDefineNotifyTemplateRequest) GetTrigger ¶
func (x *CreateUserDefineNotifyTemplateRequest) GetTrigger() []string
func (*CreateUserDefineNotifyTemplateRequest) MarshalJSON ¶
func (m *CreateUserDefineNotifyTemplateRequest) MarshalJSON() ([]byte, error)
CreateUserDefineNotifyTemplateRequest implement json.Marshaler.
func (*CreateUserDefineNotifyTemplateRequest) ProtoMessage ¶
func (*CreateUserDefineNotifyTemplateRequest) ProtoMessage()
func (*CreateUserDefineNotifyTemplateRequest) ProtoReflect ¶
func (x *CreateUserDefineNotifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateUserDefineNotifyTemplateRequest) Reset ¶
func (x *CreateUserDefineNotifyTemplateRequest) Reset()
func (*CreateUserDefineNotifyTemplateRequest) String ¶
func (x *CreateUserDefineNotifyTemplateRequest) String() string
func (*CreateUserDefineNotifyTemplateRequest) UnmarshalJSON ¶
func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalJSON(b []byte) error
CreateUserDefineNotifyTemplateRequest implement json.Marshaler.
func (*CreateUserDefineNotifyTemplateRequest) UnmarshalURLValues ¶
func (m *CreateUserDefineNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error
CreateUserDefineNotifyTemplateRequest implement urlenc.URLValuesUnmarshaler.
func (*CreateUserDefineNotifyTemplateRequest) Validate ¶
func (this *CreateUserDefineNotifyTemplateRequest) Validate() error
type CreateUserDefineNotifyTemplateResponse ¶
type CreateUserDefineNotifyTemplateResponse struct { Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateUserDefineNotifyTemplateResponse) Descriptor
deprecated
func (*CreateUserDefineNotifyTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserDefineNotifyTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateUserDefineNotifyTemplateResponse) GetData ¶
func (x *CreateUserDefineNotifyTemplateResponse) GetData() uint64
func (*CreateUserDefineNotifyTemplateResponse) MarshalJSON ¶
func (m *CreateUserDefineNotifyTemplateResponse) MarshalJSON() ([]byte, error)
CreateUserDefineNotifyTemplateResponse implement json.Marshaler.
func (*CreateUserDefineNotifyTemplateResponse) ProtoMessage ¶
func (*CreateUserDefineNotifyTemplateResponse) ProtoMessage()
func (*CreateUserDefineNotifyTemplateResponse) ProtoReflect ¶
func (x *CreateUserDefineNotifyTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateUserDefineNotifyTemplateResponse) Reset ¶
func (x *CreateUserDefineNotifyTemplateResponse) Reset()
func (*CreateUserDefineNotifyTemplateResponse) String ¶
func (x *CreateUserDefineNotifyTemplateResponse) String() string
func (*CreateUserDefineNotifyTemplateResponse) UnmarshalJSON ¶
func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalJSON(b []byte) error
CreateUserDefineNotifyTemplateResponse implement json.Marshaler.
func (*CreateUserDefineNotifyTemplateResponse) UnmarshalURLValues ¶
func (m *CreateUserDefineNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error
CreateUserDefineNotifyTemplateResponse implement urlenc.URLValuesUnmarshaler.
func (*CreateUserDefineNotifyTemplateResponse) Validate ¶
func (this *CreateUserDefineNotifyTemplateResponse) Validate() error
type DeleteNotifyRequest ¶
type DeleteNotifyRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,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() int64
func (*DeleteNotifyRequest) GetScope ¶
func (x *DeleteNotifyRequest) GetScope() string
func (*DeleteNotifyRequest) GetScopeId ¶
func (x *DeleteNotifyRequest) GetScopeId() string
func (*DeleteNotifyRequest) MarshalJSON ¶
func (m *DeleteNotifyRequest) MarshalJSON() ([]byte, error)
DeleteNotifyRequest implement json.Marshaler.
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) UnmarshalJSON ¶
func (m *DeleteNotifyRequest) UnmarshalJSON(b []byte) error
DeleteNotifyRequest implement json.Marshaler.
func (*DeleteNotifyRequest) UnmarshalURLValues ¶
func (m *DeleteNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
DeleteNotifyRequest implement urlenc.URLValuesUnmarshaler.
func (*DeleteNotifyRequest) Validate ¶
func (this *DeleteNotifyRequest) Validate() error
type DeleteNotifyResponse ¶
type DeleteNotifyResponse struct { Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeleteNotifyResponse) Descriptor
deprecated
func (*DeleteNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotifyResponse.ProtoReflect.Descriptor instead.
func (*DeleteNotifyResponse) GetData ¶
func (x *DeleteNotifyResponse) GetData() int64
func (*DeleteNotifyResponse) MarshalJSON ¶
func (m *DeleteNotifyResponse) MarshalJSON() ([]byte, error)
DeleteNotifyResponse implement json.Marshaler.
func (*DeleteNotifyResponse) ProtoMessage ¶
func (*DeleteNotifyResponse) ProtoMessage()
func (*DeleteNotifyResponse) ProtoReflect ¶
func (x *DeleteNotifyResponse) ProtoReflect() protoreflect.Message
func (*DeleteNotifyResponse) Reset ¶
func (x *DeleteNotifyResponse) Reset()
func (*DeleteNotifyResponse) String ¶
func (x *DeleteNotifyResponse) String() string
func (*DeleteNotifyResponse) UnmarshalJSON ¶
func (m *DeleteNotifyResponse) UnmarshalJSON(b []byte) error
DeleteNotifyResponse implement json.Marshaler.
func (*DeleteNotifyResponse) UnmarshalURLValues ¶
func (m *DeleteNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
DeleteNotifyResponse implement urlenc.URLValuesUnmarshaler.
func (*DeleteNotifyResponse) Validate ¶
func (this *DeleteNotifyResponse) Validate() error
type GetAllGroupData ¶
type GetAllGroupData struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetAllGroupData) Descriptor
deprecated
func (*GetAllGroupData) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGroupData.ProtoReflect.Descriptor instead.
func (*GetAllGroupData) GetName ¶
func (x *GetAllGroupData) GetName() string
func (*GetAllGroupData) GetType ¶
func (x *GetAllGroupData) GetType() string
func (*GetAllGroupData) GetValue ¶
func (x *GetAllGroupData) GetValue() string
func (*GetAllGroupData) MarshalJSON ¶
func (m *GetAllGroupData) MarshalJSON() ([]byte, error)
GetAllGroupData implement json.Marshaler.
func (*GetAllGroupData) ProtoMessage ¶
func (*GetAllGroupData) ProtoMessage()
func (*GetAllGroupData) ProtoReflect ¶
func (x *GetAllGroupData) ProtoReflect() protoreflect.Message
func (*GetAllGroupData) Reset ¶
func (x *GetAllGroupData) Reset()
func (*GetAllGroupData) String ¶
func (x *GetAllGroupData) String() string
func (*GetAllGroupData) UnmarshalJSON ¶
func (m *GetAllGroupData) UnmarshalJSON(b []byte) error
GetAllGroupData implement json.Marshaler.
func (*GetAllGroupData) UnmarshalURLValues ¶
func (m *GetAllGroupData) UnmarshalURLValues(prefix string, values url.Values) error
GetAllGroupData implement urlenc.URLValuesUnmarshaler.
func (*GetAllGroupData) Validate ¶
func (this *GetAllGroupData) Validate() error
type GetAllGroupsRequest ¶
type GetAllGroupsRequest struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` // contains filtered or unexported fields }
func (*GetAllGroupsRequest) Descriptor
deprecated
func (*GetAllGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGroupsRequest.ProtoReflect.Descriptor instead.
func (*GetAllGroupsRequest) GetScope ¶
func (x *GetAllGroupsRequest) GetScope() string
func (*GetAllGroupsRequest) GetScopeId ¶
func (x *GetAllGroupsRequest) GetScopeId() string
func (*GetAllGroupsRequest) MarshalJSON ¶
func (m *GetAllGroupsRequest) MarshalJSON() ([]byte, error)
GetAllGroupsRequest implement json.Marshaler.
func (*GetAllGroupsRequest) ProtoMessage ¶
func (*GetAllGroupsRequest) ProtoMessage()
func (*GetAllGroupsRequest) ProtoReflect ¶
func (x *GetAllGroupsRequest) ProtoReflect() protoreflect.Message
func (*GetAllGroupsRequest) Reset ¶
func (x *GetAllGroupsRequest) Reset()
func (*GetAllGroupsRequest) String ¶
func (x *GetAllGroupsRequest) String() string
func (*GetAllGroupsRequest) UnmarshalJSON ¶
func (m *GetAllGroupsRequest) UnmarshalJSON(b []byte) error
GetAllGroupsRequest implement json.Marshaler.
func (*GetAllGroupsRequest) UnmarshalURLValues ¶
func (m *GetAllGroupsRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetAllGroupsRequest implement urlenc.URLValuesUnmarshaler.
func (*GetAllGroupsRequest) Validate ¶
func (this *GetAllGroupsRequest) Validate() error
type GetAllGroupsResponse ¶
type GetAllGroupsResponse struct { Data []*GetAllGroupData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetAllGroupsResponse) Descriptor
deprecated
func (*GetAllGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGroupsResponse.ProtoReflect.Descriptor instead.
func (*GetAllGroupsResponse) GetData ¶
func (x *GetAllGroupsResponse) GetData() []*GetAllGroupData
func (*GetAllGroupsResponse) MarshalJSON ¶
func (m *GetAllGroupsResponse) MarshalJSON() ([]byte, error)
GetAllGroupsResponse implement json.Marshaler.
func (*GetAllGroupsResponse) ProtoMessage ¶
func (*GetAllGroupsResponse) ProtoMessage()
func (*GetAllGroupsResponse) ProtoReflect ¶
func (x *GetAllGroupsResponse) ProtoReflect() protoreflect.Message
func (*GetAllGroupsResponse) Reset ¶
func (x *GetAllGroupsResponse) Reset()
func (*GetAllGroupsResponse) String ¶
func (x *GetAllGroupsResponse) String() string
func (*GetAllGroupsResponse) UnmarshalJSON ¶
func (m *GetAllGroupsResponse) UnmarshalJSON(b []byte) error
GetAllGroupsResponse implement json.Marshaler.
func (*GetAllGroupsResponse) UnmarshalURLValues ¶
func (m *GetAllGroupsResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetAllGroupsResponse implement urlenc.URLValuesUnmarshaler.
func (*GetAllGroupsResponse) Validate ¶
func (this *GetAllGroupsResponse) Validate() error
type GetAllNotifyTemplatesRequest ¶
type GetAllNotifyTemplatesRequest struct {
// contains filtered or unexported fields
}
func (*GetAllNotifyTemplatesRequest) Descriptor
deprecated
func (*GetAllNotifyTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllNotifyTemplatesRequest.ProtoReflect.Descriptor instead.
func (*GetAllNotifyTemplatesRequest) MarshalJSON ¶
func (m *GetAllNotifyTemplatesRequest) MarshalJSON() ([]byte, error)
GetAllNotifyTemplatesRequest implement json.Marshaler.
func (*GetAllNotifyTemplatesRequest) ProtoMessage ¶
func (*GetAllNotifyTemplatesRequest) ProtoMessage()
func (*GetAllNotifyTemplatesRequest) ProtoReflect ¶
func (x *GetAllNotifyTemplatesRequest) ProtoReflect() protoreflect.Message
func (*GetAllNotifyTemplatesRequest) Reset ¶
func (x *GetAllNotifyTemplatesRequest) Reset()
func (*GetAllNotifyTemplatesRequest) String ¶
func (x *GetAllNotifyTemplatesRequest) String() string
func (*GetAllNotifyTemplatesRequest) UnmarshalJSON ¶
func (m *GetAllNotifyTemplatesRequest) UnmarshalJSON(b []byte) error
GetAllNotifyTemplatesRequest implement json.Marshaler.
func (*GetAllNotifyTemplatesRequest) UnmarshalURLValues ¶
func (m *GetAllNotifyTemplatesRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetAllNotifyTemplatesRequest implement urlenc.URLValuesUnmarshaler.
func (*GetAllNotifyTemplatesRequest) Validate ¶
func (this *GetAllNotifyTemplatesRequest) Validate() error
type GetAllNotifyTemplatesResponse ¶
type GetAllNotifyTemplatesResponse struct { Data []*Model `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetAllNotifyTemplatesResponse) Descriptor
deprecated
func (*GetAllNotifyTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllNotifyTemplatesResponse.ProtoReflect.Descriptor instead.
func (*GetAllNotifyTemplatesResponse) GetData ¶
func (x *GetAllNotifyTemplatesResponse) GetData() []*Model
func (*GetAllNotifyTemplatesResponse) MarshalJSON ¶
func (m *GetAllNotifyTemplatesResponse) MarshalJSON() ([]byte, error)
GetAllNotifyTemplatesResponse implement json.Marshaler.
func (*GetAllNotifyTemplatesResponse) ProtoMessage ¶
func (*GetAllNotifyTemplatesResponse) ProtoMessage()
func (*GetAllNotifyTemplatesResponse) ProtoReflect ¶
func (x *GetAllNotifyTemplatesResponse) ProtoReflect() protoreflect.Message
func (*GetAllNotifyTemplatesResponse) Reset ¶
func (x *GetAllNotifyTemplatesResponse) Reset()
func (*GetAllNotifyTemplatesResponse) String ¶
func (x *GetAllNotifyTemplatesResponse) String() string
func (*GetAllNotifyTemplatesResponse) UnmarshalJSON ¶
func (m *GetAllNotifyTemplatesResponse) UnmarshalJSON(b []byte) error
GetAllNotifyTemplatesResponse implement json.Marshaler.
func (*GetAllNotifyTemplatesResponse) UnmarshalURLValues ¶
func (m *GetAllNotifyTemplatesResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetAllNotifyTemplatesResponse implement urlenc.URLValuesUnmarshaler.
func (*GetAllNotifyTemplatesResponse) Validate ¶
func (this *GetAllNotifyTemplatesResponse) Validate() error
type GetNotifyDetailRequest ¶
type GetNotifyDetailRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyDetailRequest) Descriptor
deprecated
func (*GetNotifyDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyDetailRequest.ProtoReflect.Descriptor instead.
func (*GetNotifyDetailRequest) GetId ¶
func (x *GetNotifyDetailRequest) GetId() int64
func (*GetNotifyDetailRequest) MarshalJSON ¶
func (m *GetNotifyDetailRequest) MarshalJSON() ([]byte, error)
GetNotifyDetailRequest implement json.Marshaler.
func (*GetNotifyDetailRequest) ProtoMessage ¶
func (*GetNotifyDetailRequest) ProtoMessage()
func (*GetNotifyDetailRequest) ProtoReflect ¶
func (x *GetNotifyDetailRequest) ProtoReflect() protoreflect.Message
func (*GetNotifyDetailRequest) Reset ¶
func (x *GetNotifyDetailRequest) Reset()
func (*GetNotifyDetailRequest) String ¶
func (x *GetNotifyDetailRequest) String() string
func (*GetNotifyDetailRequest) UnmarshalJSON ¶
func (m *GetNotifyDetailRequest) UnmarshalJSON(b []byte) error
GetNotifyDetailRequest implement json.Marshaler.
func (*GetNotifyDetailRequest) UnmarshalURLValues ¶
func (m *GetNotifyDetailRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyDetailRequest implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyDetailRequest) Validate ¶
func (this *GetNotifyDetailRequest) Validate() error
type GetNotifyDetailResponse ¶
type GetNotifyDetailResponse struct { Data *NotifyDetailResponse `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyDetailResponse) Descriptor
deprecated
func (*GetNotifyDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyDetailResponse.ProtoReflect.Descriptor instead.
func (*GetNotifyDetailResponse) GetData ¶
func (x *GetNotifyDetailResponse) GetData() *NotifyDetailResponse
func (*GetNotifyDetailResponse) MarshalJSON ¶
func (m *GetNotifyDetailResponse) MarshalJSON() ([]byte, error)
GetNotifyDetailResponse implement json.Marshaler.
func (*GetNotifyDetailResponse) ProtoMessage ¶
func (*GetNotifyDetailResponse) ProtoMessage()
func (*GetNotifyDetailResponse) ProtoReflect ¶
func (x *GetNotifyDetailResponse) ProtoReflect() protoreflect.Message
func (*GetNotifyDetailResponse) Reset ¶
func (x *GetNotifyDetailResponse) Reset()
func (*GetNotifyDetailResponse) String ¶
func (x *GetNotifyDetailResponse) String() string
func (*GetNotifyDetailResponse) UnmarshalJSON ¶
func (m *GetNotifyDetailResponse) UnmarshalJSON(b []byte) error
GetNotifyDetailResponse implement json.Marshaler.
func (*GetNotifyDetailResponse) UnmarshalURLValues ¶
func (m *GetNotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyDetailResponse implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyDetailResponse) Validate ¶
func (this *GetNotifyDetailResponse) Validate() error
type GetNotifyRes ¶
type GetNotifyRes struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyRes) Descriptor
deprecated
func (*GetNotifyRes) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyRes.ProtoReflect.Descriptor instead.
func (*GetNotifyRes) GetId ¶
func (x *GetNotifyRes) GetId() string
func (*GetNotifyRes) GetName ¶
func (x *GetNotifyRes) GetName() string
func (*GetNotifyRes) MarshalJSON ¶
func (m *GetNotifyRes) MarshalJSON() ([]byte, error)
GetNotifyRes implement json.Marshaler.
func (*GetNotifyRes) ProtoMessage ¶
func (*GetNotifyRes) ProtoMessage()
func (*GetNotifyRes) ProtoReflect ¶
func (x *GetNotifyRes) ProtoReflect() protoreflect.Message
func (*GetNotifyRes) Reset ¶
func (x *GetNotifyRes) Reset()
func (*GetNotifyRes) String ¶
func (x *GetNotifyRes) String() string
func (*GetNotifyRes) UnmarshalJSON ¶
func (m *GetNotifyRes) UnmarshalJSON(b []byte) error
GetNotifyRes implement json.Marshaler.
func (*GetNotifyRes) UnmarshalURLValues ¶
func (m *GetNotifyRes) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyRes implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyRes) Validate ¶
func (this *GetNotifyRes) Validate() error
type GetNotifyTemplateRequest ¶
type GetNotifyTemplateRequest struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyTemplateRequest) Descriptor
deprecated
func (*GetNotifyTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetNotifyTemplateRequest) GetName ¶
func (x *GetNotifyTemplateRequest) GetName() string
func (*GetNotifyTemplateRequest) GetScope ¶
func (x *GetNotifyTemplateRequest) GetScope() string
func (*GetNotifyTemplateRequest) GetScopeId ¶
func (x *GetNotifyTemplateRequest) GetScopeId() string
func (*GetNotifyTemplateRequest) GetType ¶
func (x *GetNotifyTemplateRequest) GetType() string
func (*GetNotifyTemplateRequest) MarshalJSON ¶
func (m *GetNotifyTemplateRequest) MarshalJSON() ([]byte, error)
GetNotifyTemplateRequest implement json.Marshaler.
func (*GetNotifyTemplateRequest) ProtoMessage ¶
func (*GetNotifyTemplateRequest) ProtoMessage()
func (*GetNotifyTemplateRequest) ProtoReflect ¶
func (x *GetNotifyTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetNotifyTemplateRequest) Reset ¶
func (x *GetNotifyTemplateRequest) Reset()
func (*GetNotifyTemplateRequest) String ¶
func (x *GetNotifyTemplateRequest) String() string
func (*GetNotifyTemplateRequest) UnmarshalJSON ¶
func (m *GetNotifyTemplateRequest) UnmarshalJSON(b []byte) error
GetNotifyTemplateRequest implement json.Marshaler.
func (*GetNotifyTemplateRequest) UnmarshalURLValues ¶
func (m *GetNotifyTemplateRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyTemplateRequest implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyTemplateRequest) Validate ¶
func (this *GetNotifyTemplateRequest) Validate() error
type GetNotifyTemplateResponse ¶
type GetNotifyTemplateResponse struct { Data []*GetNotifyRes `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyTemplateResponse) Descriptor
deprecated
func (*GetNotifyTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetNotifyTemplateResponse) GetData ¶
func (x *GetNotifyTemplateResponse) GetData() []*GetNotifyRes
func (*GetNotifyTemplateResponse) MarshalJSON ¶
func (m *GetNotifyTemplateResponse) MarshalJSON() ([]byte, error)
GetNotifyTemplateResponse implement json.Marshaler.
func (*GetNotifyTemplateResponse) ProtoMessage ¶
func (*GetNotifyTemplateResponse) ProtoMessage()
func (*GetNotifyTemplateResponse) ProtoReflect ¶
func (x *GetNotifyTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetNotifyTemplateResponse) Reset ¶
func (x *GetNotifyTemplateResponse) Reset()
func (*GetNotifyTemplateResponse) String ¶
func (x *GetNotifyTemplateResponse) String() string
func (*GetNotifyTemplateResponse) UnmarshalJSON ¶
func (m *GetNotifyTemplateResponse) UnmarshalJSON(b []byte) error
GetNotifyTemplateResponse implement json.Marshaler.
func (*GetNotifyTemplateResponse) UnmarshalURLValues ¶
func (m *GetNotifyTemplateResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyTemplateResponse implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyTemplateResponse) Validate ¶
func (this *GetNotifyTemplateResponse) Validate() error
type GetUserNotifyListRequest ¶
type GetUserNotifyListRequest struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` // contains filtered or unexported fields }
func (*GetUserNotifyListRequest) Descriptor
deprecated
func (*GetUserNotifyListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotifyListRequest.ProtoReflect.Descriptor instead.
func (*GetUserNotifyListRequest) GetScope ¶
func (x *GetUserNotifyListRequest) GetScope() string
func (*GetUserNotifyListRequest) GetScopeId ¶
func (x *GetUserNotifyListRequest) GetScopeId() string
func (*GetUserNotifyListRequest) MarshalJSON ¶
func (m *GetUserNotifyListRequest) MarshalJSON() ([]byte, error)
GetUserNotifyListRequest implement json.Marshaler.
func (*GetUserNotifyListRequest) ProtoMessage ¶
func (*GetUserNotifyListRequest) ProtoMessage()
func (*GetUserNotifyListRequest) ProtoReflect ¶
func (x *GetUserNotifyListRequest) ProtoReflect() protoreflect.Message
func (*GetUserNotifyListRequest) Reset ¶
func (x *GetUserNotifyListRequest) Reset()
func (*GetUserNotifyListRequest) String ¶
func (x *GetUserNotifyListRequest) String() string
func (*GetUserNotifyListRequest) UnmarshalJSON ¶
func (m *GetUserNotifyListRequest) UnmarshalJSON(b []byte) error
GetUserNotifyListRequest implement json.Marshaler.
func (*GetUserNotifyListRequest) UnmarshalURLValues ¶
func (m *GetUserNotifyListRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetUserNotifyListRequest implement urlenc.URLValuesUnmarshaler.
func (*GetUserNotifyListRequest) Validate ¶
func (this *GetUserNotifyListRequest) Validate() error
type GetUserNotifyListResponse ¶
type GetUserNotifyListResponse struct { Data []*NotifyRes `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetUserNotifyListResponse) Descriptor
deprecated
func (*GetUserNotifyListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotifyListResponse.ProtoReflect.Descriptor instead.
func (*GetUserNotifyListResponse) GetData ¶
func (x *GetUserNotifyListResponse) GetData() []*NotifyRes
func (*GetUserNotifyListResponse) MarshalJSON ¶
func (m *GetUserNotifyListResponse) MarshalJSON() ([]byte, error)
GetUserNotifyListResponse implement json.Marshaler.
func (*GetUserNotifyListResponse) ProtoMessage ¶
func (*GetUserNotifyListResponse) ProtoMessage()
func (*GetUserNotifyListResponse) ProtoReflect ¶
func (x *GetUserNotifyListResponse) ProtoReflect() protoreflect.Message
func (*GetUserNotifyListResponse) Reset ¶
func (x *GetUserNotifyListResponse) Reset()
func (*GetUserNotifyListResponse) String ¶
func (x *GetUserNotifyListResponse) String() string
func (*GetUserNotifyListResponse) UnmarshalJSON ¶
func (m *GetUserNotifyListResponse) UnmarshalJSON(b []byte) error
GetUserNotifyListResponse implement json.Marshaler.
func (*GetUserNotifyListResponse) UnmarshalURLValues ¶
func (m *GetUserNotifyListResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetUserNotifyListResponse implement urlenc.URLValuesUnmarshaler.
func (*GetUserNotifyListResponse) Validate ¶
func (this *GetUserNotifyListResponse) Validate() error
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Module string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"` Scope []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) MarshalJSON ¶
Metadata implement json.Marshaler.
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) UnmarshalJSON ¶
Metadata implement json.Marshaler.
func (*Metadata) UnmarshalURLValues ¶
Metadata implement urlenc.URLValuesUnmarshaler.
type Model ¶
type Model struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Behavior *Behavior `protobuf:"bytes,3,opt,name=behavior,proto3" json:"behavior,omitempty"` Templates []*Templates `protobuf:"bytes,4,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*Model) Descriptor
deprecated
func (*Model) GetBehavior ¶
func (*Model) GetMetadata ¶
func (*Model) GetTemplates ¶
func (*Model) MarshalJSON ¶
Model implement json.Marshaler.
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶
func (x *Model) ProtoReflect() protoreflect.Message
func (*Model) UnmarshalJSON ¶
Model implement json.Marshaler.
func (*Model) UnmarshalURLValues ¶
Model implement urlenc.URLValuesUnmarshaler.
type NotifyDetailResponse ¶
type NotifyDetailResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NotifyId string `protobuf:"bytes,2,opt,name=notifyId,proto3" json:"notifyId,omitempty"` NotifyName string `protobuf:"bytes,3,opt,name=notifyName,proto3" json:"notifyName,omitempty"` Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"` GroupType string `protobuf:"bytes,5,opt,name=groupType,proto3" json:"groupType,omitempty"` // contains filtered or unexported fields }
func (*NotifyDetailResponse) Descriptor
deprecated
func (*NotifyDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyDetailResponse.ProtoReflect.Descriptor instead.
func (*NotifyDetailResponse) GetGroupType ¶
func (x *NotifyDetailResponse) GetGroupType() string
func (*NotifyDetailResponse) GetId ¶
func (x *NotifyDetailResponse) GetId() int64
func (*NotifyDetailResponse) GetNotifyId ¶
func (x *NotifyDetailResponse) GetNotifyId() string
func (*NotifyDetailResponse) GetNotifyName ¶
func (x *NotifyDetailResponse) GetNotifyName() string
func (*NotifyDetailResponse) GetTarget ¶
func (x *NotifyDetailResponse) GetTarget() string
func (*NotifyDetailResponse) MarshalJSON ¶
func (m *NotifyDetailResponse) MarshalJSON() ([]byte, error)
NotifyDetailResponse implement json.Marshaler.
func (*NotifyDetailResponse) ProtoMessage ¶
func (*NotifyDetailResponse) ProtoMessage()
func (*NotifyDetailResponse) ProtoReflect ¶
func (x *NotifyDetailResponse) ProtoReflect() protoreflect.Message
func (*NotifyDetailResponse) Reset ¶
func (x *NotifyDetailResponse) Reset()
func (*NotifyDetailResponse) String ¶
func (x *NotifyDetailResponse) String() string
func (*NotifyDetailResponse) UnmarshalJSON ¶
func (m *NotifyDetailResponse) UnmarshalJSON(b []byte) error
NotifyDetailResponse implement json.Marshaler.
func (*NotifyDetailResponse) UnmarshalURLValues ¶
func (m *NotifyDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
NotifyDetailResponse implement urlenc.URLValuesUnmarshaler.
func (*NotifyDetailResponse) Validate ¶
func (this *NotifyDetailResponse) Validate() error
type NotifyEnableRequest ¶
type NotifyEnableRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*NotifyEnableRequest) Descriptor
deprecated
func (*NotifyEnableRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyEnableRequest.ProtoReflect.Descriptor instead.
func (*NotifyEnableRequest) GetId ¶
func (x *NotifyEnableRequest) GetId() int64
func (*NotifyEnableRequest) GetScope ¶
func (x *NotifyEnableRequest) GetScope() string
func (*NotifyEnableRequest) GetScopeId ¶
func (x *NotifyEnableRequest) GetScopeId() string
func (*NotifyEnableRequest) MarshalJSON ¶
func (m *NotifyEnableRequest) MarshalJSON() ([]byte, error)
NotifyEnableRequest implement json.Marshaler.
func (*NotifyEnableRequest) ProtoMessage ¶
func (*NotifyEnableRequest) ProtoMessage()
func (*NotifyEnableRequest) ProtoReflect ¶
func (x *NotifyEnableRequest) ProtoReflect() protoreflect.Message
func (*NotifyEnableRequest) Reset ¶
func (x *NotifyEnableRequest) Reset()
func (*NotifyEnableRequest) String ¶
func (x *NotifyEnableRequest) String() string
func (*NotifyEnableRequest) UnmarshalJSON ¶
func (m *NotifyEnableRequest) UnmarshalJSON(b []byte) error
NotifyEnableRequest implement json.Marshaler.
func (*NotifyEnableRequest) UnmarshalURLValues ¶
func (m *NotifyEnableRequest) UnmarshalURLValues(prefix string, values url.Values) error
NotifyEnableRequest implement urlenc.URLValuesUnmarshaler.
func (*NotifyEnableRequest) Validate ¶
func (this *NotifyEnableRequest) Validate() error
type NotifyEnableResponse ¶
type NotifyEnableResponse struct {
// contains filtered or unexported fields
}
func (*NotifyEnableResponse) Descriptor
deprecated
func (*NotifyEnableResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyEnableResponse.ProtoReflect.Descriptor instead.
func (*NotifyEnableResponse) MarshalJSON ¶
func (m *NotifyEnableResponse) MarshalJSON() ([]byte, error)
NotifyEnableResponse implement json.Marshaler.
func (*NotifyEnableResponse) ProtoMessage ¶
func (*NotifyEnableResponse) ProtoMessage()
func (*NotifyEnableResponse) ProtoReflect ¶
func (x *NotifyEnableResponse) ProtoReflect() protoreflect.Message
func (*NotifyEnableResponse) Reset ¶
func (x *NotifyEnableResponse) Reset()
func (*NotifyEnableResponse) String ¶
func (x *NotifyEnableResponse) String() string
func (*NotifyEnableResponse) UnmarshalJSON ¶
func (m *NotifyEnableResponse) UnmarshalJSON(b []byte) error
NotifyEnableResponse implement json.Marshaler.
func (*NotifyEnableResponse) UnmarshalURLValues ¶
func (m *NotifyEnableResponse) UnmarshalURLValues(prefix string, values url.Values) error
NotifyEnableResponse implement urlenc.URLValuesUnmarshaler.
func (*NotifyEnableResponse) Validate ¶
func (this *NotifyEnableResponse) Validate() error
type NotifyRes ¶
type NotifyRes struct { CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` NotifyId string `protobuf:"bytes,3,opt,name=notifyId,proto3" json:"notifyId,omitempty"` NotifyName string `protobuf:"bytes,4,opt,name=notifyName,proto3" json:"notifyName,omitempty"` Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` GroupInfo []*NotifyTarget `protobuf:"bytes,6,rep,name=groupInfo,proto3" json:"groupInfo,omitempty"` Enable bool `protobuf:"varint,7,opt,name=enable,proto3" json:"enable,omitempty"` Items []string `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*NotifyRes) Descriptor
deprecated
func (*NotifyRes) GetCreatedAt ¶
func (x *NotifyRes) GetCreatedAt() *timestamppb.Timestamp
func (*NotifyRes) GetGroupInfo ¶
func (x *NotifyRes) GetGroupInfo() []*NotifyTarget
func (*NotifyRes) GetNotifyId ¶
func (*NotifyRes) GetNotifyName ¶
func (*NotifyRes) MarshalJSON ¶
NotifyRes implement json.Marshaler.
func (*NotifyRes) ProtoMessage ¶
func (*NotifyRes) ProtoMessage()
func (*NotifyRes) ProtoReflect ¶
func (x *NotifyRes) ProtoReflect() protoreflect.Message
func (*NotifyRes) UnmarshalJSON ¶
NotifyRes implement json.Marshaler.
func (*NotifyRes) UnmarshalURLValues ¶
NotifyRes implement urlenc.URLValuesUnmarshaler.
type NotifyServiceClient ¶
type NotifyServiceClient interface { // +private GetAllNotifyTemplates(ctx context.Context, in *GetAllNotifyTemplatesRequest, opts ...grpc.CallOption) (*GetAllNotifyTemplatesResponse, error) GetNotifyTemplate(ctx context.Context, in *GetNotifyTemplateRequest, opts ...grpc.CallOption) (*GetNotifyTemplateResponse, error) CreateNotify(ctx context.Context, in *CreateNotifyRequest, opts ...grpc.CallOption) (*CreateNotifyResponse, error) DeleteNotify(ctx context.Context, in *DeleteNotifyRequest, opts ...grpc.CallOption) (*DeleteNotifyResponse, error) UpdateNotify(ctx context.Context, in *UpdateNotifyRequest, opts ...grpc.CallOption) (*UpdateNotifyResponse, error) GetUserNotifyList(ctx context.Context, in *GetUserNotifyListRequest, opts ...grpc.CallOption) (*GetUserNotifyListResponse, error) NotifyEnable(ctx context.Context, in *NotifyEnableRequest, opts ...grpc.CallOption) (*NotifyEnableResponse, error) CreateUserDefineNotifyTemplate(ctx context.Context, in *CreateUserDefineNotifyTemplateRequest, opts ...grpc.CallOption) (*CreateUserDefineNotifyTemplateResponse, error) GetNotifyDetail(ctx context.Context, in *GetNotifyDetailRequest, opts ...grpc.CallOption) (*GetNotifyDetailResponse, error) GetAllGroups(ctx context.Context, in *GetAllGroupsRequest, opts ...grpc.CallOption) (*GetAllGroupsResponse, error) }
NotifyServiceClient is the client API for NotifyService 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 NewNotifyServiceClient ¶
func NewNotifyServiceClient(cc grpc1.ClientConnInterface) NotifyServiceClient
type NotifyServiceHandler ¶
type NotifyServiceHandler interface { // +private // GET /api/notify/all-templates GetAllNotifyTemplates(context.Context, *GetAllNotifyTemplatesRequest) (*GetAllNotifyTemplatesResponse, error) // GET /api/notify/templates GetNotifyTemplate(context.Context, *GetNotifyTemplateRequest) (*GetNotifyTemplateResponse, error) // POST /api/notify CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyResponse, error) // DELETE /api/notify/{id} DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyResponse, error) // PUT /api/notify/{id} UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyResponse, error) // GET /api/notify GetUserNotifyList(context.Context, *GetUserNotifyListRequest) (*GetUserNotifyListResponse, error) // PUT /api/notify/{id}/switch NotifyEnable(context.Context, *NotifyEnableRequest) (*NotifyEnableResponse, error) // POST /api/notify/user-define/templates CreateUserDefineNotifyTemplate(context.Context, *CreateUserDefineNotifyTemplateRequest) (*CreateUserDefineNotifyTemplateResponse, error) // GET /api/notify/{id}/detail GetNotifyDetail(context.Context, *GetNotifyDetailRequest) (*GetNotifyDetailResponse, error) // GET /api/notify/all-group GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error) }
NotifyServiceHandler is the server API for NotifyService service.
type NotifyServiceServer ¶
type NotifyServiceServer interface { // +private GetAllNotifyTemplates(context.Context, *GetAllNotifyTemplatesRequest) (*GetAllNotifyTemplatesResponse, error) GetNotifyTemplate(context.Context, *GetNotifyTemplateRequest) (*GetNotifyTemplateResponse, error) CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyResponse, error) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyResponse, error) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyResponse, error) GetUserNotifyList(context.Context, *GetUserNotifyListRequest) (*GetUserNotifyListResponse, error) NotifyEnable(context.Context, *NotifyEnableRequest) (*NotifyEnableResponse, error) CreateUserDefineNotifyTemplate(context.Context, *CreateUserDefineNotifyTemplateRequest) (*CreateUserDefineNotifyTemplateResponse, error) GetNotifyDetail(context.Context, *GetNotifyDetailRequest) (*GetNotifyDetailResponse, error) GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error) }
NotifyServiceServer is the server API for NotifyService service. All implementations should embed UnimplementedNotifyServiceServer for forward compatibility
type NotifyTarget ¶
type NotifyTarget struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Values []*TargetValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*NotifyTarget) Descriptor
deprecated
func (*NotifyTarget) Descriptor() ([]byte, []int)
Deprecated: Use NotifyTarget.ProtoReflect.Descriptor instead.
func (*NotifyTarget) GetType ¶
func (x *NotifyTarget) GetType() string
func (*NotifyTarget) GetValues ¶
func (x *NotifyTarget) GetValues() []*TargetValue
func (*NotifyTarget) MarshalJSON ¶
func (m *NotifyTarget) MarshalJSON() ([]byte, error)
NotifyTarget implement json.Marshaler.
func (*NotifyTarget) ProtoMessage ¶
func (*NotifyTarget) ProtoMessage()
func (*NotifyTarget) ProtoReflect ¶
func (x *NotifyTarget) ProtoReflect() protoreflect.Message
func (*NotifyTarget) Reset ¶
func (x *NotifyTarget) Reset()
func (*NotifyTarget) String ¶
func (x *NotifyTarget) String() string
func (*NotifyTarget) UnmarshalJSON ¶
func (m *NotifyTarget) UnmarshalJSON(b []byte) error
NotifyTarget implement json.Marshaler.
func (*NotifyTarget) UnmarshalURLValues ¶
func (m *NotifyTarget) UnmarshalURLValues(prefix string, values url.Values) error
NotifyTarget implement urlenc.URLValuesUnmarshaler.
func (*NotifyTarget) Validate ¶
func (this *NotifyTarget) Validate() error
type Render ¶
type Render struct { Formats map[string]string `` /* 155-byte string literal not displayed */ Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*Render) Descriptor
deprecated
func (*Render) GetFormats ¶
func (*Render) GetTemplate ¶
func (*Render) MarshalJSON ¶
Render implement json.Marshaler.
func (*Render) ProtoMessage ¶
func (*Render) ProtoMessage()
func (*Render) ProtoReflect ¶
func (x *Render) ProtoReflect() protoreflect.Message
func (*Render) UnmarshalJSON ¶
Render implement json.Marshaler.
func (*Render) UnmarshalURLValues ¶
Render implement urlenc.URLValuesUnmarshaler.
type TargetValue ¶
type TargetValue struct { Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*TargetValue) Descriptor
deprecated
func (*TargetValue) Descriptor() ([]byte, []int)
Deprecated: Use TargetValue.ProtoReflect.Descriptor instead.
func (*TargetValue) GetReceiver ¶
func (x *TargetValue) GetReceiver() string
func (*TargetValue) GetSecret ¶
func (x *TargetValue) GetSecret() string
func (*TargetValue) MarshalJSON ¶
func (m *TargetValue) MarshalJSON() ([]byte, error)
TargetValue implement json.Marshaler.
func (*TargetValue) ProtoMessage ¶
func (*TargetValue) ProtoMessage()
func (*TargetValue) ProtoReflect ¶
func (x *TargetValue) ProtoReflect() protoreflect.Message
func (*TargetValue) Reset ¶
func (x *TargetValue) Reset()
func (*TargetValue) String ¶
func (x *TargetValue) String() string
func (*TargetValue) UnmarshalJSON ¶
func (m *TargetValue) UnmarshalJSON(b []byte) error
TargetValue implement json.Marshaler.
func (*TargetValue) UnmarshalURLValues ¶
func (m *TargetValue) UnmarshalURLValues(prefix string, values url.Values) error
TargetValue implement urlenc.URLValuesUnmarshaler.
func (*TargetValue) Validate ¶
func (this *TargetValue) Validate() error
type Templates ¶
type Templates struct { Trigger []string `protobuf:"bytes,1,rep,name=trigger,proto3" json:"trigger,omitempty"` Targets []string `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"` I18N []string `protobuf:"bytes,3,rep,name=i18n,proto3" json:"i18n,omitempty"` Render *Render `protobuf:"bytes,4,opt,name=render,proto3" json:"render,omitempty"` // contains filtered or unexported fields }
func (*Templates) Descriptor
deprecated
func (*Templates) GetTargets ¶
func (*Templates) GetTrigger ¶
func (*Templates) MarshalJSON ¶
Templates implement json.Marshaler.
func (*Templates) ProtoMessage ¶
func (*Templates) ProtoMessage()
func (*Templates) ProtoReflect ¶
func (x *Templates) ProtoReflect() protoreflect.Message
func (*Templates) UnmarshalJSON ¶
Templates implement json.Marshaler.
func (*Templates) UnmarshalURLValues ¶
Templates implement urlenc.URLValuesUnmarshaler.
type UnimplementedNotifyServiceServer ¶
type UnimplementedNotifyServiceServer struct { }
UnimplementedNotifyServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedNotifyServiceServer) CreateNotify ¶
func (*UnimplementedNotifyServiceServer) CreateNotify(context.Context, *CreateNotifyRequest) (*CreateNotifyResponse, error)
func (*UnimplementedNotifyServiceServer) CreateUserDefineNotifyTemplate ¶
func (*UnimplementedNotifyServiceServer) CreateUserDefineNotifyTemplate(context.Context, *CreateUserDefineNotifyTemplateRequest) (*CreateUserDefineNotifyTemplateResponse, error)
func (*UnimplementedNotifyServiceServer) DeleteNotify ¶
func (*UnimplementedNotifyServiceServer) DeleteNotify(context.Context, *DeleteNotifyRequest) (*DeleteNotifyResponse, error)
func (*UnimplementedNotifyServiceServer) GetAllGroups ¶
func (*UnimplementedNotifyServiceServer) GetAllGroups(context.Context, *GetAllGroupsRequest) (*GetAllGroupsResponse, error)
func (*UnimplementedNotifyServiceServer) GetAllNotifyTemplates ¶
func (*UnimplementedNotifyServiceServer) GetAllNotifyTemplates(context.Context, *GetAllNotifyTemplatesRequest) (*GetAllNotifyTemplatesResponse, error)
func (*UnimplementedNotifyServiceServer) GetNotifyDetail ¶
func (*UnimplementedNotifyServiceServer) GetNotifyDetail(context.Context, *GetNotifyDetailRequest) (*GetNotifyDetailResponse, error)
func (*UnimplementedNotifyServiceServer) GetNotifyTemplate ¶
func (*UnimplementedNotifyServiceServer) GetNotifyTemplate(context.Context, *GetNotifyTemplateRequest) (*GetNotifyTemplateResponse, error)
func (*UnimplementedNotifyServiceServer) GetUserNotifyList ¶
func (*UnimplementedNotifyServiceServer) GetUserNotifyList(context.Context, *GetUserNotifyListRequest) (*GetUserNotifyListResponse, error)
func (*UnimplementedNotifyServiceServer) NotifyEnable ¶
func (*UnimplementedNotifyServiceServer) NotifyEnable(context.Context, *NotifyEnableRequest) (*NotifyEnableResponse, error)
func (*UnimplementedNotifyServiceServer) UpdateNotify ¶
func (*UnimplementedNotifyServiceServer) UpdateNotify(context.Context, *UpdateNotifyRequest) (*UpdateNotifyResponse, error)
type UpdateNotifyRequest ¶
type UpdateNotifyRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeId string `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Channels []string `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"` NotifyGroupId int64 `protobuf:"varint,5,opt,name=notifyGroupId,proto3" json:"notifyGroupId,omitempty"` TemplateId []string `protobuf:"bytes,6,rep,name=templateId,proto3" json:"templateId,omitempty"` Attribute map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateNotifyRequest) Descriptor
deprecated
func (*UpdateNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyRequest.ProtoReflect.Descriptor instead.
func (*UpdateNotifyRequest) GetAttribute ¶
func (x *UpdateNotifyRequest) GetAttribute() map[string]string
func (*UpdateNotifyRequest) GetChannels ¶
func (x *UpdateNotifyRequest) GetChannels() []string
func (*UpdateNotifyRequest) GetId ¶
func (x *UpdateNotifyRequest) GetId() int64
func (*UpdateNotifyRequest) GetNotifyGroupId ¶
func (x *UpdateNotifyRequest) GetNotifyGroupId() int64
func (*UpdateNotifyRequest) GetScope ¶
func (x *UpdateNotifyRequest) GetScope() string
func (*UpdateNotifyRequest) GetScopeId ¶
func (x *UpdateNotifyRequest) GetScopeId() string
func (*UpdateNotifyRequest) GetTemplateId ¶
func (x *UpdateNotifyRequest) GetTemplateId() []string
func (*UpdateNotifyRequest) MarshalJSON ¶
func (m *UpdateNotifyRequest) MarshalJSON() ([]byte, error)
UpdateNotifyRequest implement json.Marshaler.
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) UnmarshalJSON ¶
func (m *UpdateNotifyRequest) UnmarshalJSON(b []byte) error
UpdateNotifyRequest implement json.Marshaler.
func (*UpdateNotifyRequest) UnmarshalURLValues ¶
func (m *UpdateNotifyRequest) UnmarshalURLValues(prefix string, values url.Values) error
UpdateNotifyRequest implement urlenc.URLValuesUnmarshaler.
func (*UpdateNotifyRequest) Validate ¶
func (this *UpdateNotifyRequest) Validate() error
type UpdateNotifyResponse ¶
type UpdateNotifyResponse struct { Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdateNotifyResponse) Descriptor
deprecated
func (*UpdateNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyResponse.ProtoReflect.Descriptor instead.
func (*UpdateNotifyResponse) GetData ¶
func (x *UpdateNotifyResponse) GetData() int64
func (*UpdateNotifyResponse) MarshalJSON ¶
func (m *UpdateNotifyResponse) MarshalJSON() ([]byte, error)
UpdateNotifyResponse implement json.Marshaler.
func (*UpdateNotifyResponse) ProtoMessage ¶
func (*UpdateNotifyResponse) ProtoMessage()
func (*UpdateNotifyResponse) ProtoReflect ¶
func (x *UpdateNotifyResponse) ProtoReflect() protoreflect.Message
func (*UpdateNotifyResponse) Reset ¶
func (x *UpdateNotifyResponse) Reset()
func (*UpdateNotifyResponse) String ¶
func (x *UpdateNotifyResponse) String() string
func (*UpdateNotifyResponse) UnmarshalJSON ¶
func (m *UpdateNotifyResponse) UnmarshalJSON(b []byte) error
UpdateNotifyResponse implement json.Marshaler.
func (*UpdateNotifyResponse) UnmarshalURLValues ¶
func (m *UpdateNotifyResponse) UnmarshalURLValues(prefix string, values url.Values) error
UpdateNotifyResponse implement urlenc.URLValuesUnmarshaler.
func (*UpdateNotifyResponse) Validate ¶
func (this *UpdateNotifyResponse) Validate() error