Documentation ¶
Index ¶
- Variables
- type ChannelInfo
- func (*ChannelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInfo) GetBlocked() bool
- func (x *ChannelInfo) GetChildren() []string
- func (x *ChannelInfo) GetClosed() bool
- func (x *ChannelInfo) GetID() string
- func (x *ChannelInfo) GetMuted() bool
- func (x *ChannelInfo) GetParent() string
- func (x *ChannelInfo) GetType() int32
- func (*ChannelInfo) ProtoMessage()
- func (x *ChannelInfo) ProtoReflect() protoreflect.Message
- func (x *ChannelInfo) Reset()
- func (x *ChannelInfo) String() string
- type CreateChannelRequest
- func (*CreateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelRequest) GetChannelID() string
- func (x *CreateChannelRequest) GetChannelInfo() *ChannelInfo
- func (*CreateChannelRequest) ProtoMessage()
- func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelRequest) Reset()
- func (x *CreateChannelRequest) String() string
- type EnqueueMessageRequest
- func (*EnqueueMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnqueueMessageRequest) GetId() string
- func (x *EnqueueMessageRequest) GetMsg() []byte
- func (*EnqueueMessageRequest) ProtoMessage()
- func (x *EnqueueMessageRequest) ProtoReflect() protoreflect.Message
- func (x *EnqueueMessageRequest) Reset()
- func (x *EnqueueMessageRequest) String() string
- type PublishRequest
- func (*PublishRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishRequest) GetChannelID() string
- func (x *PublishRequest) GetMessage() []byte
- func (*PublishRequest) ProtoMessage()
- func (x *PublishRequest) ProtoReflect() protoreflect.Message
- func (x *PublishRequest) Reset()
- func (x *PublishRequest) String() string
- type RemoveChannelRequest
- func (*RemoveChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveChannelRequest) GetChannelID() string
- func (*RemoveChannelRequest) ProtoMessage()
- func (x *RemoveChannelRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveChannelRequest) Reset()
- func (x *RemoveChannelRequest) String() string
- type Response
- type Response_ResponseCode
- func (Response_ResponseCode) Descriptor() protoreflect.EnumDescriptor
- func (x Response_ResponseCode) Enum() *Response_ResponseCode
- func (Response_ResponseCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Response_ResponseCode) Number() protoreflect.EnumNumber
- func (x Response_ResponseCode) String() string
- func (Response_ResponseCode) Type() protoreflect.EnumType
- type SubscribeRequest
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRequest) GetChannelID() string
- func (x *SubscribeRequest) GetExtra() []byte
- func (x *SubscribeRequest) GetSubscriberID() string
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- type UnsubscribeRequest
- func (*UnsubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsubscribeRequest) GetChannelID() string
- func (x *UnsubscribeRequest) GetSubscriberID() string
- func (*UnsubscribeRequest) ProtoMessage()
- func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *UnsubscribeRequest) Reset()
- func (x *UnsubscribeRequest) String() string
- type UpdateChannelRequest
- func (*UpdateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelRequest) GetChannelID() string
- func (x *UpdateChannelRequest) GetChannelInfo() *ChannelInfo
- func (*UpdateChannelRequest) ProtoMessage()
- func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelRequest) Reset()
- func (x *UpdateChannelRequest) String() string
- type UpdateClient
- func (*UpdateClient) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClient) GetClose() bool
- func (x *UpdateClient) GetId() string
- func (x *UpdateClient) GetMessage() string
- func (x *UpdateClient) GetNewId() string
- func (x *UpdateClient) GetSecret() string
- func (x *UpdateClient) GetType() UpdateClient_UpdateType
- func (*UpdateClient) ProtoMessage()
- func (x *UpdateClient) ProtoReflect() protoreflect.Message
- func (x *UpdateClient) Reset()
- func (x *UpdateClient) String() string
- type UpdateClient_UpdateType
- func (UpdateClient_UpdateType) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateClient_UpdateType) Enum() *UpdateClient_UpdateType
- func (UpdateClient_UpdateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateClient_UpdateType) Number() protoreflect.EnumNumber
- func (x UpdateClient_UpdateType) String() string
- func (UpdateClient_UpdateType) Type() protoreflect.EnumType
- type UpdateSubscriberRequest
- func (*UpdateSubscriberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriberRequest) GetChannelID() string
- func (x *UpdateSubscriberRequest) GetExtra() []byte
- func (x *UpdateSubscriberRequest) GetSubscriberID() string
- func (*UpdateSubscriberRequest) ProtoMessage()
- func (x *UpdateSubscriberRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriberRequest) Reset()
- func (x *UpdateSubscriberRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Response_ResponseCode_name = map[int32]string{ 0: "OK", 1: "ERROR", } Response_ResponseCode_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for Response_ResponseCode.
var ( UpdateClient_UpdateType_name = map[int32]string{ 0: "_", 1: "UpdateID", 2: "Close", 3: "Kick", 4: "UpdateSecret", } UpdateClient_UpdateType_value = map[string]int32{ "_": 0, "UpdateID": 1, "Close": 2, "Kick": 3, "UpdateSecret": 4, } )
Enum value maps for UpdateClient_UpdateType.
var File_api_proto protoreflect.FileDescriptor
var File_sub_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChannelInfo ¶
type ChannelInfo struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` Muted bool `protobuf:"varint,5,opt,name=muted,proto3" json:"muted,omitempty"` Blocked bool `protobuf:"varint,6,opt,name=blocked,proto3" json:"blocked,omitempty"` Closed bool `protobuf:"varint,7,opt,name=closed,proto3" json:"closed,omitempty"` Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` Children []string `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*ChannelInfo) Descriptor
deprecated
func (*ChannelInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.
func (*ChannelInfo) GetBlocked ¶
func (x *ChannelInfo) GetBlocked() bool
func (*ChannelInfo) GetChildren ¶
func (x *ChannelInfo) GetChildren() []string
func (*ChannelInfo) GetClosed ¶
func (x *ChannelInfo) GetClosed() bool
func (*ChannelInfo) GetID ¶
func (x *ChannelInfo) GetID() string
func (*ChannelInfo) GetMuted ¶
func (x *ChannelInfo) GetMuted() bool
func (*ChannelInfo) GetParent ¶
func (x *ChannelInfo) GetParent() string
func (*ChannelInfo) GetType ¶
func (x *ChannelInfo) GetType() int32
func (*ChannelInfo) ProtoMessage ¶
func (*ChannelInfo) ProtoMessage()
func (*ChannelInfo) ProtoReflect ¶
func (x *ChannelInfo) ProtoReflect() protoreflect.Message
func (*ChannelInfo) Reset ¶
func (x *ChannelInfo) Reset()
func (*ChannelInfo) String ¶
func (x *ChannelInfo) String() string
type CreateChannelRequest ¶
type CreateChannelRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` ChannelInfo *ChannelInfo `protobuf:"bytes,2,opt,name=channelInfo,proto3" json:"channelInfo,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelRequest) Descriptor
deprecated
func (*CreateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelRequest) GetChannelID ¶
func (x *CreateChannelRequest) GetChannelID() string
func (*CreateChannelRequest) GetChannelInfo ¶
func (x *CreateChannelRequest) GetChannelInfo() *ChannelInfo
func (*CreateChannelRequest) ProtoMessage ¶
func (*CreateChannelRequest) ProtoMessage()
func (*CreateChannelRequest) ProtoReflect ¶
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelRequest) Reset ¶
func (x *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (x *CreateChannelRequest) String() string
type EnqueueMessageRequest ¶
type EnqueueMessageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*EnqueueMessageRequest) Descriptor
deprecated
func (*EnqueueMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnqueueMessageRequest.ProtoReflect.Descriptor instead.
func (*EnqueueMessageRequest) GetId ¶
func (x *EnqueueMessageRequest) GetId() string
func (*EnqueueMessageRequest) GetMsg ¶
func (x *EnqueueMessageRequest) GetMsg() []byte
func (*EnqueueMessageRequest) ProtoMessage ¶
func (*EnqueueMessageRequest) ProtoMessage()
func (*EnqueueMessageRequest) ProtoReflect ¶
func (x *EnqueueMessageRequest) ProtoReflect() protoreflect.Message
func (*EnqueueMessageRequest) Reset ¶
func (x *EnqueueMessageRequest) Reset()
func (*EnqueueMessageRequest) String ¶
func (x *EnqueueMessageRequest) String() string
type PublishRequest ¶
type PublishRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PublishRequest) Descriptor
deprecated
func (*PublishRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
func (*PublishRequest) GetChannelID ¶
func (x *PublishRequest) GetChannelID() string
func (*PublishRequest) GetMessage ¶
func (x *PublishRequest) GetMessage() []byte
func (*PublishRequest) ProtoMessage ¶
func (*PublishRequest) ProtoMessage()
func (*PublishRequest) ProtoReflect ¶
func (x *PublishRequest) ProtoReflect() protoreflect.Message
func (*PublishRequest) Reset ¶
func (x *PublishRequest) Reset()
func (*PublishRequest) String ¶
func (x *PublishRequest) String() string
type RemoveChannelRequest ¶
type RemoveChannelRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` // contains filtered or unexported fields }
func (*RemoveChannelRequest) Descriptor
deprecated
func (*RemoveChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveChannelRequest.ProtoReflect.Descriptor instead.
func (*RemoveChannelRequest) GetChannelID ¶
func (x *RemoveChannelRequest) GetChannelID() string
func (*RemoveChannelRequest) ProtoMessage ¶
func (*RemoveChannelRequest) ProtoMessage()
func (*RemoveChannelRequest) ProtoReflect ¶
func (x *RemoveChannelRequest) ProtoReflect() protoreflect.Message
func (*RemoveChannelRequest) Reset ¶
func (x *RemoveChannelRequest) Reset()
func (*RemoveChannelRequest) String ¶
func (x *RemoveChannelRequest) String() string
type Response ¶
type Response struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_ResponseCode ¶
type Response_ResponseCode int32
const ( Response_OK Response_ResponseCode = 0 Response_ERROR Response_ResponseCode = 1 )
func (Response_ResponseCode) Descriptor ¶
func (Response_ResponseCode) Descriptor() protoreflect.EnumDescriptor
func (Response_ResponseCode) Enum ¶
func (x Response_ResponseCode) Enum() *Response_ResponseCode
func (Response_ResponseCode) EnumDescriptor
deprecated
func (Response_ResponseCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Response_ResponseCode.Descriptor instead.
func (Response_ResponseCode) Number ¶
func (x Response_ResponseCode) Number() protoreflect.EnumNumber
func (Response_ResponseCode) String ¶
func (x Response_ResponseCode) String() string
func (Response_ResponseCode) Type ¶
func (Response_ResponseCode) Type() protoreflect.EnumType
type SubscribeRequest ¶
type SubscribeRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` Extra []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetChannelID ¶
func (x *SubscribeRequest) GetChannelID() string
func (*SubscribeRequest) GetExtra ¶
func (x *SubscribeRequest) GetExtra() []byte
func (*SubscribeRequest) GetSubscriberID ¶
func (x *SubscribeRequest) GetSubscriberID() string
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
type UnsubscribeRequest ¶
type UnsubscribeRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` // contains filtered or unexported fields }
func (*UnsubscribeRequest) Descriptor
deprecated
func (*UnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*UnsubscribeRequest) GetChannelID ¶
func (x *UnsubscribeRequest) GetChannelID() string
func (*UnsubscribeRequest) GetSubscriberID ¶
func (x *UnsubscribeRequest) GetSubscriberID() string
func (*UnsubscribeRequest) ProtoMessage ¶
func (*UnsubscribeRequest) ProtoMessage()
func (*UnsubscribeRequest) ProtoReflect ¶
func (x *UnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*UnsubscribeRequest) Reset ¶
func (x *UnsubscribeRequest) Reset()
func (*UnsubscribeRequest) String ¶
func (x *UnsubscribeRequest) String() string
type UpdateChannelRequest ¶
type UpdateChannelRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` ChannelInfo *ChannelInfo `protobuf:"bytes,2,opt,name=channelInfo,proto3" json:"channelInfo,omitempty"` // contains filtered or unexported fields }
func (*UpdateChannelRequest) Descriptor
deprecated
func (*UpdateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelRequest) GetChannelID ¶
func (x *UpdateChannelRequest) GetChannelID() string
func (*UpdateChannelRequest) GetChannelInfo ¶
func (x *UpdateChannelRequest) GetChannelInfo() *ChannelInfo
func (*UpdateChannelRequest) ProtoMessage ¶
func (*UpdateChannelRequest) ProtoMessage()
func (*UpdateChannelRequest) ProtoReflect ¶
func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
func (*UpdateChannelRequest) Reset ¶
func (x *UpdateChannelRequest) Reset()
func (*UpdateChannelRequest) String ¶
func (x *UpdateChannelRequest) String() string
type UpdateClient ¶
type UpdateClient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Close bool `protobuf:"varint,2,opt,name=close,proto3" json:"close,omitempty"` NewId string `protobuf:"bytes,3,opt,name=newId,proto3" json:"newId,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Type UpdateClient_UpdateType `protobuf:"varint,6,opt,name=type,proto3,enum=im_service.glide_im.github.com.UpdateClient_UpdateType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*UpdateClient) Descriptor
deprecated
func (*UpdateClient) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClient.ProtoReflect.Descriptor instead.
func (*UpdateClient) GetClose ¶
func (x *UpdateClient) GetClose() bool
func (*UpdateClient) GetId ¶
func (x *UpdateClient) GetId() string
func (*UpdateClient) GetMessage ¶
func (x *UpdateClient) GetMessage() string
func (*UpdateClient) GetNewId ¶
func (x *UpdateClient) GetNewId() string
func (*UpdateClient) GetSecret ¶
func (x *UpdateClient) GetSecret() string
func (*UpdateClient) GetType ¶
func (x *UpdateClient) GetType() UpdateClient_UpdateType
func (*UpdateClient) ProtoMessage ¶
func (*UpdateClient) ProtoMessage()
func (*UpdateClient) ProtoReflect ¶
func (x *UpdateClient) ProtoReflect() protoreflect.Message
func (*UpdateClient) Reset ¶
func (x *UpdateClient) Reset()
func (*UpdateClient) String ¶
func (x *UpdateClient) String() string
type UpdateClient_UpdateType ¶
type UpdateClient_UpdateType int32
const ( UpdateClient__ UpdateClient_UpdateType = 0 UpdateClient_UpdateID UpdateClient_UpdateType = 1 UpdateClient_Close UpdateClient_UpdateType = 2 UpdateClient_Kick UpdateClient_UpdateType = 3 UpdateClient_UpdateSecret UpdateClient_UpdateType = 4 )
func (UpdateClient_UpdateType) Descriptor ¶
func (UpdateClient_UpdateType) Descriptor() protoreflect.EnumDescriptor
func (UpdateClient_UpdateType) Enum ¶
func (x UpdateClient_UpdateType) Enum() *UpdateClient_UpdateType
func (UpdateClient_UpdateType) EnumDescriptor
deprecated
func (UpdateClient_UpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateClient_UpdateType.Descriptor instead.
func (UpdateClient_UpdateType) Number ¶
func (x UpdateClient_UpdateType) Number() protoreflect.EnumNumber
func (UpdateClient_UpdateType) String ¶
func (x UpdateClient_UpdateType) String() string
func (UpdateClient_UpdateType) Type ¶
func (UpdateClient_UpdateType) Type() protoreflect.EnumType
type UpdateSubscriberRequest ¶
type UpdateSubscriberRequest struct { ChannelID string `protobuf:"bytes,1,opt,name=channelID,proto3" json:"channelID,omitempty"` SubscriberID string `protobuf:"bytes,2,opt,name=subscriberID,proto3" json:"subscriberID,omitempty"` Extra []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscriberRequest) Descriptor
deprecated
func (*UpdateSubscriberRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriberRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscriberRequest) GetChannelID ¶
func (x *UpdateSubscriberRequest) GetChannelID() string
func (*UpdateSubscriberRequest) GetExtra ¶
func (x *UpdateSubscriberRequest) GetExtra() []byte
func (*UpdateSubscriberRequest) GetSubscriberID ¶
func (x *UpdateSubscriberRequest) GetSubscriberID() string
func (*UpdateSubscriberRequest) ProtoMessage ¶
func (*UpdateSubscriberRequest) ProtoMessage()
func (*UpdateSubscriberRequest) ProtoReflect ¶
func (x *UpdateSubscriberRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubscriberRequest) Reset ¶
func (x *UpdateSubscriberRequest) Reset()
func (*UpdateSubscriberRequest) String ¶
func (x *UpdateSubscriberRequest) String() string