Documentation ¶
Index ¶
- Variables
- func NotifyGroupServiceClientType() reflect.Type
- func NotifyGroupServiceHandlerType() reflect.Type
- func NotifyGroupServiceServerType() reflect.Type
- func RegisterNotifyGroupServiceHandler(r http.Router, srv NotifyGroupServiceHandler, opts ...http.HandleOption)
- func RegisterNotifyGroupServiceImp(regester transport.Register, srv NotifyGroupServiceServer, ...)
- func RegisterNotifyGroupServiceServer(s grpc1.ServiceRegistrar, srv NotifyGroupServiceServer, ...)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type CreateNotifyGroupRequest
- func (*CreateNotifyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyGroupRequest) GetAutoCreate() bool
- func (x *CreateNotifyGroupRequest) GetClusterName() string
- func (x *CreateNotifyGroupRequest) GetCreator() string
- func (x *CreateNotifyGroupRequest) GetLabel() string
- func (x *CreateNotifyGroupRequest) GetName() string
- func (x *CreateNotifyGroupRequest) GetOrgID() int64
- func (x *CreateNotifyGroupRequest) GetScopeId() string
- func (x *CreateNotifyGroupRequest) GetScopeType() string
- func (x *CreateNotifyGroupRequest) GetTargets() []*NotifyTarget
- func (m *CreateNotifyGroupRequest) MarshalJSON() ([]byte, error)
- func (*CreateNotifyGroupRequest) ProtoMessage()
- func (x *CreateNotifyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyGroupRequest) Reset()
- func (x *CreateNotifyGroupRequest) String() string
- func (m *CreateNotifyGroupRequest) UnmarshalJSON(b []byte) error
- func (m *CreateNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateNotifyGroupRequest) Validate() error
- type CreateNotifyGroupResponse
- func (*CreateNotifyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotifyGroupResponse) GetData() *NotifyGroup
- func (m *CreateNotifyGroupResponse) MarshalJSON() ([]byte, error)
- func (*CreateNotifyGroupResponse) ProtoMessage()
- func (x *CreateNotifyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNotifyGroupResponse) Reset()
- func (x *CreateNotifyGroupResponse) String() string
- func (m *CreateNotifyGroupResponse) UnmarshalJSON(b []byte) error
- func (m *CreateNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateNotifyGroupResponse) Validate() error
- type DeleteNotifyGroupRequest
- func (*DeleteNotifyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyGroupRequest) GetGroupID() int64
- func (m *DeleteNotifyGroupRequest) MarshalJSON() ([]byte, error)
- func (*DeleteNotifyGroupRequest) ProtoMessage()
- func (x *DeleteNotifyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyGroupRequest) Reset()
- func (x *DeleteNotifyGroupRequest) String() string
- func (m *DeleteNotifyGroupRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteNotifyGroupRequest) Validate() error
- type DeleteNotifyGroupResponse
- func (*DeleteNotifyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotifyGroupResponse) GetData() *NotifyGroup
- func (m *DeleteNotifyGroupResponse) MarshalJSON() ([]byte, error)
- func (*DeleteNotifyGroupResponse) ProtoMessage()
- func (x *DeleteNotifyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNotifyGroupResponse) Reset()
- func (x *DeleteNotifyGroupResponse) String() string
- func (m *DeleteNotifyGroupResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteNotifyGroupResponse) Validate() error
- type GetNotifyGroupDetailRequest
- func (*GetNotifyGroupDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyGroupDetailRequest) GetGroupID() int64
- func (m *GetNotifyGroupDetailRequest) MarshalJSON() ([]byte, error)
- func (*GetNotifyGroupDetailRequest) ProtoMessage()
- func (x *GetNotifyGroupDetailRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotifyGroupDetailRequest) Reset()
- func (x *GetNotifyGroupDetailRequest) String() string
- func (m *GetNotifyGroupDetailRequest) UnmarshalJSON(b []byte) error
- func (m *GetNotifyGroupDetailRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyGroupDetailRequest) Validate() error
- type GetNotifyGroupDetailResponse
- func (*GetNotifyGroupDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyGroupDetailResponse) GetData() *NotifyGroupDetail
- func (m *GetNotifyGroupDetailResponse) MarshalJSON() ([]byte, error)
- func (*GetNotifyGroupDetailResponse) ProtoMessage()
- func (x *GetNotifyGroupDetailResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotifyGroupDetailResponse) Reset()
- func (x *GetNotifyGroupDetailResponse) String() string
- func (m *GetNotifyGroupDetailResponse) UnmarshalJSON(b []byte) error
- func (m *GetNotifyGroupDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyGroupDetailResponse) Validate() error
- type GetNotifyGroupRequest
- func (*GetNotifyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyGroupRequest) GetGroupID() int64
- func (m *GetNotifyGroupRequest) MarshalJSON() ([]byte, error)
- func (*GetNotifyGroupRequest) ProtoMessage()
- func (x *GetNotifyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotifyGroupRequest) Reset()
- func (x *GetNotifyGroupRequest) String() string
- func (m *GetNotifyGroupRequest) UnmarshalJSON(b []byte) error
- func (m *GetNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyGroupRequest) Validate() error
- type GetNotifyGroupResponse
- func (*GetNotifyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotifyGroupResponse) GetData() *NotifyGroup
- func (x *GetNotifyGroupResponse) GetUserIDs() []string
- func (m *GetNotifyGroupResponse) MarshalJSON() ([]byte, error)
- func (*GetNotifyGroupResponse) ProtoMessage()
- func (x *GetNotifyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotifyGroupResponse) Reset()
- func (x *GetNotifyGroupResponse) String() string
- func (m *GetNotifyGroupResponse) UnmarshalJSON(b []byte) error
- func (m *GetNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetNotifyGroupResponse) Validate() error
- type NotifyGroup
- func (*NotifyGroup) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyGroup) GetCreatedAt() *timestamppb.Timestamp
- func (x *NotifyGroup) GetCreator() string
- func (x *NotifyGroup) GetId() int64
- func (x *NotifyGroup) GetLabel() string
- func (x *NotifyGroup) GetName() string
- func (x *NotifyGroup) GetScopeId() string
- func (x *NotifyGroup) GetScopeType() string
- func (x *NotifyGroup) GetTargets() []*NotifyTarget
- func (m *NotifyGroup) MarshalJSON() ([]byte, error)
- func (*NotifyGroup) ProtoMessage()
- func (x *NotifyGroup) ProtoReflect() protoreflect.Message
- func (x *NotifyGroup) Reset()
- func (x *NotifyGroup) String() string
- func (m *NotifyGroup) UnmarshalJSON(b []byte) error
- func (m *NotifyGroup) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyGroup) Validate() error
- type NotifyGroupDetail
- func (*NotifyGroupDetail) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyGroupDetail) GetDingdingList() []*Target
- func (x *NotifyGroupDetail) GetDingdingWorknoticeList() []*Target
- func (x *NotifyGroupDetail) GetId() int64
- func (x *NotifyGroupDetail) GetName() string
- func (x *NotifyGroupDetail) GetScopeId() string
- func (x *NotifyGroupDetail) GetScopeType() string
- func (x *NotifyGroupDetail) GetTargets() []*NotifyTarget
- func (x *NotifyGroupDetail) GetUsers() []*NotifyUser
- func (x *NotifyGroupDetail) GetWebhookList() []string
- func (m *NotifyGroupDetail) MarshalJSON() ([]byte, error)
- func (*NotifyGroupDetail) ProtoMessage()
- func (x *NotifyGroupDetail) ProtoReflect() protoreflect.Message
- func (x *NotifyGroupDetail) Reset()
- func (x *NotifyGroupDetail) String() string
- func (m *NotifyGroupDetail) UnmarshalJSON(b []byte) error
- func (m *NotifyGroupDetail) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyGroupDetail) Validate() error
- type NotifyGroupServiceClient
- type NotifyGroupServiceHandler
- type NotifyGroupServiceServer
- type NotifyTarget
- func (*NotifyTarget) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyTarget) GetType() string
- func (x *NotifyTarget) GetValues() []*Target
- 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 NotifyUser
- func (*NotifyUser) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyUser) GetEmail() string
- func (x *NotifyUser) GetId() string
- func (x *NotifyUser) GetMobile() string
- func (x *NotifyUser) GetType() string
- func (x *NotifyUser) GetUsername() string
- func (m *NotifyUser) MarshalJSON() ([]byte, error)
- func (*NotifyUser) ProtoMessage()
- func (x *NotifyUser) ProtoReflect() protoreflect.Message
- func (x *NotifyUser) Reset()
- func (x *NotifyUser) String() string
- func (m *NotifyUser) UnmarshalJSON(b []byte) error
- func (m *NotifyUser) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NotifyUser) Validate() error
- type QueryNotifyGroupData
- func (*QueryNotifyGroupData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNotifyGroupData) GetList() []*NotifyGroup
- func (x *QueryNotifyGroupData) GetTotal() int64
- func (m *QueryNotifyGroupData) MarshalJSON() ([]byte, error)
- func (*QueryNotifyGroupData) ProtoMessage()
- func (x *QueryNotifyGroupData) ProtoReflect() protoreflect.Message
- func (x *QueryNotifyGroupData) Reset()
- func (x *QueryNotifyGroupData) String() string
- func (m *QueryNotifyGroupData) UnmarshalJSON(b []byte) error
- func (m *QueryNotifyGroupData) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryNotifyGroupData) Validate() error
- type QueryNotifyGroupRequest
- func (*QueryNotifyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNotifyGroupRequest) GetClusterName() string
- func (x *QueryNotifyGroupRequest) GetLabel() string
- func (x *QueryNotifyGroupRequest) GetNames() []string
- func (x *QueryNotifyGroupRequest) GetPageNo() int64
- func (x *QueryNotifyGroupRequest) GetPageSize() int64
- func (x *QueryNotifyGroupRequest) GetScopeId() string
- func (x *QueryNotifyGroupRequest) GetScopeType() string
- func (m *QueryNotifyGroupRequest) MarshalJSON() ([]byte, error)
- func (*QueryNotifyGroupRequest) ProtoMessage()
- func (x *QueryNotifyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *QueryNotifyGroupRequest) Reset()
- func (x *QueryNotifyGroupRequest) String() string
- func (m *QueryNotifyGroupRequest) UnmarshalJSON(b []byte) error
- func (m *QueryNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryNotifyGroupRequest) Validate() error
- type QueryNotifyGroupResponse
- func (*QueryNotifyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNotifyGroupResponse) GetData() *QueryNotifyGroupData
- func (x *QueryNotifyGroupResponse) GetUserIDs() []string
- func (m *QueryNotifyGroupResponse) MarshalJSON() ([]byte, error)
- func (*QueryNotifyGroupResponse) ProtoMessage()
- func (x *QueryNotifyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *QueryNotifyGroupResponse) Reset()
- func (x *QueryNotifyGroupResponse) String() string
- func (m *QueryNotifyGroupResponse) UnmarshalJSON(b []byte) error
- func (m *QueryNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryNotifyGroupResponse) Validate() error
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetReceiver() string
- func (x *Target) GetSecret() string
- func (m *Target) MarshalJSON() ([]byte, error)
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- func (m *Target) UnmarshalJSON(b []byte) error
- func (m *Target) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Target) Validate() error
- type UnimplementedNotifyGroupServiceServer
- func (*UnimplementedNotifyGroupServiceServer) CreateNotifyGroup(context.Context, *CreateNotifyGroupRequest) (*CreateNotifyGroupResponse, error)
- func (*UnimplementedNotifyGroupServiceServer) DeleteNotifyGroup(context.Context, *DeleteNotifyGroupRequest) (*DeleteNotifyGroupResponse, error)
- func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroup(context.Context, *GetNotifyGroupRequest) (*GetNotifyGroupResponse, error)
- func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroupDetail(context.Context, *GetNotifyGroupDetailRequest) (*GetNotifyGroupDetailResponse, error)
- func (*UnimplementedNotifyGroupServiceServer) QueryNotifyGroup(context.Context, *QueryNotifyGroupRequest) (*QueryNotifyGroupResponse, error)
- func (*UnimplementedNotifyGroupServiceServer) UpdateNotifyGroup(context.Context, *UpdateNotifyGroupRequest) (*UpdateNotifyGroupResponse, error)
- type UpdateNotifyGroupRequest
- func (*UpdateNotifyGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyGroupRequest) GetGroupID() int64
- func (x *UpdateNotifyGroupRequest) GetId() int64
- func (x *UpdateNotifyGroupRequest) GetName() string
- func (x *UpdateNotifyGroupRequest) GetTargets() []*NotifyTarget
- func (m *UpdateNotifyGroupRequest) MarshalJSON() ([]byte, error)
- func (*UpdateNotifyGroupRequest) ProtoMessage()
- func (x *UpdateNotifyGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyGroupRequest) Reset()
- func (x *UpdateNotifyGroupRequest) String() string
- func (m *UpdateNotifyGroupRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateNotifyGroupRequest) Validate() error
- type UpdateNotifyGroupResponse
- func (*UpdateNotifyGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotifyGroupResponse) GetData() *NotifyGroup
- func (m *UpdateNotifyGroupResponse) MarshalJSON() ([]byte, error)
- func (*UpdateNotifyGroupResponse) ProtoMessage()
- func (x *UpdateNotifyGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNotifyGroupResponse) Reset()
- func (x *UpdateNotifyGroupResponse) String() string
- func (m *UpdateNotifyGroupResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateNotifyGroupResponse) Validate() error
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetAvatar() string
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetId() string
- func (x *UserInfo) GetLastLoginAt() string
- func (x *UserInfo) GetName() string
- func (x *UserInfo) GetNick() string
- func (x *UserInfo) GetPhone() string
- func (x *UserInfo) GetPwdExpireAt() string
- func (x *UserInfo) GetSource() string
- func (x *UserInfo) GetToken() string
- func (m *UserInfo) MarshalJSON() ([]byte, error)
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- func (m *UserInfo) UnmarshalJSON(b []byte) error
- func (m *UserInfo) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UserInfo) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_notifygroup_proto protoreflect.FileDescriptor
Functions ¶
func NotifyGroupServiceClientType ¶
NotifyGroupServiceClientType .
func NotifyGroupServiceHandlerType ¶
NotifyGroupServiceHandlerType .
func NotifyGroupServiceServerType ¶
NotifyGroupServiceServerType .
func RegisterNotifyGroupServiceHandler ¶
func RegisterNotifyGroupServiceHandler(r http.Router, srv NotifyGroupServiceHandler, opts ...http.HandleOption)
RegisterNotifyGroupServiceHandler register NotifyGroupServiceHandler to http.Router.
func RegisterNotifyGroupServiceImp ¶
func RegisterNotifyGroupServiceImp(regester transport.Register, srv NotifyGroupServiceServer, opts ...transport.ServiceOption)
RegisterNotifyGroupServiceImp notifygroup.proto
func RegisterNotifyGroupServiceServer ¶
func RegisterNotifyGroupServiceServer(s grpc1.ServiceRegistrar, srv NotifyGroupServiceServer, opts ...grpc1.HandleOption)
Types ¶
type CreateNotifyGroupRequest ¶
type CreateNotifyGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ScopeType string `protobuf:"bytes,2,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Targets []*NotifyTarget `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"` Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` ClusterName string `protobuf:"bytes,7,opt,name=clusterName,proto3" json:"clusterName,omitempty"` AutoCreate bool `protobuf:"varint,8,opt,name=autoCreate,json=-,proto3" json:"autoCreate,omitempty"` OrgID int64 `protobuf:"varint,9,opt,name=orgID,json=-,proto3" json:"orgID,omitempty"` // contains filtered or unexported fields }
func (*CreateNotifyGroupRequest) Descriptor
deprecated
func (*CreateNotifyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateNotifyGroupRequest) GetAutoCreate ¶
func (x *CreateNotifyGroupRequest) GetAutoCreate() bool
func (*CreateNotifyGroupRequest) GetClusterName ¶
func (x *CreateNotifyGroupRequest) GetClusterName() string
func (*CreateNotifyGroupRequest) GetCreator ¶
func (x *CreateNotifyGroupRequest) GetCreator() string
func (*CreateNotifyGroupRequest) GetLabel ¶
func (x *CreateNotifyGroupRequest) GetLabel() string
func (*CreateNotifyGroupRequest) GetName ¶
func (x *CreateNotifyGroupRequest) GetName() string
func (*CreateNotifyGroupRequest) GetOrgID ¶
func (x *CreateNotifyGroupRequest) GetOrgID() int64
func (*CreateNotifyGroupRequest) GetScopeId ¶
func (x *CreateNotifyGroupRequest) GetScopeId() string
func (*CreateNotifyGroupRequest) GetScopeType ¶
func (x *CreateNotifyGroupRequest) GetScopeType() string
func (*CreateNotifyGroupRequest) GetTargets ¶
func (x *CreateNotifyGroupRequest) GetTargets() []*NotifyTarget
func (*CreateNotifyGroupRequest) MarshalJSON ¶
func (m *CreateNotifyGroupRequest) MarshalJSON() ([]byte, error)
CreateNotifyGroupRequest implement json.Marshaler.
func (*CreateNotifyGroupRequest) ProtoMessage ¶
func (*CreateNotifyGroupRequest) ProtoMessage()
func (*CreateNotifyGroupRequest) ProtoReflect ¶
func (x *CreateNotifyGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateNotifyGroupRequest) Reset ¶
func (x *CreateNotifyGroupRequest) Reset()
func (*CreateNotifyGroupRequest) String ¶
func (x *CreateNotifyGroupRequest) String() string
func (*CreateNotifyGroupRequest) UnmarshalJSON ¶
func (m *CreateNotifyGroupRequest) UnmarshalJSON(b []byte) error
CreateNotifyGroupRequest implement json.Marshaler.
func (*CreateNotifyGroupRequest) UnmarshalURLValues ¶
func (m *CreateNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
CreateNotifyGroupRequest implement urlenc.URLValuesUnmarshaler.
func (*CreateNotifyGroupRequest) Validate ¶
func (this *CreateNotifyGroupRequest) Validate() error
type CreateNotifyGroupResponse ¶
type CreateNotifyGroupResponse struct { Data *NotifyGroup `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateNotifyGroupResponse) Descriptor
deprecated
func (*CreateNotifyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotifyGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateNotifyGroupResponse) GetData ¶
func (x *CreateNotifyGroupResponse) GetData() *NotifyGroup
func (*CreateNotifyGroupResponse) MarshalJSON ¶
func (m *CreateNotifyGroupResponse) MarshalJSON() ([]byte, error)
CreateNotifyGroupResponse implement json.Marshaler.
func (*CreateNotifyGroupResponse) ProtoMessage ¶
func (*CreateNotifyGroupResponse) ProtoMessage()
func (*CreateNotifyGroupResponse) ProtoReflect ¶
func (x *CreateNotifyGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateNotifyGroupResponse) Reset ¶
func (x *CreateNotifyGroupResponse) Reset()
func (*CreateNotifyGroupResponse) String ¶
func (x *CreateNotifyGroupResponse) String() string
func (*CreateNotifyGroupResponse) UnmarshalJSON ¶
func (m *CreateNotifyGroupResponse) UnmarshalJSON(b []byte) error
CreateNotifyGroupResponse implement json.Marshaler.
func (*CreateNotifyGroupResponse) UnmarshalURLValues ¶
func (m *CreateNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
CreateNotifyGroupResponse implement urlenc.URLValuesUnmarshaler.
func (*CreateNotifyGroupResponse) Validate ¶
func (this *CreateNotifyGroupResponse) Validate() error
type DeleteNotifyGroupRequest ¶
type DeleteNotifyGroupRequest struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*DeleteNotifyGroupRequest) Descriptor
deprecated
func (*DeleteNotifyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotifyGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotifyGroupRequest) GetGroupID ¶
func (x *DeleteNotifyGroupRequest) GetGroupID() int64
func (*DeleteNotifyGroupRequest) MarshalJSON ¶
func (m *DeleteNotifyGroupRequest) MarshalJSON() ([]byte, error)
DeleteNotifyGroupRequest implement json.Marshaler.
func (*DeleteNotifyGroupRequest) ProtoMessage ¶
func (*DeleteNotifyGroupRequest) ProtoMessage()
func (*DeleteNotifyGroupRequest) ProtoReflect ¶
func (x *DeleteNotifyGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotifyGroupRequest) Reset ¶
func (x *DeleteNotifyGroupRequest) Reset()
func (*DeleteNotifyGroupRequest) String ¶
func (x *DeleteNotifyGroupRequest) String() string
func (*DeleteNotifyGroupRequest) UnmarshalJSON ¶
func (m *DeleteNotifyGroupRequest) UnmarshalJSON(b []byte) error
DeleteNotifyGroupRequest implement json.Marshaler.
func (*DeleteNotifyGroupRequest) UnmarshalURLValues ¶
func (m *DeleteNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
DeleteNotifyGroupRequest implement urlenc.URLValuesUnmarshaler.
func (*DeleteNotifyGroupRequest) Validate ¶
func (this *DeleteNotifyGroupRequest) Validate() error
type DeleteNotifyGroupResponse ¶
type DeleteNotifyGroupResponse struct { Data *NotifyGroup `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeleteNotifyGroupResponse) Descriptor
deprecated
func (*DeleteNotifyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotifyGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteNotifyGroupResponse) GetData ¶
func (x *DeleteNotifyGroupResponse) GetData() *NotifyGroup
func (*DeleteNotifyGroupResponse) MarshalJSON ¶
func (m *DeleteNotifyGroupResponse) MarshalJSON() ([]byte, error)
DeleteNotifyGroupResponse implement json.Marshaler.
func (*DeleteNotifyGroupResponse) ProtoMessage ¶
func (*DeleteNotifyGroupResponse) ProtoMessage()
func (*DeleteNotifyGroupResponse) ProtoReflect ¶
func (x *DeleteNotifyGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteNotifyGroupResponse) Reset ¶
func (x *DeleteNotifyGroupResponse) Reset()
func (*DeleteNotifyGroupResponse) String ¶
func (x *DeleteNotifyGroupResponse) String() string
func (*DeleteNotifyGroupResponse) UnmarshalJSON ¶
func (m *DeleteNotifyGroupResponse) UnmarshalJSON(b []byte) error
DeleteNotifyGroupResponse implement json.Marshaler.
func (*DeleteNotifyGroupResponse) UnmarshalURLValues ¶
func (m *DeleteNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
DeleteNotifyGroupResponse implement urlenc.URLValuesUnmarshaler.
func (*DeleteNotifyGroupResponse) Validate ¶
func (this *DeleteNotifyGroupResponse) Validate() error
type GetNotifyGroupDetailRequest ¶
type GetNotifyGroupDetailRequest struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyGroupDetailRequest) Descriptor
deprecated
func (*GetNotifyGroupDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyGroupDetailRequest.ProtoReflect.Descriptor instead.
func (*GetNotifyGroupDetailRequest) GetGroupID ¶
func (x *GetNotifyGroupDetailRequest) GetGroupID() int64
func (*GetNotifyGroupDetailRequest) MarshalJSON ¶
func (m *GetNotifyGroupDetailRequest) MarshalJSON() ([]byte, error)
GetNotifyGroupDetailRequest implement json.Marshaler.
func (*GetNotifyGroupDetailRequest) ProtoMessage ¶
func (*GetNotifyGroupDetailRequest) ProtoMessage()
func (*GetNotifyGroupDetailRequest) ProtoReflect ¶
func (x *GetNotifyGroupDetailRequest) ProtoReflect() protoreflect.Message
func (*GetNotifyGroupDetailRequest) Reset ¶
func (x *GetNotifyGroupDetailRequest) Reset()
func (*GetNotifyGroupDetailRequest) String ¶
func (x *GetNotifyGroupDetailRequest) String() string
func (*GetNotifyGroupDetailRequest) UnmarshalJSON ¶
func (m *GetNotifyGroupDetailRequest) UnmarshalJSON(b []byte) error
GetNotifyGroupDetailRequest implement json.Marshaler.
func (*GetNotifyGroupDetailRequest) UnmarshalURLValues ¶
func (m *GetNotifyGroupDetailRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyGroupDetailRequest implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyGroupDetailRequest) Validate ¶
func (this *GetNotifyGroupDetailRequest) Validate() error
type GetNotifyGroupDetailResponse ¶
type GetNotifyGroupDetailResponse struct { Data *NotifyGroupDetail `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyGroupDetailResponse) Descriptor
deprecated
func (*GetNotifyGroupDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyGroupDetailResponse.ProtoReflect.Descriptor instead.
func (*GetNotifyGroupDetailResponse) GetData ¶
func (x *GetNotifyGroupDetailResponse) GetData() *NotifyGroupDetail
func (*GetNotifyGroupDetailResponse) MarshalJSON ¶
func (m *GetNotifyGroupDetailResponse) MarshalJSON() ([]byte, error)
GetNotifyGroupDetailResponse implement json.Marshaler.
func (*GetNotifyGroupDetailResponse) ProtoMessage ¶
func (*GetNotifyGroupDetailResponse) ProtoMessage()
func (*GetNotifyGroupDetailResponse) ProtoReflect ¶
func (x *GetNotifyGroupDetailResponse) ProtoReflect() protoreflect.Message
func (*GetNotifyGroupDetailResponse) Reset ¶
func (x *GetNotifyGroupDetailResponse) Reset()
func (*GetNotifyGroupDetailResponse) String ¶
func (x *GetNotifyGroupDetailResponse) String() string
func (*GetNotifyGroupDetailResponse) UnmarshalJSON ¶
func (m *GetNotifyGroupDetailResponse) UnmarshalJSON(b []byte) error
GetNotifyGroupDetailResponse implement json.Marshaler.
func (*GetNotifyGroupDetailResponse) UnmarshalURLValues ¶
func (m *GetNotifyGroupDetailResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyGroupDetailResponse implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyGroupDetailResponse) Validate ¶
func (this *GetNotifyGroupDetailResponse) Validate() error
type GetNotifyGroupRequest ¶
type GetNotifyGroupRequest struct { GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyGroupRequest) Descriptor
deprecated
func (*GetNotifyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyGroupRequest.ProtoReflect.Descriptor instead.
func (*GetNotifyGroupRequest) GetGroupID ¶
func (x *GetNotifyGroupRequest) GetGroupID() int64
func (*GetNotifyGroupRequest) MarshalJSON ¶
func (m *GetNotifyGroupRequest) MarshalJSON() ([]byte, error)
GetNotifyGroupRequest implement json.Marshaler.
func (*GetNotifyGroupRequest) ProtoMessage ¶
func (*GetNotifyGroupRequest) ProtoMessage()
func (*GetNotifyGroupRequest) ProtoReflect ¶
func (x *GetNotifyGroupRequest) ProtoReflect() protoreflect.Message
func (*GetNotifyGroupRequest) Reset ¶
func (x *GetNotifyGroupRequest) Reset()
func (*GetNotifyGroupRequest) String ¶
func (x *GetNotifyGroupRequest) String() string
func (*GetNotifyGroupRequest) UnmarshalJSON ¶
func (m *GetNotifyGroupRequest) UnmarshalJSON(b []byte) error
GetNotifyGroupRequest implement json.Marshaler.
func (*GetNotifyGroupRequest) UnmarshalURLValues ¶
func (m *GetNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyGroupRequest implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyGroupRequest) Validate ¶
func (this *GetNotifyGroupRequest) Validate() error
type GetNotifyGroupResponse ¶
type GetNotifyGroupResponse struct { Data *NotifyGroup `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"` // contains filtered or unexported fields }
func (*GetNotifyGroupResponse) Descriptor
deprecated
func (*GetNotifyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotifyGroupResponse.ProtoReflect.Descriptor instead.
func (*GetNotifyGroupResponse) GetData ¶
func (x *GetNotifyGroupResponse) GetData() *NotifyGroup
func (*GetNotifyGroupResponse) GetUserIDs ¶
func (x *GetNotifyGroupResponse) GetUserIDs() []string
func (*GetNotifyGroupResponse) MarshalJSON ¶
func (m *GetNotifyGroupResponse) MarshalJSON() ([]byte, error)
GetNotifyGroupResponse implement json.Marshaler.
func (*GetNotifyGroupResponse) ProtoMessage ¶
func (*GetNotifyGroupResponse) ProtoMessage()
func (*GetNotifyGroupResponse) ProtoReflect ¶
func (x *GetNotifyGroupResponse) ProtoReflect() protoreflect.Message
func (*GetNotifyGroupResponse) Reset ¶
func (x *GetNotifyGroupResponse) Reset()
func (*GetNotifyGroupResponse) String ¶
func (x *GetNotifyGroupResponse) String() string
func (*GetNotifyGroupResponse) UnmarshalJSON ¶
func (m *GetNotifyGroupResponse) UnmarshalJSON(b []byte) error
GetNotifyGroupResponse implement json.Marshaler.
func (*GetNotifyGroupResponse) UnmarshalURLValues ¶
func (m *GetNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetNotifyGroupResponse implement urlenc.URLValuesUnmarshaler.
func (*GetNotifyGroupResponse) Validate ¶
func (this *GetNotifyGroupResponse) Validate() error
type NotifyGroup ¶
type NotifyGroup struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ScopeType string `protobuf:"bytes,3,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,4,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Targets []*NotifyTarget `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` Label string `protobuf:"bytes,8,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*NotifyGroup) Descriptor
deprecated
func (*NotifyGroup) Descriptor() ([]byte, []int)
Deprecated: Use NotifyGroup.ProtoReflect.Descriptor instead.
func (*NotifyGroup) GetCreatedAt ¶
func (x *NotifyGroup) GetCreatedAt() *timestamppb.Timestamp
func (*NotifyGroup) GetCreator ¶
func (x *NotifyGroup) GetCreator() string
func (*NotifyGroup) GetId ¶
func (x *NotifyGroup) GetId() int64
func (*NotifyGroup) GetLabel ¶
func (x *NotifyGroup) GetLabel() string
func (*NotifyGroup) GetName ¶
func (x *NotifyGroup) GetName() string
func (*NotifyGroup) GetScopeId ¶
func (x *NotifyGroup) GetScopeId() string
func (*NotifyGroup) GetScopeType ¶
func (x *NotifyGroup) GetScopeType() string
func (*NotifyGroup) GetTargets ¶
func (x *NotifyGroup) GetTargets() []*NotifyTarget
func (*NotifyGroup) MarshalJSON ¶
func (m *NotifyGroup) MarshalJSON() ([]byte, error)
NotifyGroup implement json.Marshaler.
func (*NotifyGroup) ProtoMessage ¶
func (*NotifyGroup) ProtoMessage()
func (*NotifyGroup) ProtoReflect ¶
func (x *NotifyGroup) ProtoReflect() protoreflect.Message
func (*NotifyGroup) Reset ¶
func (x *NotifyGroup) Reset()
func (*NotifyGroup) String ¶
func (x *NotifyGroup) String() string
func (*NotifyGroup) UnmarshalJSON ¶
func (m *NotifyGroup) UnmarshalJSON(b []byte) error
NotifyGroup implement json.Marshaler.
func (*NotifyGroup) UnmarshalURLValues ¶
func (m *NotifyGroup) UnmarshalURLValues(prefix string, values url.Values) error
NotifyGroup implement urlenc.URLValuesUnmarshaler.
func (*NotifyGroup) Validate ¶
func (this *NotifyGroup) Validate() error
type NotifyGroupDetail ¶
type NotifyGroupDetail struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ScopeType string `protobuf:"bytes,3,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,4,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Users []*NotifyUser `protobuf:"bytes,5,rep,name=users,proto3" json:"users,omitempty"` Targets []*NotifyTarget `protobuf:"bytes,6,rep,name=targets,proto3" json:"targets,omitempty"` DingdingList []*Target `protobuf:"bytes,7,rep,name=dingdingList,proto3" json:"dingdingList,omitempty"` DingdingWorknoticeList []*Target `protobuf:"bytes,8,rep,name=dingdingWorknoticeList,proto3" json:"dingdingWorknoticeList,omitempty"` WebhookList []string `protobuf:"bytes,9,rep,name=webhookList,proto3" json:"webhookList,omitempty"` // contains filtered or unexported fields }
func (*NotifyGroupDetail) Descriptor
deprecated
func (*NotifyGroupDetail) Descriptor() ([]byte, []int)
Deprecated: Use NotifyGroupDetail.ProtoReflect.Descriptor instead.
func (*NotifyGroupDetail) GetDingdingList ¶
func (x *NotifyGroupDetail) GetDingdingList() []*Target
func (*NotifyGroupDetail) GetDingdingWorknoticeList ¶
func (x *NotifyGroupDetail) GetDingdingWorknoticeList() []*Target
func (*NotifyGroupDetail) GetId ¶
func (x *NotifyGroupDetail) GetId() int64
func (*NotifyGroupDetail) GetName ¶
func (x *NotifyGroupDetail) GetName() string
func (*NotifyGroupDetail) GetScopeId ¶
func (x *NotifyGroupDetail) GetScopeId() string
func (*NotifyGroupDetail) GetScopeType ¶
func (x *NotifyGroupDetail) GetScopeType() string
func (*NotifyGroupDetail) GetTargets ¶
func (x *NotifyGroupDetail) GetTargets() []*NotifyTarget
func (*NotifyGroupDetail) GetUsers ¶
func (x *NotifyGroupDetail) GetUsers() []*NotifyUser
func (*NotifyGroupDetail) GetWebhookList ¶
func (x *NotifyGroupDetail) GetWebhookList() []string
func (*NotifyGroupDetail) MarshalJSON ¶
func (m *NotifyGroupDetail) MarshalJSON() ([]byte, error)
NotifyGroupDetail implement json.Marshaler.
func (*NotifyGroupDetail) ProtoMessage ¶
func (*NotifyGroupDetail) ProtoMessage()
func (*NotifyGroupDetail) ProtoReflect ¶
func (x *NotifyGroupDetail) ProtoReflect() protoreflect.Message
func (*NotifyGroupDetail) Reset ¶
func (x *NotifyGroupDetail) Reset()
func (*NotifyGroupDetail) String ¶
func (x *NotifyGroupDetail) String() string
func (*NotifyGroupDetail) UnmarshalJSON ¶
func (m *NotifyGroupDetail) UnmarshalJSON(b []byte) error
NotifyGroupDetail implement json.Marshaler.
func (*NotifyGroupDetail) UnmarshalURLValues ¶
func (m *NotifyGroupDetail) UnmarshalURLValues(prefix string, values url.Values) error
NotifyGroupDetail implement urlenc.URLValuesUnmarshaler.
func (*NotifyGroupDetail) Validate ¶
func (this *NotifyGroupDetail) Validate() error
type NotifyGroupServiceClient ¶
type NotifyGroupServiceClient interface { CreateNotifyGroup(ctx context.Context, in *CreateNotifyGroupRequest, opts ...grpc.CallOption) (*CreateNotifyGroupResponse, error) QueryNotifyGroup(ctx context.Context, in *QueryNotifyGroupRequest, opts ...grpc.CallOption) (*QueryNotifyGroupResponse, error) GetNotifyGroup(ctx context.Context, in *GetNotifyGroupRequest, opts ...grpc.CallOption) (*GetNotifyGroupResponse, error) UpdateNotifyGroup(ctx context.Context, in *UpdateNotifyGroupRequest, opts ...grpc.CallOption) (*UpdateNotifyGroupResponse, error) GetNotifyGroupDetail(ctx context.Context, in *GetNotifyGroupDetailRequest, opts ...grpc.CallOption) (*GetNotifyGroupDetailResponse, error) DeleteNotifyGroup(ctx context.Context, in *DeleteNotifyGroupRequest, opts ...grpc.CallOption) (*DeleteNotifyGroupResponse, error) }
NotifyGroupServiceClient is the client API for NotifyGroupService 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 NewNotifyGroupServiceClient ¶
func NewNotifyGroupServiceClient(cc grpc1.ClientConnInterface) NotifyGroupServiceClient
type NotifyGroupServiceHandler ¶
type NotifyGroupServiceHandler interface { // POST /api/msp/notify-groups CreateNotifyGroup(context.Context, *CreateNotifyGroupRequest) (*CreateNotifyGroupResponse, error) // GET /api/msp/notify-groups QueryNotifyGroup(context.Context, *QueryNotifyGroupRequest) (*QueryNotifyGroupResponse, error) // GET /api/msp/notify-groups/{groupID} GetNotifyGroup(context.Context, *GetNotifyGroupRequest) (*GetNotifyGroupResponse, error) // PUT /api/msp/notify-groups/{groupID} UpdateNotifyGroup(context.Context, *UpdateNotifyGroupRequest) (*UpdateNotifyGroupResponse, error) // GET /api/msp/notify-groups/{groupID}/detail GetNotifyGroupDetail(context.Context, *GetNotifyGroupDetailRequest) (*GetNotifyGroupDetailResponse, error) // DELETE /api/msp/notify-groups/{groupID} DeleteNotifyGroup(context.Context, *DeleteNotifyGroupRequest) (*DeleteNotifyGroupResponse, error) }
NotifyGroupServiceHandler is the server API for NotifyGroupService service.
type NotifyGroupServiceServer ¶
type NotifyGroupServiceServer interface { CreateNotifyGroup(context.Context, *CreateNotifyGroupRequest) (*CreateNotifyGroupResponse, error) QueryNotifyGroup(context.Context, *QueryNotifyGroupRequest) (*QueryNotifyGroupResponse, error) GetNotifyGroup(context.Context, *GetNotifyGroupRequest) (*GetNotifyGroupResponse, error) UpdateNotifyGroup(context.Context, *UpdateNotifyGroupRequest) (*UpdateNotifyGroupResponse, error) GetNotifyGroupDetail(context.Context, *GetNotifyGroupDetailRequest) (*GetNotifyGroupDetailResponse, error) DeleteNotifyGroup(context.Context, *DeleteNotifyGroupRequest) (*DeleteNotifyGroupResponse, error) }
NotifyGroupServiceServer is the server API for NotifyGroupService service. All implementations should embed UnimplementedNotifyGroupServiceServer for forward compatibility
type NotifyTarget ¶
type NotifyTarget struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Values []*Target `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() []*Target
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 NotifyUser ¶
type NotifyUser struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Mobile string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*NotifyUser) Descriptor
deprecated
func (*NotifyUser) Descriptor() ([]byte, []int)
Deprecated: Use NotifyUser.ProtoReflect.Descriptor instead.
func (*NotifyUser) GetEmail ¶
func (x *NotifyUser) GetEmail() string
func (*NotifyUser) GetId ¶
func (x *NotifyUser) GetId() string
func (*NotifyUser) GetMobile ¶
func (x *NotifyUser) GetMobile() string
func (*NotifyUser) GetType ¶
func (x *NotifyUser) GetType() string
func (*NotifyUser) GetUsername ¶
func (x *NotifyUser) GetUsername() string
func (*NotifyUser) MarshalJSON ¶
func (m *NotifyUser) MarshalJSON() ([]byte, error)
NotifyUser implement json.Marshaler.
func (*NotifyUser) ProtoMessage ¶
func (*NotifyUser) ProtoMessage()
func (*NotifyUser) ProtoReflect ¶
func (x *NotifyUser) ProtoReflect() protoreflect.Message
func (*NotifyUser) Reset ¶
func (x *NotifyUser) Reset()
func (*NotifyUser) String ¶
func (x *NotifyUser) String() string
func (*NotifyUser) UnmarshalJSON ¶
func (m *NotifyUser) UnmarshalJSON(b []byte) error
NotifyUser implement json.Marshaler.
func (*NotifyUser) UnmarshalURLValues ¶
func (m *NotifyUser) UnmarshalURLValues(prefix string, values url.Values) error
NotifyUser implement urlenc.URLValuesUnmarshaler.
func (*NotifyUser) Validate ¶
func (this *NotifyUser) Validate() error
type QueryNotifyGroupData ¶
type QueryNotifyGroupData struct { List []*NotifyGroup `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*QueryNotifyGroupData) Descriptor
deprecated
func (*QueryNotifyGroupData) Descriptor() ([]byte, []int)
Deprecated: Use QueryNotifyGroupData.ProtoReflect.Descriptor instead.
func (*QueryNotifyGroupData) GetList ¶
func (x *QueryNotifyGroupData) GetList() []*NotifyGroup
func (*QueryNotifyGroupData) GetTotal ¶
func (x *QueryNotifyGroupData) GetTotal() int64
func (*QueryNotifyGroupData) MarshalJSON ¶
func (m *QueryNotifyGroupData) MarshalJSON() ([]byte, error)
QueryNotifyGroupData implement json.Marshaler.
func (*QueryNotifyGroupData) ProtoMessage ¶
func (*QueryNotifyGroupData) ProtoMessage()
func (*QueryNotifyGroupData) ProtoReflect ¶
func (x *QueryNotifyGroupData) ProtoReflect() protoreflect.Message
func (*QueryNotifyGroupData) Reset ¶
func (x *QueryNotifyGroupData) Reset()
func (*QueryNotifyGroupData) String ¶
func (x *QueryNotifyGroupData) String() string
func (*QueryNotifyGroupData) UnmarshalJSON ¶
func (m *QueryNotifyGroupData) UnmarshalJSON(b []byte) error
QueryNotifyGroupData implement json.Marshaler.
func (*QueryNotifyGroupData) UnmarshalURLValues ¶
func (m *QueryNotifyGroupData) UnmarshalURLValues(prefix string, values url.Values) error
QueryNotifyGroupData implement urlenc.URLValuesUnmarshaler.
func (*QueryNotifyGroupData) Validate ¶
func (this *QueryNotifyGroupData) Validate() error
type QueryNotifyGroupRequest ¶
type QueryNotifyGroupRequest struct { PageNo int64 `protobuf:"varint,1,opt,name=pageNo,proto3" json:"pageNo,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` ScopeType string `protobuf:"bytes,3,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,4,opt,name=scopeId,proto3" json:"scopeId,omitempty"` Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"` ClusterName string `protobuf:"bytes,6,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Names []string `protobuf:"bytes,7,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*QueryNotifyGroupRequest) Descriptor
deprecated
func (*QueryNotifyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryNotifyGroupRequest.ProtoReflect.Descriptor instead.
func (*QueryNotifyGroupRequest) GetClusterName ¶
func (x *QueryNotifyGroupRequest) GetClusterName() string
func (*QueryNotifyGroupRequest) GetLabel ¶
func (x *QueryNotifyGroupRequest) GetLabel() string
func (*QueryNotifyGroupRequest) GetNames ¶
func (x *QueryNotifyGroupRequest) GetNames() []string
func (*QueryNotifyGroupRequest) GetPageNo ¶
func (x *QueryNotifyGroupRequest) GetPageNo() int64
func (*QueryNotifyGroupRequest) GetPageSize ¶
func (x *QueryNotifyGroupRequest) GetPageSize() int64
func (*QueryNotifyGroupRequest) GetScopeId ¶
func (x *QueryNotifyGroupRequest) GetScopeId() string
func (*QueryNotifyGroupRequest) GetScopeType ¶
func (x *QueryNotifyGroupRequest) GetScopeType() string
func (*QueryNotifyGroupRequest) MarshalJSON ¶
func (m *QueryNotifyGroupRequest) MarshalJSON() ([]byte, error)
QueryNotifyGroupRequest implement json.Marshaler.
func (*QueryNotifyGroupRequest) ProtoMessage ¶
func (*QueryNotifyGroupRequest) ProtoMessage()
func (*QueryNotifyGroupRequest) ProtoReflect ¶
func (x *QueryNotifyGroupRequest) ProtoReflect() protoreflect.Message
func (*QueryNotifyGroupRequest) Reset ¶
func (x *QueryNotifyGroupRequest) Reset()
func (*QueryNotifyGroupRequest) String ¶
func (x *QueryNotifyGroupRequest) String() string
func (*QueryNotifyGroupRequest) UnmarshalJSON ¶
func (m *QueryNotifyGroupRequest) UnmarshalJSON(b []byte) error
QueryNotifyGroupRequest implement json.Marshaler.
func (*QueryNotifyGroupRequest) UnmarshalURLValues ¶
func (m *QueryNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
QueryNotifyGroupRequest implement urlenc.URLValuesUnmarshaler.
func (*QueryNotifyGroupRequest) Validate ¶
func (this *QueryNotifyGroupRequest) Validate() error
type QueryNotifyGroupResponse ¶
type QueryNotifyGroupResponse struct { Data *QueryNotifyGroupData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"` // contains filtered or unexported fields }
func (*QueryNotifyGroupResponse) Descriptor
deprecated
func (*QueryNotifyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryNotifyGroupResponse.ProtoReflect.Descriptor instead.
func (*QueryNotifyGroupResponse) GetData ¶
func (x *QueryNotifyGroupResponse) GetData() *QueryNotifyGroupData
func (*QueryNotifyGroupResponse) GetUserIDs ¶ added in v1.3.1
func (x *QueryNotifyGroupResponse) GetUserIDs() []string
func (*QueryNotifyGroupResponse) MarshalJSON ¶
func (m *QueryNotifyGroupResponse) MarshalJSON() ([]byte, error)
QueryNotifyGroupResponse implement json.Marshaler.
func (*QueryNotifyGroupResponse) ProtoMessage ¶
func (*QueryNotifyGroupResponse) ProtoMessage()
func (*QueryNotifyGroupResponse) ProtoReflect ¶
func (x *QueryNotifyGroupResponse) ProtoReflect() protoreflect.Message
func (*QueryNotifyGroupResponse) Reset ¶
func (x *QueryNotifyGroupResponse) Reset()
func (*QueryNotifyGroupResponse) String ¶
func (x *QueryNotifyGroupResponse) String() string
func (*QueryNotifyGroupResponse) UnmarshalJSON ¶
func (m *QueryNotifyGroupResponse) UnmarshalJSON(b []byte) error
QueryNotifyGroupResponse implement json.Marshaler.
func (*QueryNotifyGroupResponse) UnmarshalURLValues ¶
func (m *QueryNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
QueryNotifyGroupResponse implement urlenc.URLValuesUnmarshaler.
func (*QueryNotifyGroupResponse) Validate ¶
func (this *QueryNotifyGroupResponse) Validate() error
type Target ¶
type Target 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 (*Target) Descriptor
deprecated
func (*Target) GetReceiver ¶
func (*Target) MarshalJSON ¶
Target implement json.Marshaler.
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
func (*Target) UnmarshalJSON ¶
Target implement json.Marshaler.
func (*Target) UnmarshalURLValues ¶
Target implement urlenc.URLValuesUnmarshaler.
type UnimplementedNotifyGroupServiceServer ¶
type UnimplementedNotifyGroupServiceServer struct { }
UnimplementedNotifyGroupServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedNotifyGroupServiceServer) CreateNotifyGroup ¶
func (*UnimplementedNotifyGroupServiceServer) CreateNotifyGroup(context.Context, *CreateNotifyGroupRequest) (*CreateNotifyGroupResponse, error)
func (*UnimplementedNotifyGroupServiceServer) DeleteNotifyGroup ¶
func (*UnimplementedNotifyGroupServiceServer) DeleteNotifyGroup(context.Context, *DeleteNotifyGroupRequest) (*DeleteNotifyGroupResponse, error)
func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroup ¶
func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroup(context.Context, *GetNotifyGroupRequest) (*GetNotifyGroupResponse, error)
func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroupDetail ¶
func (*UnimplementedNotifyGroupServiceServer) GetNotifyGroupDetail(context.Context, *GetNotifyGroupDetailRequest) (*GetNotifyGroupDetailResponse, error)
func (*UnimplementedNotifyGroupServiceServer) QueryNotifyGroup ¶
func (*UnimplementedNotifyGroupServiceServer) QueryNotifyGroup(context.Context, *QueryNotifyGroupRequest) (*QueryNotifyGroupResponse, error)
func (*UnimplementedNotifyGroupServiceServer) UpdateNotifyGroup ¶
func (*UnimplementedNotifyGroupServiceServer) UpdateNotifyGroup(context.Context, *UpdateNotifyGroupRequest) (*UpdateNotifyGroupResponse, error)
type UpdateNotifyGroupRequest ¶
type UpdateNotifyGroupRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Targets []*NotifyTarget `protobuf:"bytes,3,rep,name=targets,proto3" json:"targets,omitempty"` GroupID int64 `protobuf:"varint,4,opt,name=groupID,proto3" json:"groupID,omitempty"` // contains filtered or unexported fields }
func (*UpdateNotifyGroupRequest) Descriptor
deprecated
func (*UpdateNotifyGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateNotifyGroupRequest) GetGroupID ¶
func (x *UpdateNotifyGroupRequest) GetGroupID() int64
func (*UpdateNotifyGroupRequest) GetId ¶
func (x *UpdateNotifyGroupRequest) GetId() int64
func (*UpdateNotifyGroupRequest) GetName ¶
func (x *UpdateNotifyGroupRequest) GetName() string
func (*UpdateNotifyGroupRequest) GetTargets ¶
func (x *UpdateNotifyGroupRequest) GetTargets() []*NotifyTarget
func (*UpdateNotifyGroupRequest) MarshalJSON ¶
func (m *UpdateNotifyGroupRequest) MarshalJSON() ([]byte, error)
UpdateNotifyGroupRequest implement json.Marshaler.
func (*UpdateNotifyGroupRequest) ProtoMessage ¶
func (*UpdateNotifyGroupRequest) ProtoMessage()
func (*UpdateNotifyGroupRequest) ProtoReflect ¶
func (x *UpdateNotifyGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateNotifyGroupRequest) Reset ¶
func (x *UpdateNotifyGroupRequest) Reset()
func (*UpdateNotifyGroupRequest) String ¶
func (x *UpdateNotifyGroupRequest) String() string
func (*UpdateNotifyGroupRequest) UnmarshalJSON ¶
func (m *UpdateNotifyGroupRequest) UnmarshalJSON(b []byte) error
UpdateNotifyGroupRequest implement json.Marshaler.
func (*UpdateNotifyGroupRequest) UnmarshalURLValues ¶
func (m *UpdateNotifyGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
UpdateNotifyGroupRequest implement urlenc.URLValuesUnmarshaler.
func (*UpdateNotifyGroupRequest) Validate ¶
func (this *UpdateNotifyGroupRequest) Validate() error
type UpdateNotifyGroupResponse ¶
type UpdateNotifyGroupResponse struct { Data *NotifyGroup `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdateNotifyGroupResponse) Descriptor
deprecated
func (*UpdateNotifyGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotifyGroupResponse.ProtoReflect.Descriptor instead.
func (*UpdateNotifyGroupResponse) GetData ¶
func (x *UpdateNotifyGroupResponse) GetData() *NotifyGroup
func (*UpdateNotifyGroupResponse) MarshalJSON ¶
func (m *UpdateNotifyGroupResponse) MarshalJSON() ([]byte, error)
UpdateNotifyGroupResponse implement json.Marshaler.
func (*UpdateNotifyGroupResponse) ProtoMessage ¶
func (*UpdateNotifyGroupResponse) ProtoMessage()
func (*UpdateNotifyGroupResponse) ProtoReflect ¶
func (x *UpdateNotifyGroupResponse) ProtoReflect() protoreflect.Message
func (*UpdateNotifyGroupResponse) Reset ¶
func (x *UpdateNotifyGroupResponse) Reset()
func (*UpdateNotifyGroupResponse) String ¶
func (x *UpdateNotifyGroupResponse) String() string
func (*UpdateNotifyGroupResponse) UnmarshalJSON ¶
func (m *UpdateNotifyGroupResponse) UnmarshalJSON(b []byte) error
UpdateNotifyGroupResponse implement json.Marshaler.
func (*UpdateNotifyGroupResponse) UnmarshalURLValues ¶
func (m *UpdateNotifyGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
UpdateNotifyGroupResponse implement urlenc.URLValuesUnmarshaler.
func (*UpdateNotifyGroupResponse) Validate ¶
func (this *UpdateNotifyGroupResponse) Validate() error
type UserInfo ¶
type UserInfo 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"` Nick string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` LastLoginAt string `protobuf:"bytes,8,opt,name=lastLoginAt,proto3" json:"lastLoginAt,omitempty"` PwdExpireAt string `protobuf:"bytes,9,opt,name=pwdExpireAt,proto3" json:"pwdExpireAt,omitempty"` Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetLastLoginAt ¶
func (*UserInfo) GetPwdExpireAt ¶
func (*UserInfo) MarshalJSON ¶
UserInfo implement json.Marshaler.
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
func (*UserInfo) UnmarshalJSON ¶
UserInfo implement json.Marshaler.
func (*UserInfo) UnmarshalURLValues ¶
UserInfo implement urlenc.URLValuesUnmarshaler.