Documentation ¶
Index ¶
- func RegisterPushMsgServiceServer(s *grpc.Server, srv PushMsgServiceServer)
- type DelUserPushTokenReq
- func (*DelUserPushTokenReq) Descriptor() ([]byte, []int)
- func (m *DelUserPushTokenReq) GetOperationID() string
- func (m *DelUserPushTokenReq) GetPlatformID() int32
- func (m *DelUserPushTokenReq) GetUserID() string
- func (*DelUserPushTokenReq) ProtoMessage()
- func (m *DelUserPushTokenReq) Reset()
- func (m *DelUserPushTokenReq) String() string
- func (m *DelUserPushTokenReq) XXX_DiscardUnknown()
- func (m *DelUserPushTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelUserPushTokenReq) XXX_Merge(src proto.Message)
- func (m *DelUserPushTokenReq) XXX_Size() int
- func (m *DelUserPushTokenReq) XXX_Unmarshal(b []byte) error
- type DelUserPushTokenResp
- func (*DelUserPushTokenResp) Descriptor() ([]byte, []int)
- func (m *DelUserPushTokenResp) GetErrCode() int32
- func (m *DelUserPushTokenResp) GetErrMsg() string
- func (*DelUserPushTokenResp) ProtoMessage()
- func (m *DelUserPushTokenResp) Reset()
- func (m *DelUserPushTokenResp) String() string
- func (m *DelUserPushTokenResp) XXX_DiscardUnknown()
- func (m *DelUserPushTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DelUserPushTokenResp) XXX_Merge(src proto.Message)
- func (m *DelUserPushTokenResp) XXX_Size() int
- func (m *DelUserPushTokenResp) XXX_Unmarshal(b []byte) error
- type PushMsgReq
- func (*PushMsgReq) Descriptor() ([]byte, []int)
- func (m *PushMsgReq) GetMsgData() *sdk_ws.MsgData
- func (m *PushMsgReq) GetOperationID() string
- func (m *PushMsgReq) GetPushToUserID() string
- func (*PushMsgReq) ProtoMessage()
- func (m *PushMsgReq) Reset()
- func (m *PushMsgReq) String() string
- func (m *PushMsgReq) XXX_DiscardUnknown()
- func (m *PushMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PushMsgReq) XXX_Merge(src proto.Message)
- func (m *PushMsgReq) XXX_Size() int
- func (m *PushMsgReq) XXX_Unmarshal(b []byte) error
- type PushMsgResp
- func (*PushMsgResp) Descriptor() ([]byte, []int)
- func (m *PushMsgResp) GetResultCode() int32
- func (*PushMsgResp) ProtoMessage()
- func (m *PushMsgResp) Reset()
- func (m *PushMsgResp) String() string
- func (m *PushMsgResp) XXX_DiscardUnknown()
- func (m *PushMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PushMsgResp) XXX_Merge(src proto.Message)
- func (m *PushMsgResp) XXX_Size() int
- func (m *PushMsgResp) XXX_Unmarshal(b []byte) error
- type PushMsgServiceClient
- type PushMsgServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPushMsgServiceServer ¶
func RegisterPushMsgServiceServer(s *grpc.Server, srv PushMsgServiceServer)
Types ¶
type DelUserPushTokenReq ¶
type DelUserPushTokenReq struct { OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"` PlatformID int32 `protobuf:"varint,3,opt,name=platformID" json:"platformID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelUserPushTokenReq) Descriptor ¶
func (*DelUserPushTokenReq) Descriptor() ([]byte, []int)
func (*DelUserPushTokenReq) GetOperationID ¶
func (m *DelUserPushTokenReq) GetOperationID() string
func (*DelUserPushTokenReq) GetPlatformID ¶
func (m *DelUserPushTokenReq) GetPlatformID() int32
func (*DelUserPushTokenReq) GetUserID ¶
func (m *DelUserPushTokenReq) GetUserID() string
func (*DelUserPushTokenReq) ProtoMessage ¶
func (*DelUserPushTokenReq) ProtoMessage()
func (*DelUserPushTokenReq) Reset ¶
func (m *DelUserPushTokenReq) Reset()
func (*DelUserPushTokenReq) String ¶
func (m *DelUserPushTokenReq) String() string
func (*DelUserPushTokenReq) XXX_DiscardUnknown ¶
func (m *DelUserPushTokenReq) XXX_DiscardUnknown()
func (*DelUserPushTokenReq) XXX_Marshal ¶
func (m *DelUserPushTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelUserPushTokenReq) XXX_Merge ¶
func (dst *DelUserPushTokenReq) XXX_Merge(src proto.Message)
func (*DelUserPushTokenReq) XXX_Size ¶
func (m *DelUserPushTokenReq) XXX_Size() int
func (*DelUserPushTokenReq) XXX_Unmarshal ¶
func (m *DelUserPushTokenReq) XXX_Unmarshal(b []byte) error
type DelUserPushTokenResp ¶
type DelUserPushTokenResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelUserPushTokenResp) Descriptor ¶
func (*DelUserPushTokenResp) Descriptor() ([]byte, []int)
func (*DelUserPushTokenResp) GetErrCode ¶
func (m *DelUserPushTokenResp) GetErrCode() int32
func (*DelUserPushTokenResp) GetErrMsg ¶
func (m *DelUserPushTokenResp) GetErrMsg() string
func (*DelUserPushTokenResp) ProtoMessage ¶
func (*DelUserPushTokenResp) ProtoMessage()
func (*DelUserPushTokenResp) Reset ¶
func (m *DelUserPushTokenResp) Reset()
func (*DelUserPushTokenResp) String ¶
func (m *DelUserPushTokenResp) String() string
func (*DelUserPushTokenResp) XXX_DiscardUnknown ¶
func (m *DelUserPushTokenResp) XXX_DiscardUnknown()
func (*DelUserPushTokenResp) XXX_Marshal ¶
func (m *DelUserPushTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelUserPushTokenResp) XXX_Merge ¶
func (dst *DelUserPushTokenResp) XXX_Merge(src proto.Message)
func (*DelUserPushTokenResp) XXX_Size ¶
func (m *DelUserPushTokenResp) XXX_Size() int
func (*DelUserPushTokenResp) XXX_Unmarshal ¶
func (m *DelUserPushTokenResp) XXX_Unmarshal(b []byte) error
type PushMsgReq ¶
type PushMsgReq struct { OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"` MsgData *sdk_ws.MsgData `protobuf:"bytes,2,opt,name=msgData" json:"msgData,omitempty"` PushToUserID string `protobuf:"bytes,3,opt,name=pushToUserID" json:"pushToUserID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushMsgReq) Descriptor ¶
func (*PushMsgReq) Descriptor() ([]byte, []int)
func (*PushMsgReq) GetMsgData ¶
func (m *PushMsgReq) GetMsgData() *sdk_ws.MsgData
func (*PushMsgReq) GetOperationID ¶
func (m *PushMsgReq) GetOperationID() string
func (*PushMsgReq) GetPushToUserID ¶
func (m *PushMsgReq) GetPushToUserID() string
func (*PushMsgReq) ProtoMessage ¶
func (*PushMsgReq) ProtoMessage()
func (*PushMsgReq) Reset ¶
func (m *PushMsgReq) Reset()
func (*PushMsgReq) String ¶
func (m *PushMsgReq) String() string
func (*PushMsgReq) XXX_DiscardUnknown ¶
func (m *PushMsgReq) XXX_DiscardUnknown()
func (*PushMsgReq) XXX_Marshal ¶
func (m *PushMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushMsgReq) XXX_Merge ¶
func (dst *PushMsgReq) XXX_Merge(src proto.Message)
func (*PushMsgReq) XXX_Size ¶
func (m *PushMsgReq) XXX_Size() int
func (*PushMsgReq) XXX_Unmarshal ¶
func (m *PushMsgReq) XXX_Unmarshal(b []byte) error
type PushMsgResp ¶
type PushMsgResp struct { ResultCode int32 `protobuf:"varint,1,opt,name=ResultCode" json:"ResultCode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushMsgResp) Descriptor ¶
func (*PushMsgResp) Descriptor() ([]byte, []int)
func (*PushMsgResp) GetResultCode ¶
func (m *PushMsgResp) GetResultCode() int32
func (*PushMsgResp) ProtoMessage ¶
func (*PushMsgResp) ProtoMessage()
func (*PushMsgResp) Reset ¶
func (m *PushMsgResp) Reset()
func (*PushMsgResp) String ¶
func (m *PushMsgResp) String() string
func (*PushMsgResp) XXX_DiscardUnknown ¶
func (m *PushMsgResp) XXX_DiscardUnknown()
func (*PushMsgResp) XXX_Marshal ¶
func (m *PushMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushMsgResp) XXX_Merge ¶
func (dst *PushMsgResp) XXX_Merge(src proto.Message)
func (*PushMsgResp) XXX_Size ¶
func (m *PushMsgResp) XXX_Size() int
func (*PushMsgResp) XXX_Unmarshal ¶
func (m *PushMsgResp) XXX_Unmarshal(b []byte) error
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) }
func NewPushMsgServiceClient ¶
func NewPushMsgServiceClient(cc *grpc.ClientConn) PushMsgServiceClient
type PushMsgServiceServer ¶
type PushMsgServiceServer interface { PushMsg(context.Context, *PushMsgReq) (*PushMsgResp, error) DelUserPushToken(context.Context, *DelUserPushTokenReq) (*DelUserPushTokenResp, error) }
Click to show internal directories.
Click to hide internal directories.