channel

package
v0.9.1-0...-c65f83f Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2015 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package channel is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/channel/channel_service.proto

It has these top-level messages:

ChannelServiceError
CreateChannelRequest
CreateChannelResponse
SendMessageRequest

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_unrecognized []byte `json:"-"`
}

func (*ChannelServiceError) ProtoMessage

func (*ChannelServiceError) ProtoMessage()

func (*ChannelServiceError) Reset

func (m *ChannelServiceError) Reset()

func (*ChannelServiceError) String

func (m *ChannelServiceError) String() string

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) 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:"application_key,omitempty"`
	DurationMinutes  *int32  `protobuf:"varint,2,opt,name=duration_minutes" json:"duration_minutes,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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

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:"duration_minutes,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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

type SendMessageRequest

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

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

Jump to

Keyboard shortcuts

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