proto

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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) Enum

func (Response_ResponseCode) EnumDescriptor deprecated

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

Deprecated: Use Response_ResponseCode.Descriptor instead.

func (Response_ResponseCode) Number

func (Response_ResponseCode) String

func (x Response_ResponseCode) String() string

func (Response_ResponseCode) Type

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 (*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) Enum

func (UpdateClient_UpdateType) EnumDescriptor deprecated

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

Deprecated: Use UpdateClient_UpdateType.Descriptor instead.

func (UpdateClient_UpdateType) Number

func (UpdateClient_UpdateType) String

func (x UpdateClient_UpdateType) String() string

func (UpdateClient_UpdateType) Type

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

Jump to

Keyboard shortcuts

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