Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
channel.proto event.proto
It has these top-level messages:
BaseChannel BaseEvent
Index ¶
- type BaseChannel
- func (*BaseChannel) Descriptor() ([]byte, []int)
- func (m *BaseChannel) GetArchived() bool
- func (m *BaseChannel) GetID() string
- func (m *BaseChannel) GetMemberIDs() []string
- func (m *BaseChannel) GetName() string
- func (m *BaseChannel) GetPurpose() *BaseChannel_Attribute
- func (m *BaseChannel) GetTopic() *BaseChannel_Attribute
- func (*BaseChannel) ProtoMessage()
- func (m *BaseChannel) Reset()
- func (m *BaseChannel) String() string
- type BaseChannel_Attribute
- type BaseEvent
- type BaseEvent_Origin
- type BaseEvent_Origin_Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseChannel ¶
type BaseChannel struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MemberIDs []string `protobuf:"bytes,10,rep,name=MemberIDs" json:"MemberIDs,omitempty"` Archived bool `protobuf:"varint,11,opt,name=archived,proto3" json:"archived,omitempty"` Topic *BaseChannel_Attribute `protobuf:"bytes,20,opt,name=topic" json:"topic,omitempty"` Purpose *BaseChannel_Attribute `protobuf:"bytes,21,opt,name=purpose" json:"purpose,omitempty"` }
BaseChannel is a network channel.
func (*BaseChannel) Descriptor ¶
func (*BaseChannel) Descriptor() ([]byte, []int)
func (*BaseChannel) GetArchived ¶
func (m *BaseChannel) GetArchived() bool
func (*BaseChannel) GetID ¶
func (m *BaseChannel) GetID() string
func (*BaseChannel) GetMemberIDs ¶
func (m *BaseChannel) GetMemberIDs() []string
func (*BaseChannel) GetName ¶
func (m *BaseChannel) GetName() string
func (*BaseChannel) GetPurpose ¶
func (m *BaseChannel) GetPurpose() *BaseChannel_Attribute
func (*BaseChannel) GetTopic ¶
func (m *BaseChannel) GetTopic() *BaseChannel_Attribute
func (*BaseChannel) ProtoMessage ¶
func (*BaseChannel) ProtoMessage()
func (*BaseChannel) Reset ¶
func (m *BaseChannel) Reset()
func (*BaseChannel) String ¶
func (m *BaseChannel) String() string
type BaseChannel_Attribute ¶
type BaseChannel_Attribute struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` CreatorID string `protobuf:"bytes,2,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"` }
func (*BaseChannel_Attribute) Descriptor ¶
func (*BaseChannel_Attribute) Descriptor() ([]byte, []int)
func (*BaseChannel_Attribute) GetCreatorID ¶
func (m *BaseChannel_Attribute) GetCreatorID() string
func (*BaseChannel_Attribute) GetValue ¶
func (m *BaseChannel_Attribute) GetValue() string
func (*BaseChannel_Attribute) ProtoMessage ¶
func (*BaseChannel_Attribute) ProtoMessage()
func (*BaseChannel_Attribute) Reset ¶
func (m *BaseChannel_Attribute) Reset()
func (*BaseChannel_Attribute) String ¶
func (m *BaseChannel_Attribute) String() string
type BaseEvent ¶
type BaseEvent struct { Origin *BaseEvent_Origin `protobuf:"bytes,1,opt,name=origin" json:"origin,omitempty"` Body string `protobuf:"bytes,2,opt,name=Body,proto3" json:"Body,omitempty"` }
BaseEvent is a network event.
func (*BaseEvent) Descriptor ¶
func (*BaseEvent) GetOrigin ¶
func (m *BaseEvent) GetOrigin() *BaseEvent_Origin
func (*BaseEvent) ProtoMessage ¶
func (*BaseEvent) ProtoMessage()
type BaseEvent_Origin ¶
type BaseEvent_Origin struct { ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` Sender *BaseEvent_Origin_Sender `protobuf:"bytes,3,opt,name=sender" json:"sender,omitempty"` }
Origin is the origin of a message.
func (*BaseEvent_Origin) Descriptor ¶
func (*BaseEvent_Origin) Descriptor() ([]byte, []int)
func (*BaseEvent_Origin) GetID ¶
func (m *BaseEvent_Origin) GetID() string
func (*BaseEvent_Origin) GetSender ¶
func (m *BaseEvent_Origin) GetSender() *BaseEvent_Origin_Sender
func (*BaseEvent_Origin) ProtoMessage ¶
func (*BaseEvent_Origin) ProtoMessage()
func (*BaseEvent_Origin) Reset ¶
func (m *BaseEvent_Origin) Reset()
func (*BaseEvent_Origin) String ¶
func (m *BaseEvent_Origin) String() string
type BaseEvent_Origin_Sender ¶
type BaseEvent_Origin_Sender struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` }
Sender sent the message via the origin.
func (*BaseEvent_Origin_Sender) Descriptor ¶
func (*BaseEvent_Origin_Sender) Descriptor() ([]byte, []int)
func (*BaseEvent_Origin_Sender) GetID ¶
func (m *BaseEvent_Origin_Sender) GetID() string
func (*BaseEvent_Origin_Sender) GetName ¶
func (m *BaseEvent_Origin_Sender) GetName() string
func (*BaseEvent_Origin_Sender) ProtoMessage ¶
func (*BaseEvent_Origin_Sender) ProtoMessage()
func (*BaseEvent_Origin_Sender) Reset ¶
func (m *BaseEvent_Origin_Sender) Reset()
func (*BaseEvent_Origin_Sender) String ¶
func (m *BaseEvent_Origin_Sender) String() string
Click to show internal directories.
Click to hide internal directories.