Documentation ¶ Index ¶ type Topic func NewTopic(kind TopicKind, identifier []byte) *Topic func ParseTopic(topic []byte) (*Topic, error) func (t Topic) Bytes() []byte func (t Topic) Identifier() []byte func (t Topic) Kind() TopicKind func (t Topic) String() string type TopicKind func (k TopicKind) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Topic ¶ type Topic struct { // contains filtered or unexported fields } func NewTopic ¶ func NewTopic(kind TopicKind, identifier []byte) *Topic func ParseTopic ¶ func ParseTopic(topic []byte) (*Topic, error) func (Topic) Bytes ¶ func (t Topic) Bytes() []byte func (Topic) Identifier ¶ func (t Topic) Identifier() []byte func (Topic) Kind ¶ func (t Topic) Kind() TopicKind func (Topic) String ¶ func (t Topic) String() string type TopicKind ¶ type TopicKind uint8 const ( TOPIC_KIND_GROUP_MESSAGES_V1 TopicKind = iota TOPIC_KIND_WELCOME_MESSAGES_V1 TOPIC_KIND_IDENTITY_UPDATES_V1 TOPIC_KIND_KEY_PACKAGES_V1 ) func (TopicKind) String ¶ func (k TopicKind) String() string Source Files ¶ View all Source files topic.go Click to show internal directories. Click to hide internal directories.