push

package
v0.3.70 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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"`
	// 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) 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.

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

Jump to

Keyboard shortcuts

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