Documentation ¶
Index ¶
- Variables
- func RegisterPushMsgServiceServer(s *grpc.Server, srv PushMsgServiceServer)
- type DelUserPushTokenReq
- func (x *DelUserPushTokenReq) Check() error
- func (*DelUserPushTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelUserPushTokenReq) GetPlatformID() int32
- func (x *DelUserPushTokenReq) GetUserID() string
- func (*DelUserPushTokenReq) ProtoMessage()
- func (x *DelUserPushTokenReq) ProtoReflect() protoreflect.Message
- func (x *DelUserPushTokenReq) Reset()
- func (x *DelUserPushTokenReq) String() string
- type DelUserPushTokenResp
- type PushMsgReq
- func (x *PushMsgReq) Check() error
- func (*PushMsgReq) Descriptor() ([]byte, []int)deprecated
- func (x *PushMsgReq) GetConversationID() string
- func (x *PushMsgReq) GetMsgData() *sdkws.MsgData
- func (x *PushMsgReq) GetUserIDs() []string
- func (*PushMsgReq) ProtoMessage()
- func (x *PushMsgReq) ProtoReflect() protoreflect.Message
- func (x *PushMsgReq) Reset()
- func (x *PushMsgReq) String() string
- type PushMsgResp
- type PushMsgServiceClient
- type PushMsgServiceServer
- type UnimplementedPushMsgServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_push_push_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPushMsgServiceServer ¶
func RegisterPushMsgServiceServer(s *grpc.Server, srv PushMsgServiceServer)
Types ¶
type DelUserPushTokenReq ¶
type DelUserPushTokenReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"` // contains filtered or unexported fields }
func (*DelUserPushTokenReq) Check ¶
func (x *DelUserPushTokenReq) Check() error
func (*DelUserPushTokenReq) Descriptor
deprecated
func (*DelUserPushTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use DelUserPushTokenReq.ProtoReflect.Descriptor instead.
func (*DelUserPushTokenReq) GetPlatformID ¶
func (x *DelUserPushTokenReq) GetPlatformID() int32
func (*DelUserPushTokenReq) GetUserID ¶
func (x *DelUserPushTokenReq) GetUserID() string
func (*DelUserPushTokenReq) ProtoMessage ¶
func (*DelUserPushTokenReq) ProtoMessage()
func (*DelUserPushTokenReq) ProtoReflect ¶
func (x *DelUserPushTokenReq) ProtoReflect() protoreflect.Message
func (*DelUserPushTokenReq) Reset ¶
func (x *DelUserPushTokenReq) Reset()
func (*DelUserPushTokenReq) String ¶
func (x *DelUserPushTokenReq) String() string
type DelUserPushTokenResp ¶
type DelUserPushTokenResp struct {
// contains filtered or unexported fields
}
func (*DelUserPushTokenResp) Descriptor
deprecated
func (*DelUserPushTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use DelUserPushTokenResp.ProtoReflect.Descriptor instead.
func (*DelUserPushTokenResp) ProtoMessage ¶
func (*DelUserPushTokenResp) ProtoMessage()
func (*DelUserPushTokenResp) ProtoReflect ¶
func (x *DelUserPushTokenResp) ProtoReflect() protoreflect.Message
func (*DelUserPushTokenResp) Reset ¶
func (x *DelUserPushTokenResp) Reset()
func (*DelUserPushTokenResp) String ¶
func (x *DelUserPushTokenResp) String() string
type PushMsgReq ¶
type PushMsgReq struct { MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"` ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"` UserIDs []string `protobuf:"bytes,3,rep,name=userIDs,proto3" json:"userIDs"` // contains filtered or unexported fields }
func (*PushMsgReq) Check ¶
func (x *PushMsgReq) Check() error
func (*PushMsgReq) Descriptor
deprecated
func (*PushMsgReq) Descriptor() ([]byte, []int)
Deprecated: Use PushMsgReq.ProtoReflect.Descriptor instead.
func (*PushMsgReq) GetConversationID ¶
func (x *PushMsgReq) GetConversationID() string
func (*PushMsgReq) GetMsgData ¶
func (x *PushMsgReq) GetMsgData() *sdkws.MsgData
func (*PushMsgReq) GetUserIDs ¶
func (x *PushMsgReq) GetUserIDs() []string
func (*PushMsgReq) ProtoMessage ¶
func (*PushMsgReq) ProtoMessage()
func (*PushMsgReq) ProtoReflect ¶
func (x *PushMsgReq) ProtoReflect() protoreflect.Message
func (*PushMsgReq) Reset ¶
func (x *PushMsgReq) Reset()
func (*PushMsgReq) String ¶
func (x *PushMsgReq) String() string
type PushMsgResp ¶
type PushMsgResp struct {
// contains filtered or unexported fields
}
func (*PushMsgResp) Descriptor
deprecated
func (*PushMsgResp) Descriptor() ([]byte, []int)
Deprecated: Use PushMsgResp.ProtoReflect.Descriptor instead.
func (*PushMsgResp) ProtoMessage ¶
func (*PushMsgResp) ProtoMessage()
func (*PushMsgResp) ProtoReflect ¶
func (x *PushMsgResp) ProtoReflect() protoreflect.Message
func (*PushMsgResp) Reset ¶
func (x *PushMsgResp) Reset()
func (*PushMsgResp) String ¶
func (x *PushMsgResp) String() string
type PushMsgServiceClient ¶
type PushMsgServiceClient interface { PushMsg(ctx context.Context, in *PushMsgReq, opts ...grpc.CallOption) (*PushMsgResp, error) DelUserPushToken(ctx context.Context, in *DelUserPushTokenReq, opts ...grpc.CallOption) (*DelUserPushTokenResp, error) }
PushMsgServiceClient is the client API for PushMsgService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPushMsgServiceClient ¶
func NewPushMsgServiceClient(cc grpc.ClientConnInterface) PushMsgServiceClient
type PushMsgServiceServer ¶
type PushMsgServiceServer interface { PushMsg(context.Context, *PushMsgReq) (*PushMsgResp, error) DelUserPushToken(context.Context, *DelUserPushTokenReq) (*DelUserPushTokenResp, error) }
PushMsgServiceServer is the server API for PushMsgService service.
type UnimplementedPushMsgServiceServer ¶
type UnimplementedPushMsgServiceServer struct { }
UnimplementedPushMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPushMsgServiceServer) DelUserPushToken ¶
func (*UnimplementedPushMsgServiceServer) DelUserPushToken(context.Context, *DelUserPushTokenReq) (*DelUserPushTokenResp, error)
func (*UnimplementedPushMsgServiceServer) PushMsg ¶
func (*UnimplementedPushMsgServiceServer) PushMsg(context.Context, *PushMsgReq) (*PushMsgResp, error)
Click to show internal directories.
Click to hide internal directories.