Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcement ¶ added in v0.14.1
type Announcement struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` Version int64 `nimona:"version:i,omitempty"` ConnectionInfo *peer.ConnectionInfo `nimona:"connectionInfo:o,omitempty"` PeerVector []uint64 `nimona:"peerVector:au,omitempty"` PeerCapabilities []string `nimona:"peerCapabilities:as,omitempty"` }
func (*Announcement) FromObject ¶ added in v0.14.1
func (e *Announcement) FromObject(o *object.Object) error
func (Announcement) ToObject ¶ added in v0.14.1
func (e Announcement) ToObject() *object.Object
func (Announcement) ToObjectMap ¶ added in v0.14.4
func (e Announcement) ToObjectMap() map[string]interface{}
func (*Announcement) Type ¶ added in v0.14.1
func (e *Announcement) Type() string
type LookupRequest ¶ added in v0.14.1
type LookupRequest struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` Nonce string `nimona:"nonce:s,omitempty"` QueryVector []uint64 `nimona:"queryVector:au,omitempty"` RequireCapabilities []string `nimona:"requireCapabilities:as,omitempty"` }
func (*LookupRequest) FromObject ¶ added in v0.14.1
func (e *LookupRequest) FromObject(o *object.Object) error
func (LookupRequest) ToObject ¶ added in v0.14.1
func (e LookupRequest) ToObject() *object.Object
func (LookupRequest) ToObjectMap ¶ added in v0.14.4
func (e LookupRequest) ToObjectMap() map[string]interface{}
func (*LookupRequest) Type ¶ added in v0.14.1
func (e *LookupRequest) Type() string
type LookupResponse ¶ added in v0.14.1
type LookupResponse struct { Metadata object.Metadata `nimona:"metadata:m,omitempty"` Nonce string `nimona:"nonce:s,omitempty"` QueryVector []uint64 `nimona:"queryVector:au,omitempty"` Announcements []*Announcement `nimona:"announcements:ao,omitempty"` }
func (*LookupResponse) FromObject ¶ added in v0.14.1
func (e *LookupResponse) FromObject(o *object.Object) error
func (LookupResponse) ToObject ¶ added in v0.14.1
func (e LookupResponse) ToObject() *object.Object
func (LookupResponse) ToObjectMap ¶ added in v0.14.4
func (e LookupResponse) ToObjectMap() map[string]interface{}
func (*LookupResponse) Type ¶ added in v0.14.1
func (e *LookupResponse) Type() string
Directories ¶
Path | Synopsis |
---|---|
Package resolvermock is a generated GoMock package.
|
Package resolvermock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.