offlinepush

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Device_name = map[int32]string{
		0: "Android",
		1: "IOS",
	}
	Device_value = map[string]int32{
		"Android": 0,
		"IOS":     1,
	}
)

Enum value maps for Device.

Functions

This section is empty.

Types

type Device

type Device int32
const (
	Device_Android Device = 0
	Device_IOS     Device = 1
)

func (Device) Descriptor

func (Device) Descriptor() protoreflect.EnumDescriptor

func (Device) Enum

func (x Device) Enum() *Device

func (Device) EnumDescriptor deprecated

func (Device) EnumDescriptor() ([]byte, []int)

Deprecated: Use Device.Descriptor instead.

func (Device) Number

func (x Device) Number() protoreflect.EnumNumber

func (Device) String

func (x Device) String() string

func (Device) Type

func (Device) Type() protoreflect.EnumType

type OffPushMsg

type OffPushMsg struct {
	AppId       string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Device      Device `protobuf:"varint,2,opt,name=device,proto3,enum=dtalk.offline_push.Device" json:"device,omitempty"`
	Title       string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Content     string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Token       string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	ChannelType int32  `protobuf:"varint,6,opt,name=channelType,proto3" json:"channelType,omitempty"`
	Target      string `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	Timeout     int64  `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

record --> mq

func (*OffPushMsg) Descriptor deprecated

func (*OffPushMsg) Descriptor() ([]byte, []int)

Deprecated: Use OffPushMsg.ProtoReflect.Descriptor instead.

func (*OffPushMsg) GetAppId

func (x *OffPushMsg) GetAppId() string

func (*OffPushMsg) GetChannelType

func (x *OffPushMsg) GetChannelType() int32

func (*OffPushMsg) GetContent

func (x *OffPushMsg) GetContent() string

func (*OffPushMsg) GetDevice

func (x *OffPushMsg) GetDevice() Device

func (*OffPushMsg) GetTarget

func (x *OffPushMsg) GetTarget() string

func (*OffPushMsg) GetTimeout

func (x *OffPushMsg) GetTimeout() int64

func (*OffPushMsg) GetTitle

func (x *OffPushMsg) GetTitle() string

func (*OffPushMsg) GetToken

func (x *OffPushMsg) GetToken() string

func (*OffPushMsg) ProtoMessage

func (*OffPushMsg) ProtoMessage()

func (*OffPushMsg) ProtoReflect

func (x *OffPushMsg) ProtoReflect() protoreflect.Message

func (*OffPushMsg) Reset

func (x *OffPushMsg) Reset()

func (*OffPushMsg) String

func (x *OffPushMsg) String() string

Jump to

Keyboard shortcuts

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