hyperspace

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 4 Imported by: 0

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
	ConnectionInfo   *peer.ConnectionInfo
	PeerVector       []uint64
	PeerCapabilities []string
}

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) Type added in v0.14.1

func (e *Announcement) Type() string

type Bloom

type Bloom []uint64

func New

func New(content ...string) Bloom

func (Bloom) Test

func (b Bloom) Test(q Bloom) bool

type LookupRequest added in v0.14.1

type LookupRequest struct {
	Metadata            object.Metadata `nimona:"metadata:m,omitempty"`
	Nonce               string
	QueryVector         []uint64
	RequireCapabilities []string
}

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) 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
	QueryVector   []uint64
	Announcements []*Announcement
}

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) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL