Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Announcement ¶
type Announcement struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` StreamHash object.Hash ObjectHashes []object.Hash }
func (*Announcement) FromObject ¶
func (e *Announcement) FromObject(o *object.Object) error
func (Announcement) ToObject ¶
func (e Announcement) ToObject() *object.Object
func (*Announcement) Type ¶ added in v0.12.0
func (e *Announcement) Type() string
type Policy ¶
type Request ¶
type Response ¶
type Subscription ¶ added in v0.11.0
type Subscription struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` RootHashes []object.Hash Expiry string }
func (*Subscription) FromObject ¶ added in v0.11.0
func (e *Subscription) FromObject(o *object.Object) error
func (Subscription) ToObject ¶ added in v0.11.0
func (e Subscription) ToObject() *object.Object
func (*Subscription) Type ¶ added in v0.12.0
func (e *Subscription) Type() string
Click to show internal directories.
Click to hide internal directories.