channel

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChannelServiceError_ErrorCode_name = map[int32]string{
	0: "OK",
	1: "INTERNAL_ERROR",
	2: "INVALID_CHANNEL_KEY",
	3: "BAD_MESSAGE",
	4: "INVALID_CHANNEL_TOKEN_DURATION",
	5: "APPID_ALIAS_REQUIRED",
}
View Source
var ChannelServiceError_ErrorCode_value = map[string]int32{
	"OK":                             0,
	"INTERNAL_ERROR":                 1,
	"INVALID_CHANNEL_KEY":            2,
	"BAD_MESSAGE":                    3,
	"INVALID_CHANNEL_TOKEN_DURATION": 4,
	"APPID_ALIAS_REQUIRED":           5,
}

Functions

This section is empty.

Types

type ChannelServiceError

type ChannelServiceError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelServiceError) Descriptor

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

func (*ChannelServiceError) ProtoMessage

func (*ChannelServiceError) ProtoMessage()

func (*ChannelServiceError) Reset

func (m *ChannelServiceError) Reset()

func (*ChannelServiceError) String

func (m *ChannelServiceError) String() string

func (*ChannelServiceError) XXX_DiscardUnknown

func (m *ChannelServiceError) XXX_DiscardUnknown()

func (*ChannelServiceError) XXX_Marshal

func (m *ChannelServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelServiceError) XXX_Merge

func (dst *ChannelServiceError) XXX_Merge(src proto.Message)

func (*ChannelServiceError) XXX_Size

func (m *ChannelServiceError) XXX_Size() int

func (*ChannelServiceError) XXX_Unmarshal

func (m *ChannelServiceError) XXX_Unmarshal(b []byte) error

type ChannelServiceError_ErrorCode

type ChannelServiceError_ErrorCode int32
const (
	ChannelServiceError_OK                             ChannelServiceError_ErrorCode = 0
	ChannelServiceError_INTERNAL_ERROR                 ChannelServiceError_ErrorCode = 1
	ChannelServiceError_INVALID_CHANNEL_KEY            ChannelServiceError_ErrorCode = 2
	ChannelServiceError_BAD_MESSAGE                    ChannelServiceError_ErrorCode = 3
	ChannelServiceError_INVALID_CHANNEL_TOKEN_DURATION ChannelServiceError_ErrorCode = 4
	ChannelServiceError_APPID_ALIAS_REQUIRED           ChannelServiceError_ErrorCode = 5
)

func (ChannelServiceError_ErrorCode) Enum

func (ChannelServiceError_ErrorCode) EnumDescriptor

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

func (ChannelServiceError_ErrorCode) String

func (*ChannelServiceError_ErrorCode) UnmarshalJSON

func (x *ChannelServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type CreateChannelRequest

type CreateChannelRequest struct {
	ApplicationKey       *string  `protobuf:"bytes,1,req,name=application_key,json=applicationKey" json:"application_key,omitempty"`
	DurationMinutes      *int32   `protobuf:"varint,2,opt,name=duration_minutes,json=durationMinutes" json:"duration_minutes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateChannelRequest) Descriptor

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

func (*CreateChannelRequest) GetApplicationKey

func (m *CreateChannelRequest) GetApplicationKey() string

func (*CreateChannelRequest) GetDurationMinutes

func (m *CreateChannelRequest) GetDurationMinutes() int32

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) Reset

func (m *CreateChannelRequest) Reset()

func (*CreateChannelRequest) String

func (m *CreateChannelRequest) String() string

func (*CreateChannelRequest) XXX_DiscardUnknown

func (m *CreateChannelRequest) XXX_DiscardUnknown()

func (*CreateChannelRequest) XXX_Marshal

func (m *CreateChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateChannelRequest) XXX_Merge

func (dst *CreateChannelRequest) XXX_Merge(src proto.Message)

func (*CreateChannelRequest) XXX_Size

func (m *CreateChannelRequest) XXX_Size() int

func (*CreateChannelRequest) XXX_Unmarshal

func (m *CreateChannelRequest) XXX_Unmarshal(b []byte) error

type CreateChannelResponse

type CreateChannelResponse struct {
	Token                *string  `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	DurationMinutes      *int32   `protobuf:"varint,3,opt,name=duration_minutes,json=durationMinutes" json:"duration_minutes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateChannelResponse) Descriptor

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

func (*CreateChannelResponse) GetDurationMinutes

func (m *CreateChannelResponse) GetDurationMinutes() int32

func (*CreateChannelResponse) GetToken

func (m *CreateChannelResponse) GetToken() string

func (*CreateChannelResponse) ProtoMessage

func (*CreateChannelResponse) ProtoMessage()

func (*CreateChannelResponse) Reset

func (m *CreateChannelResponse) Reset()

func (*CreateChannelResponse) String

func (m *CreateChannelResponse) String() string

func (*CreateChannelResponse) XXX_DiscardUnknown

func (m *CreateChannelResponse) XXX_DiscardUnknown()

func (*CreateChannelResponse) XXX_Marshal

func (m *CreateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateChannelResponse) XXX_Merge

func (dst *CreateChannelResponse) XXX_Merge(src proto.Message)

func (*CreateChannelResponse) XXX_Size

func (m *CreateChannelResponse) XXX_Size() int

func (*CreateChannelResponse) XXX_Unmarshal

func (m *CreateChannelResponse) XXX_Unmarshal(b []byte) error

type SendMessageRequest

type SendMessageRequest struct {
	ApplicationKey       *string  `protobuf:"bytes,1,req,name=application_key,json=applicationKey" json:"application_key,omitempty"`
	Message              *string  `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendMessageRequest) Descriptor

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

func (*SendMessageRequest) GetApplicationKey

func (m *SendMessageRequest) GetApplicationKey() string

func (*SendMessageRequest) GetMessage

func (m *SendMessageRequest) GetMessage() string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) Reset

func (m *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (m *SendMessageRequest) String() string

func (*SendMessageRequest) XXX_DiscardUnknown

func (m *SendMessageRequest) XXX_DiscardUnknown()

func (*SendMessageRequest) XXX_Marshal

func (m *SendMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessageRequest) XXX_Merge

func (dst *SendMessageRequest) XXX_Merge(src proto.Message)

func (*SendMessageRequest) XXX_Size

func (m *SendMessageRequest) XXX_Size() int

func (*SendMessageRequest) XXX_Unmarshal

func (m *SendMessageRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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