pbPush

package
v0.0.0-...-4702bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL