Versions in this module Expand all Collapse all v0 v0.1.0 May 2, 2020 Changes in this version + const Encrypted + const MasterContract + const MaxMessageSize + const None + const TopicAnySeparator + const TopicChildrenAllSeparator + const TopicInvalid + const TopicMaxDepth + const TopicSeparator + const TopicStatic + const TopicWildcard + const Wildcard + func Contract(parts []Part) uint64 + type ID []byte + func NewID(seq uint64, encrypted bool) ID + func (id *ID) AddContract(contract uint64) + func (id ID) Contract() uint64 + func (id ID) EvalPrefix(contract uint64, cutoff int64) bool + func (id ID) IsEncrypted() bool + func (id ID) Seq() uint64 + func (id ID) SetEncryption() + type Part struct + Query uint32 + Wildchars uint8 + type Topic struct + Depth uint8 + Options []TopicOption + Parts []Part + Topic []byte + TopicOptions []byte + TopicType uint8 + func (t *Topic) AddContract(contract uint32) + func (t *Topic) GetHash(contract uint64) uint64 + func (t *Topic) GetHashCode() uint32 + func (t *Topic) Last() (time.Time, int, bool) + func (t *Topic) Marshal() []byte + func (t *Topic) Parse(contract uint32, wildcard bool) + func (t *Topic) ParseKey(text []byte) + func (t *Topic) TTL() (int64, bool) + func (t *Topic) Target() uint32 + func (t *Topic) Unmarshal(data []byte) error + type TopicOption struct + Key string + Value string