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",
}
View Source
var ChannelServiceError_ErrorCode_value = map[string]int32{
"OK": 0,
"INTERNAL_ERROR": 1,
"INVALID_CHANNEL_KEY": 2,
"BAD_MESSAGE": 3,
}
Functions ¶
This section is empty.
Types ¶
type ChannelServiceError ¶
type ChannelServiceError struct {
XXX_unrecognized []byte `json:",omitempty"`
}
func (*ChannelServiceError) Error ¶
func (this *ChannelServiceError) Error() string
func (*ChannelServiceError) Reset ¶
func (this *ChannelServiceError) Reset()
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 )
func NewChannelServiceError_ErrorCode ¶
func NewChannelServiceError_ErrorCode(x ChannelServiceError_ErrorCode) *ChannelServiceError_ErrorCode
func (ChannelServiceError_ErrorCode) String ¶
func (x ChannelServiceError_ErrorCode) String() string
type CreateChannelRequest ¶
type CreateChannelRequest struct { ApplicationKey *string `protobuf:"bytes,1,req,name=application_key" json:"application_key,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateChannelRequest) Reset ¶
func (this *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (this *CreateChannelRequest) String() string
type CreateChannelResponse ¶
type CreateChannelResponse struct { ClientId *string `protobuf:"bytes,2,opt,name=client_id" json:"client_id,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateChannelResponse) Reset ¶
func (this *CreateChannelResponse) Reset()
func (*CreateChannelResponse) String ¶
func (this *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:",omitempty"` }
func (*SendMessageRequest) Reset ¶
func (this *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (this *SendMessageRequest) String() string
Click to show internal directories.
Click to hide internal directories.