Documentation ¶
Index ¶
- func RegisterSendAgentServer(s *grpc.Server, srv SendAgentServer)
- type AddConfigInput
- func (*AddConfigInput) Descriptor() ([]byte, []int)
- func (m *AddConfigInput) GetConfigs() map[string]string
- func (m *AddConfigInput) GetDomainId() string
- func (*AddConfigInput) ProtoMessage()
- func (m *AddConfigInput) Reset()
- func (m *AddConfigInput) String() string
- func (m *AddConfigInput) XXX_DiscardUnknown()
- func (m *AddConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddConfigInput) XXX_Merge(src proto.Message)
- func (m *AddConfigInput) XXX_Size() int
- func (m *AddConfigInput) XXX_Unmarshal(b []byte) error
- type BatchSendParams
- func (*BatchSendParams) Descriptor() ([]byte, []int)
- func (m *BatchSendParams) GetMessage() string
- func (m *BatchSendParams) GetPriority() string
- func (m *BatchSendParams) GetReceivers() []*SReceiver
- func (m *BatchSendParams) GetRemoteTemplate() string
- func (m *BatchSendParams) GetTitle() string
- func (*BatchSendParams) ProtoMessage()
- func (m *BatchSendParams) Reset()
- func (m *BatchSendParams) String() string
- func (m *BatchSendParams) XXX_DiscardUnknown()
- func (m *BatchSendParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSendParams) XXX_Merge(src proto.Message)
- func (m *BatchSendParams) XXX_Size() int
- func (m *BatchSendParams) XXX_Unmarshal(b []byte) error
- type BatchSendReply
- func (*BatchSendReply) Descriptor() ([]byte, []int)
- func (m *BatchSendReply) GetFailedRecords() []*FailedRecord
- func (*BatchSendReply) ProtoMessage()
- func (m *BatchSendReply) Reset()
- func (m *BatchSendReply) String() string
- func (m *BatchSendReply) XXX_DiscardUnknown()
- func (m *BatchSendReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSendReply) XXX_Merge(src proto.Message)
- func (m *BatchSendReply) XXX_Size() int
- func (m *BatchSendReply) XXX_Unmarshal(b []byte) error
- type CompleteConfigInput
- func (*CompleteConfigInput) Descriptor() ([]byte, []int)
- func (m *CompleteConfigInput) GetConfigInput() []*AddConfigInput
- func (*CompleteConfigInput) ProtoMessage()
- func (m *CompleteConfigInput) Reset()
- func (m *CompleteConfigInput) String() string
- func (m *CompleteConfigInput) XXX_DiscardUnknown()
- func (m *CompleteConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompleteConfigInput) XXX_Merge(src proto.Message)
- func (m *CompleteConfigInput) XXX_Size() int
- func (m *CompleteConfigInput) XXX_Unmarshal(b []byte) error
- type DeleteConfigInput
- func (*DeleteConfigInput) Descriptor() ([]byte, []int)
- func (m *DeleteConfigInput) GetDomainId() string
- func (*DeleteConfigInput) ProtoMessage()
- func (m *DeleteConfigInput) Reset()
- func (m *DeleteConfigInput) String() string
- func (m *DeleteConfigInput) XXX_DiscardUnknown()
- func (m *DeleteConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConfigInput) XXX_Merge(src proto.Message)
- func (m *DeleteConfigInput) XXX_Size() int
- func (m *DeleteConfigInput) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type FailedRecord
- func (*FailedRecord) Descriptor() ([]byte, []int)
- func (m *FailedRecord) GetReason() string
- func (m *FailedRecord) GetReceiver() *SReceiver
- func (*FailedRecord) ProtoMessage()
- func (m *FailedRecord) Reset()
- func (m *FailedRecord) String() string
- func (m *FailedRecord) XXX_DiscardUnknown()
- func (m *FailedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FailedRecord) XXX_Merge(src proto.Message)
- func (m *FailedRecord) XXX_Size() int
- func (m *FailedRecord) XXX_Unmarshal(b []byte) error
- type ReadyInput
- func (*ReadyInput) Descriptor() ([]byte, []int)
- func (m *ReadyInput) GetDomainIds() []string
- func (*ReadyInput) ProtoMessage()
- func (m *ReadyInput) Reset()
- func (m *ReadyInput) String() string
- func (m *ReadyInput) XXX_DiscardUnknown()
- func (m *ReadyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadyInput) XXX_Merge(src proto.Message)
- func (m *ReadyInput) XXX_Size() int
- func (m *ReadyInput) XXX_Unmarshal(b []byte) error
- type ReadyOutput
- func (*ReadyOutput) Descriptor() ([]byte, []int)
- func (m *ReadyOutput) GetOk() bool
- func (*ReadyOutput) ProtoMessage()
- func (m *ReadyOutput) Reset()
- func (m *ReadyOutput) String() string
- func (m *ReadyOutput) XXX_DiscardUnknown()
- func (m *ReadyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadyOutput) XXX_Merge(src proto.Message)
- func (m *ReadyOutput) XXX_Size() int
- func (m *ReadyOutput) XXX_Unmarshal(b []byte) error
- type SReceiver
- func (*SReceiver) Descriptor() ([]byte, []int)
- func (m *SReceiver) GetContact() string
- func (m *SReceiver) GetDomainId() string
- func (*SReceiver) ProtoMessage()
- func (m *SReceiver) Reset()
- func (m *SReceiver) String() string
- func (m *SReceiver) XXX_DiscardUnknown()
- func (m *SReceiver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SReceiver) XXX_Merge(src proto.Message)
- func (m *SReceiver) XXX_Size() int
- func (m *SReceiver) XXX_Unmarshal(b []byte) error
- type SendAgentClient
- type SendAgentServer
- type SendNotificationClient
- func (c *SendNotificationClient) AddConfig(ctx context.Context, in *AddConfigInput, opts ...grpc.CallOption) (*Empty, error)
- func (c *SendNotificationClient) BatchSend(ctx context.Context, in *BatchSendParams, opts ...grpc.CallOption) (*BatchSendReply, error)
- func (c *SendNotificationClient) CompleteConfig(ctx context.Context, in *CompleteConfigInput, opts ...grpc.CallOption) (*Empty, error)
- func (c *SendNotificationClient) DeleteConfig(ctx context.Context, in *DeleteConfigInput, opts ...grpc.CallOption) (*Empty, error)
- func (c *SendNotificationClient) Ready(ctx context.Context, in *ReadyInput, opts ...grpc.CallOption) (*ReadyOutput, error)
- func (c *SendNotificationClient) Send(ctx context.Context, in *SendParams, opts ...grpc.CallOption) (*Empty, error)
- func (c *SendNotificationClient) UpdateConfig(ctx context.Context, in *UpdateConfigInput, opts ...grpc.CallOption) (*Empty, error)
- func (c *SendNotificationClient) UseridByMobile(ctx context.Context, in *UseridByMobileParams, opts ...grpc.CallOption) (*UseridByMobileReply, error)
- func (c *SendNotificationClient) ValidateConfig(ctx context.Context, in *ValidateConfigInput, opts ...grpc.CallOption) (*ValidateConfigReply, error)
- type SendParams
- func (*SendParams) Descriptor() ([]byte, []int)
- func (m *SendParams) GetMessage() string
- func (m *SendParams) GetPriority() string
- func (m *SendParams) GetReceiver() *SReceiver
- func (m *SendParams) GetRemoteTemplate() string
- func (m *SendParams) GetTitle() string
- func (m *SendParams) GetTopic() string
- func (*SendParams) ProtoMessage()
- func (m *SendParams) Reset()
- func (m *SendParams) String() string
- func (m *SendParams) XXX_DiscardUnknown()
- func (m *SendParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendParams) XXX_Merge(src proto.Message)
- func (m *SendParams) XXX_Size() int
- func (m *SendParams) XXX_Unmarshal(b []byte) error
- type UnimplementedSendAgentServer
- func (*UnimplementedSendAgentServer) AddConfig(ctx context.Context, req *AddConfigInput) (*Empty, error)
- func (*UnimplementedSendAgentServer) BatchSend(ctx context.Context, req *BatchSendParams) (*BatchSendReply, error)
- func (*UnimplementedSendAgentServer) CompleteConfig(ctx context.Context, req *CompleteConfigInput) (*Empty, error)
- func (*UnimplementedSendAgentServer) DeleteConfig(ctx context.Context, req *DeleteConfigInput) (*Empty, error)
- func (*UnimplementedSendAgentServer) Ready(ctx context.Context, req *ReadyInput) (*ReadyOutput, error)
- func (*UnimplementedSendAgentServer) Send(ctx context.Context, req *SendParams) (*Empty, error)
- func (*UnimplementedSendAgentServer) UpdateConfig(ctx context.Context, req *UpdateConfigInput) (*Empty, error)
- func (*UnimplementedSendAgentServer) UseridByMobile(ctx context.Context, req *UseridByMobileParams) (*UseridByMobileReply, error)
- func (*UnimplementedSendAgentServer) ValidateConfig(ctx context.Context, req *ValidateConfigInput) (*ValidateConfigReply, error)
- type UpdateConfigInput
- func (*UpdateConfigInput) Descriptor() ([]byte, []int)
- func (m *UpdateConfigInput) GetConfigs() map[string]string
- func (m *UpdateConfigInput) GetDomainId() string
- func (*UpdateConfigInput) ProtoMessage()
- func (m *UpdateConfigInput) Reset()
- func (m *UpdateConfigInput) String() string
- func (m *UpdateConfigInput) XXX_DiscardUnknown()
- func (m *UpdateConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigInput) XXX_Merge(src proto.Message)
- func (m *UpdateConfigInput) XXX_Size() int
- func (m *UpdateConfigInput) XXX_Unmarshal(b []byte) error
- type UseridByMobileParams
- func (*UseridByMobileParams) Descriptor() ([]byte, []int)
- func (m *UseridByMobileParams) GetDomainId() string
- func (m *UseridByMobileParams) GetMobile() string
- func (*UseridByMobileParams) ProtoMessage()
- func (m *UseridByMobileParams) Reset()
- func (m *UseridByMobileParams) String() string
- func (m *UseridByMobileParams) XXX_DiscardUnknown()
- func (m *UseridByMobileParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UseridByMobileParams) XXX_Merge(src proto.Message)
- func (m *UseridByMobileParams) XXX_Size() int
- func (m *UseridByMobileParams) XXX_Unmarshal(b []byte) error
- type UseridByMobileReply
- func (*UseridByMobileReply) Descriptor() ([]byte, []int)
- func (m *UseridByMobileReply) GetUserid() string
- func (*UseridByMobileReply) ProtoMessage()
- func (m *UseridByMobileReply) Reset()
- func (m *UseridByMobileReply) String() string
- func (m *UseridByMobileReply) XXX_DiscardUnknown()
- func (m *UseridByMobileReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UseridByMobileReply) XXX_Merge(src proto.Message)
- func (m *UseridByMobileReply) XXX_Size() int
- func (m *UseridByMobileReply) XXX_Unmarshal(b []byte) error
- type ValidateConfigInput
- func (*ValidateConfigInput) Descriptor() ([]byte, []int)
- func (m *ValidateConfigInput) GetConfigs() map[string]string
- func (*ValidateConfigInput) ProtoMessage()
- func (m *ValidateConfigInput) Reset()
- func (m *ValidateConfigInput) String() string
- func (m *ValidateConfigInput) XXX_DiscardUnknown()
- func (m *ValidateConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateConfigInput) XXX_Merge(src proto.Message)
- func (m *ValidateConfigInput) XXX_Size() int
- func (m *ValidateConfigInput) XXX_Unmarshal(b []byte) error
- type ValidateConfigReply
- func (*ValidateConfigReply) Descriptor() ([]byte, []int)
- func (m *ValidateConfigReply) GetIsValid() bool
- func (m *ValidateConfigReply) GetMsg() string
- func (*ValidateConfigReply) ProtoMessage()
- func (m *ValidateConfigReply) Reset()
- func (m *ValidateConfigReply) String() string
- func (m *ValidateConfigReply) XXX_DiscardUnknown()
- func (m *ValidateConfigReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateConfigReply) XXX_Merge(src proto.Message)
- func (m *ValidateConfigReply) XXX_Size() int
- func (m *ValidateConfigReply) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSendAgentServer ¶
func RegisterSendAgentServer(s *grpc.Server, srv SendAgentServer)
Types ¶
type AddConfigInput ¶
type AddConfigInput struct { Configs map[string]string `` /* 155-byte string literal not displayed */ DomainId string `protobuf:"bytes,2,opt,name=domainId,proto3" json:"domainId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddConfigInput) Descriptor ¶
func (*AddConfigInput) Descriptor() ([]byte, []int)
func (*AddConfigInput) GetConfigs ¶
func (m *AddConfigInput) GetConfigs() map[string]string
func (*AddConfigInput) GetDomainId ¶
func (m *AddConfigInput) GetDomainId() string
func (*AddConfigInput) ProtoMessage ¶
func (*AddConfigInput) ProtoMessage()
func (*AddConfigInput) Reset ¶
func (m *AddConfigInput) Reset()
func (*AddConfigInput) String ¶
func (m *AddConfigInput) String() string
func (*AddConfigInput) XXX_DiscardUnknown ¶
func (m *AddConfigInput) XXX_DiscardUnknown()
func (*AddConfigInput) XXX_Marshal ¶
func (m *AddConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddConfigInput) XXX_Merge ¶
func (m *AddConfigInput) XXX_Merge(src proto.Message)
func (*AddConfigInput) XXX_Size ¶
func (m *AddConfigInput) XXX_Size() int
func (*AddConfigInput) XXX_Unmarshal ¶
func (m *AddConfigInput) XXX_Unmarshal(b []byte) error
type BatchSendParams ¶
type BatchSendParams struct { Receivers []*SReceiver `protobuf:"bytes,1,rep,name=Receivers,proto3" json:"Receivers,omitempty"` Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"` Message string `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` Priority string `protobuf:"bytes,4,opt,name=Priority,proto3" json:"Priority,omitempty"` RemoteTemplate string `protobuf:"bytes,5,opt,name=RemoteTemplate,proto3" json:"RemoteTemplate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchSendParams) Descriptor ¶
func (*BatchSendParams) Descriptor() ([]byte, []int)
func (*BatchSendParams) GetMessage ¶
func (m *BatchSendParams) GetMessage() string
func (*BatchSendParams) GetPriority ¶
func (m *BatchSendParams) GetPriority() string
func (*BatchSendParams) GetReceivers ¶
func (m *BatchSendParams) GetReceivers() []*SReceiver
func (*BatchSendParams) GetRemoteTemplate ¶
func (m *BatchSendParams) GetRemoteTemplate() string
func (*BatchSendParams) GetTitle ¶
func (m *BatchSendParams) GetTitle() string
func (*BatchSendParams) ProtoMessage ¶
func (*BatchSendParams) ProtoMessage()
func (*BatchSendParams) Reset ¶
func (m *BatchSendParams) Reset()
func (*BatchSendParams) String ¶
func (m *BatchSendParams) String() string
func (*BatchSendParams) XXX_DiscardUnknown ¶
func (m *BatchSendParams) XXX_DiscardUnknown()
func (*BatchSendParams) XXX_Marshal ¶
func (m *BatchSendParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSendParams) XXX_Merge ¶
func (m *BatchSendParams) XXX_Merge(src proto.Message)
func (*BatchSendParams) XXX_Size ¶
func (m *BatchSendParams) XXX_Size() int
func (*BatchSendParams) XXX_Unmarshal ¶
func (m *BatchSendParams) XXX_Unmarshal(b []byte) error
type BatchSendReply ¶
type BatchSendReply struct { FailedRecords []*FailedRecord `protobuf:"bytes,1,rep,name=FailedRecords,proto3" json:"FailedRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchSendReply) Descriptor ¶
func (*BatchSendReply) Descriptor() ([]byte, []int)
func (*BatchSendReply) GetFailedRecords ¶
func (m *BatchSendReply) GetFailedRecords() []*FailedRecord
func (*BatchSendReply) ProtoMessage ¶
func (*BatchSendReply) ProtoMessage()
func (*BatchSendReply) Reset ¶
func (m *BatchSendReply) Reset()
func (*BatchSendReply) String ¶
func (m *BatchSendReply) String() string
func (*BatchSendReply) XXX_DiscardUnknown ¶
func (m *BatchSendReply) XXX_DiscardUnknown()
func (*BatchSendReply) XXX_Marshal ¶
func (m *BatchSendReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSendReply) XXX_Merge ¶
func (m *BatchSendReply) XXX_Merge(src proto.Message)
func (*BatchSendReply) XXX_Size ¶
func (m *BatchSendReply) XXX_Size() int
func (*BatchSendReply) XXX_Unmarshal ¶
func (m *BatchSendReply) XXX_Unmarshal(b []byte) error
type CompleteConfigInput ¶
type CompleteConfigInput struct { ConfigInput []*AddConfigInput `protobuf:"bytes,1,rep,name=ConfigInput,proto3" json:"ConfigInput,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompleteConfigInput) Descriptor ¶
func (*CompleteConfigInput) Descriptor() ([]byte, []int)
func (*CompleteConfigInput) GetConfigInput ¶
func (m *CompleteConfigInput) GetConfigInput() []*AddConfigInput
func (*CompleteConfigInput) ProtoMessage ¶
func (*CompleteConfigInput) ProtoMessage()
func (*CompleteConfigInput) Reset ¶
func (m *CompleteConfigInput) Reset()
func (*CompleteConfigInput) String ¶
func (m *CompleteConfigInput) String() string
func (*CompleteConfigInput) XXX_DiscardUnknown ¶
func (m *CompleteConfigInput) XXX_DiscardUnknown()
func (*CompleteConfigInput) XXX_Marshal ¶
func (m *CompleteConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompleteConfigInput) XXX_Merge ¶
func (m *CompleteConfigInput) XXX_Merge(src proto.Message)
func (*CompleteConfigInput) XXX_Size ¶
func (m *CompleteConfigInput) XXX_Size() int
func (*CompleteConfigInput) XXX_Unmarshal ¶
func (m *CompleteConfigInput) XXX_Unmarshal(b []byte) error
type DeleteConfigInput ¶
type DeleteConfigInput struct { DomainId string `protobuf:"bytes,1,opt,name=domainId,proto3" json:"domainId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteConfigInput) Descriptor ¶
func (*DeleteConfigInput) Descriptor() ([]byte, []int)
func (*DeleteConfigInput) GetDomainId ¶
func (m *DeleteConfigInput) GetDomainId() string
func (*DeleteConfigInput) ProtoMessage ¶
func (*DeleteConfigInput) ProtoMessage()
func (*DeleteConfigInput) Reset ¶
func (m *DeleteConfigInput) Reset()
func (*DeleteConfigInput) String ¶
func (m *DeleteConfigInput) String() string
func (*DeleteConfigInput) XXX_DiscardUnknown ¶
func (m *DeleteConfigInput) XXX_DiscardUnknown()
func (*DeleteConfigInput) XXX_Marshal ¶
func (m *DeleteConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteConfigInput) XXX_Merge ¶
func (m *DeleteConfigInput) XXX_Merge(src proto.Message)
func (*DeleteConfigInput) XXX_Size ¶
func (m *DeleteConfigInput) XXX_Size() int
func (*DeleteConfigInput) XXX_Unmarshal ¶
func (m *DeleteConfigInput) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type FailedRecord ¶
type FailedRecord struct { Receiver *SReceiver `protobuf:"bytes,1,opt,name=Receiver,proto3" json:"Receiver,omitempty"` Reason string `protobuf:"bytes,2,opt,name=Reason,proto3" json:"Reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FailedRecord) Descriptor ¶
func (*FailedRecord) Descriptor() ([]byte, []int)
func (*FailedRecord) GetReason ¶
func (m *FailedRecord) GetReason() string
func (*FailedRecord) GetReceiver ¶
func (m *FailedRecord) GetReceiver() *SReceiver
func (*FailedRecord) ProtoMessage ¶
func (*FailedRecord) ProtoMessage()
func (*FailedRecord) Reset ¶
func (m *FailedRecord) Reset()
func (*FailedRecord) String ¶
func (m *FailedRecord) String() string
func (*FailedRecord) XXX_DiscardUnknown ¶
func (m *FailedRecord) XXX_DiscardUnknown()
func (*FailedRecord) XXX_Marshal ¶
func (m *FailedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FailedRecord) XXX_Merge ¶
func (m *FailedRecord) XXX_Merge(src proto.Message)
func (*FailedRecord) XXX_Size ¶
func (m *FailedRecord) XXX_Size() int
func (*FailedRecord) XXX_Unmarshal ¶
func (m *FailedRecord) XXX_Unmarshal(b []byte) error
type ReadyInput ¶
type ReadyInput struct { DomainIds []string `protobuf:"bytes,1,rep,name=DomainIds,proto3" json:"DomainIds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadyInput) Descriptor ¶
func (*ReadyInput) Descriptor() ([]byte, []int)
func (*ReadyInput) GetDomainIds ¶
func (m *ReadyInput) GetDomainIds() []string
func (*ReadyInput) ProtoMessage ¶
func (*ReadyInput) ProtoMessage()
func (*ReadyInput) Reset ¶
func (m *ReadyInput) Reset()
func (*ReadyInput) String ¶
func (m *ReadyInput) String() string
func (*ReadyInput) XXX_DiscardUnknown ¶
func (m *ReadyInput) XXX_DiscardUnknown()
func (*ReadyInput) XXX_Marshal ¶
func (m *ReadyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadyInput) XXX_Merge ¶
func (m *ReadyInput) XXX_Merge(src proto.Message)
func (*ReadyInput) XXX_Size ¶
func (m *ReadyInput) XXX_Size() int
func (*ReadyInput) XXX_Unmarshal ¶
func (m *ReadyInput) XXX_Unmarshal(b []byte) error
type ReadyOutput ¶
type ReadyOutput struct { Ok bool `protobuf:"varint,1,opt,name=Ok,proto3" json:"Ok,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadyOutput) Descriptor ¶
func (*ReadyOutput) Descriptor() ([]byte, []int)
func (*ReadyOutput) GetOk ¶
func (m *ReadyOutput) GetOk() bool
func (*ReadyOutput) ProtoMessage ¶
func (*ReadyOutput) ProtoMessage()
func (*ReadyOutput) Reset ¶
func (m *ReadyOutput) Reset()
func (*ReadyOutput) String ¶
func (m *ReadyOutput) String() string
func (*ReadyOutput) XXX_DiscardUnknown ¶
func (m *ReadyOutput) XXX_DiscardUnknown()
func (*ReadyOutput) XXX_Marshal ¶
func (m *ReadyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadyOutput) XXX_Merge ¶
func (m *ReadyOutput) XXX_Merge(src proto.Message)
func (*ReadyOutput) XXX_Size ¶
func (m *ReadyOutput) XXX_Size() int
func (*ReadyOutput) XXX_Unmarshal ¶
func (m *ReadyOutput) XXX_Unmarshal(b []byte) error
type SReceiver ¶
type SReceiver struct { Contact string `protobuf:"bytes,1,opt,name=Contact,proto3" json:"Contact,omitempty"` DomainId string `protobuf:"bytes,2,opt,name=DomainId,proto3" json:"DomainId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SReceiver) Descriptor ¶
func (*SReceiver) GetContact ¶
func (*SReceiver) GetDomainId ¶
func (*SReceiver) ProtoMessage ¶
func (*SReceiver) ProtoMessage()
func (*SReceiver) XXX_DiscardUnknown ¶
func (m *SReceiver) XXX_DiscardUnknown()
func (*SReceiver) XXX_Marshal ¶
func (*SReceiver) XXX_Unmarshal ¶
type SendAgentClient ¶
type SendAgentClient interface { Ready(ctx context.Context, in *ReadyInput, opts ...grpc.CallOption) (*ReadyOutput, error) Send(ctx context.Context, in *SendParams, opts ...grpc.CallOption) (*Empty, error) AddConfig(ctx context.Context, in *AddConfigInput, opts ...grpc.CallOption) (*Empty, error) CompleteConfig(ctx context.Context, in *CompleteConfigInput, opts ...grpc.CallOption) (*Empty, error) UpdateConfig(ctx context.Context, in *UpdateConfigInput, opts ...grpc.CallOption) (*Empty, error) DeleteConfig(ctx context.Context, in *DeleteConfigInput, opts ...grpc.CallOption) (*Empty, error) ValidateConfig(ctx context.Context, in *ValidateConfigInput, opts ...grpc.CallOption) (*ValidateConfigReply, error) UseridByMobile(ctx context.Context, in *UseridByMobileParams, opts ...grpc.CallOption) (*UseridByMobileReply, error) BatchSend(ctx context.Context, in *BatchSendParams, opts ...grpc.CallOption) (*BatchSendReply, error) }
SendAgentClient is the client API for SendAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSendAgentClient ¶
func NewSendAgentClient(cc *grpc.ClientConn) SendAgentClient
type SendAgentServer ¶
type SendAgentServer interface { Ready(context.Context, *ReadyInput) (*ReadyOutput, error) Send(context.Context, *SendParams) (*Empty, error) AddConfig(context.Context, *AddConfigInput) (*Empty, error) CompleteConfig(context.Context, *CompleteConfigInput) (*Empty, error) UpdateConfig(context.Context, *UpdateConfigInput) (*Empty, error) DeleteConfig(context.Context, *DeleteConfigInput) (*Empty, error) ValidateConfig(context.Context, *ValidateConfigInput) (*ValidateConfigReply, error) UseridByMobile(context.Context, *UseridByMobileParams) (*UseridByMobileReply, error) BatchSend(context.Context, *BatchSendParams) (*BatchSendReply, error) }
SendAgentServer is the server API for SendAgent service.
type SendNotificationClient ¶
type SendNotificationClient struct { Conn *grpc.ClientConn CallTimeout time.Duration // contains filtered or unexported fields }
func NewSendNotificationClient ¶
func NewSendNotificationClient(cc *grpc.ClientConn) *SendNotificationClient
func (*SendNotificationClient) AddConfig ¶
func (c *SendNotificationClient) AddConfig(ctx context.Context, in *AddConfigInput, opts ...grpc.CallOption) (*Empty, error)
func (*SendNotificationClient) BatchSend ¶
func (c *SendNotificationClient) BatchSend(ctx context.Context, in *BatchSendParams, opts ...grpc.CallOption) (*BatchSendReply, error)
func (*SendNotificationClient) CompleteConfig ¶
func (c *SendNotificationClient) CompleteConfig(ctx context.Context, in *CompleteConfigInput, opts ...grpc.CallOption) (*Empty, error)
func (*SendNotificationClient) DeleteConfig ¶
func (c *SendNotificationClient) DeleteConfig(ctx context.Context, in *DeleteConfigInput, opts ...grpc.CallOption) (*Empty, error)
func (*SendNotificationClient) Ready ¶
func (c *SendNotificationClient) Ready(ctx context.Context, in *ReadyInput, opts ...grpc.CallOption) (*ReadyOutput, error)
func (*SendNotificationClient) Send ¶
func (c *SendNotificationClient) Send(ctx context.Context, in *SendParams, opts ...grpc.CallOption) (*Empty, error)
func (*SendNotificationClient) UpdateConfig ¶
func (c *SendNotificationClient) UpdateConfig(ctx context.Context, in *UpdateConfigInput, opts ...grpc.CallOption) (*Empty, error)
func (*SendNotificationClient) UseridByMobile ¶
func (c *SendNotificationClient) UseridByMobile(ctx context.Context, in *UseridByMobileParams, opts ...grpc.CallOption) (*UseridByMobileReply, error)
func (*SendNotificationClient) ValidateConfig ¶
func (c *SendNotificationClient) ValidateConfig(ctx context.Context, in *ValidateConfigInput, opts ...grpc.CallOption) (*ValidateConfigReply, error)
type SendParams ¶
type SendParams struct { Receiver *SReceiver `protobuf:"bytes,1,opt,name=Receiver,proto3" json:"Receiver,omitempty"` Topic string `protobuf:"bytes,2,opt,name=Topic,proto3" json:"Topic,omitempty"` Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"` Message string `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"` Priority string `protobuf:"bytes,5,opt,name=Priority,proto3" json:"Priority,omitempty"` RemoteTemplate string `protobuf:"bytes,6,opt,name=RemoteTemplate,proto3" json:"RemoteTemplate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendParams) Descriptor ¶
func (*SendParams) Descriptor() ([]byte, []int)
func (*SendParams) GetMessage ¶
func (m *SendParams) GetMessage() string
func (*SendParams) GetPriority ¶
func (m *SendParams) GetPriority() string
func (*SendParams) GetReceiver ¶
func (m *SendParams) GetReceiver() *SReceiver
func (*SendParams) GetRemoteTemplate ¶
func (m *SendParams) GetRemoteTemplate() string
func (*SendParams) GetTitle ¶
func (m *SendParams) GetTitle() string
func (*SendParams) GetTopic ¶
func (m *SendParams) GetTopic() string
func (*SendParams) ProtoMessage ¶
func (*SendParams) ProtoMessage()
func (*SendParams) Reset ¶
func (m *SendParams) Reset()
func (*SendParams) String ¶
func (m *SendParams) String() string
func (*SendParams) XXX_DiscardUnknown ¶
func (m *SendParams) XXX_DiscardUnknown()
func (*SendParams) XXX_Marshal ¶
func (m *SendParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendParams) XXX_Merge ¶
func (m *SendParams) XXX_Merge(src proto.Message)
func (*SendParams) XXX_Size ¶
func (m *SendParams) XXX_Size() int
func (*SendParams) XXX_Unmarshal ¶
func (m *SendParams) XXX_Unmarshal(b []byte) error
type UnimplementedSendAgentServer ¶
type UnimplementedSendAgentServer struct { }
UnimplementedSendAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedSendAgentServer) AddConfig ¶
func (*UnimplementedSendAgentServer) AddConfig(ctx context.Context, req *AddConfigInput) (*Empty, error)
func (*UnimplementedSendAgentServer) BatchSend ¶
func (*UnimplementedSendAgentServer) BatchSend(ctx context.Context, req *BatchSendParams) (*BatchSendReply, error)
func (*UnimplementedSendAgentServer) CompleteConfig ¶
func (*UnimplementedSendAgentServer) CompleteConfig(ctx context.Context, req *CompleteConfigInput) (*Empty, error)
func (*UnimplementedSendAgentServer) DeleteConfig ¶
func (*UnimplementedSendAgentServer) DeleteConfig(ctx context.Context, req *DeleteConfigInput) (*Empty, error)
func (*UnimplementedSendAgentServer) Ready ¶
func (*UnimplementedSendAgentServer) Ready(ctx context.Context, req *ReadyInput) (*ReadyOutput, error)
func (*UnimplementedSendAgentServer) Send ¶
func (*UnimplementedSendAgentServer) Send(ctx context.Context, req *SendParams) (*Empty, error)
func (*UnimplementedSendAgentServer) UpdateConfig ¶
func (*UnimplementedSendAgentServer) UpdateConfig(ctx context.Context, req *UpdateConfigInput) (*Empty, error)
func (*UnimplementedSendAgentServer) UseridByMobile ¶
func (*UnimplementedSendAgentServer) UseridByMobile(ctx context.Context, req *UseridByMobileParams) (*UseridByMobileReply, error)
func (*UnimplementedSendAgentServer) ValidateConfig ¶
func (*UnimplementedSendAgentServer) ValidateConfig(ctx context.Context, req *ValidateConfigInput) (*ValidateConfigReply, error)
type UpdateConfigInput ¶
type UpdateConfigInput struct { Configs map[string]string `` /* 155-byte string literal not displayed */ DomainId string `protobuf:"bytes,2,opt,name=domainId,proto3" json:"domainId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateConfigInput) Descriptor ¶
func (*UpdateConfigInput) Descriptor() ([]byte, []int)
func (*UpdateConfigInput) GetConfigs ¶
func (m *UpdateConfigInput) GetConfigs() map[string]string
func (*UpdateConfigInput) GetDomainId ¶
func (m *UpdateConfigInput) GetDomainId() string
func (*UpdateConfigInput) ProtoMessage ¶
func (*UpdateConfigInput) ProtoMessage()
func (*UpdateConfigInput) Reset ¶
func (m *UpdateConfigInput) Reset()
func (*UpdateConfigInput) String ¶
func (m *UpdateConfigInput) String() string
func (*UpdateConfigInput) XXX_DiscardUnknown ¶
func (m *UpdateConfigInput) XXX_DiscardUnknown()
func (*UpdateConfigInput) XXX_Marshal ¶
func (m *UpdateConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigInput) XXX_Merge ¶
func (m *UpdateConfigInput) XXX_Merge(src proto.Message)
func (*UpdateConfigInput) XXX_Size ¶
func (m *UpdateConfigInput) XXX_Size() int
func (*UpdateConfigInput) XXX_Unmarshal ¶
func (m *UpdateConfigInput) XXX_Unmarshal(b []byte) error
type UseridByMobileParams ¶
type UseridByMobileParams struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` DomainId string `protobuf:"bytes,2,opt,name=domainId,proto3" json:"domainId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UseridByMobileParams) Descriptor ¶
func (*UseridByMobileParams) Descriptor() ([]byte, []int)
func (*UseridByMobileParams) GetDomainId ¶
func (m *UseridByMobileParams) GetDomainId() string
func (*UseridByMobileParams) GetMobile ¶
func (m *UseridByMobileParams) GetMobile() string
func (*UseridByMobileParams) ProtoMessage ¶
func (*UseridByMobileParams) ProtoMessage()
func (*UseridByMobileParams) Reset ¶
func (m *UseridByMobileParams) Reset()
func (*UseridByMobileParams) String ¶
func (m *UseridByMobileParams) String() string
func (*UseridByMobileParams) XXX_DiscardUnknown ¶
func (m *UseridByMobileParams) XXX_DiscardUnknown()
func (*UseridByMobileParams) XXX_Marshal ¶
func (m *UseridByMobileParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UseridByMobileParams) XXX_Merge ¶
func (m *UseridByMobileParams) XXX_Merge(src proto.Message)
func (*UseridByMobileParams) XXX_Size ¶
func (m *UseridByMobileParams) XXX_Size() int
func (*UseridByMobileParams) XXX_Unmarshal ¶
func (m *UseridByMobileParams) XXX_Unmarshal(b []byte) error
type UseridByMobileReply ¶
type UseridByMobileReply struct { Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UseridByMobileReply) Descriptor ¶
func (*UseridByMobileReply) Descriptor() ([]byte, []int)
func (*UseridByMobileReply) GetUserid ¶
func (m *UseridByMobileReply) GetUserid() string
func (*UseridByMobileReply) ProtoMessage ¶
func (*UseridByMobileReply) ProtoMessage()
func (*UseridByMobileReply) Reset ¶
func (m *UseridByMobileReply) Reset()
func (*UseridByMobileReply) String ¶
func (m *UseridByMobileReply) String() string
func (*UseridByMobileReply) XXX_DiscardUnknown ¶
func (m *UseridByMobileReply) XXX_DiscardUnknown()
func (*UseridByMobileReply) XXX_Marshal ¶
func (m *UseridByMobileReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UseridByMobileReply) XXX_Merge ¶
func (m *UseridByMobileReply) XXX_Merge(src proto.Message)
func (*UseridByMobileReply) XXX_Size ¶
func (m *UseridByMobileReply) XXX_Size() int
func (*UseridByMobileReply) XXX_Unmarshal ¶
func (m *UseridByMobileReply) XXX_Unmarshal(b []byte) error
type ValidateConfigInput ¶
type ValidateConfigInput struct { Configs map[string]string `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidateConfigInput) Descriptor ¶
func (*ValidateConfigInput) Descriptor() ([]byte, []int)
func (*ValidateConfigInput) GetConfigs ¶
func (m *ValidateConfigInput) GetConfigs() map[string]string
func (*ValidateConfigInput) ProtoMessage ¶
func (*ValidateConfigInput) ProtoMessage()
func (*ValidateConfigInput) Reset ¶
func (m *ValidateConfigInput) Reset()
func (*ValidateConfigInput) String ¶
func (m *ValidateConfigInput) String() string
func (*ValidateConfigInput) XXX_DiscardUnknown ¶
func (m *ValidateConfigInput) XXX_DiscardUnknown()
func (*ValidateConfigInput) XXX_Marshal ¶
func (m *ValidateConfigInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateConfigInput) XXX_Merge ¶
func (m *ValidateConfigInput) XXX_Merge(src proto.Message)
func (*ValidateConfigInput) XXX_Size ¶
func (m *ValidateConfigInput) XXX_Size() int
func (*ValidateConfigInput) XXX_Unmarshal ¶
func (m *ValidateConfigInput) XXX_Unmarshal(b []byte) error
type ValidateConfigReply ¶
type ValidateConfigReply struct { IsValid bool `protobuf:"varint,1,opt,name=isValid,proto3" json:"isValid,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidateConfigReply) Descriptor ¶
func (*ValidateConfigReply) Descriptor() ([]byte, []int)
func (*ValidateConfigReply) GetIsValid ¶
func (m *ValidateConfigReply) GetIsValid() bool
func (*ValidateConfigReply) GetMsg ¶
func (m *ValidateConfigReply) GetMsg() string
func (*ValidateConfigReply) ProtoMessage ¶
func (*ValidateConfigReply) ProtoMessage()
func (*ValidateConfigReply) Reset ¶
func (m *ValidateConfigReply) Reset()
func (*ValidateConfigReply) String ¶
func (m *ValidateConfigReply) String() string
func (*ValidateConfigReply) XXX_DiscardUnknown ¶
func (m *ValidateConfigReply) XXX_DiscardUnknown()
func (*ValidateConfigReply) XXX_Marshal ¶
func (m *ValidateConfigReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateConfigReply) XXX_Merge ¶
func (m *ValidateConfigReply) XXX_Merge(src proto.Message)
func (*ValidateConfigReply) XXX_Size ¶
func (m *ValidateConfigReply) XXX_Size() int
func (*ValidateConfigReply) XXX_Unmarshal ¶
func (m *ValidateConfigReply) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.