localpeer

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 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 LocalPeer

type LocalPeer interface {
	GetPrimaryPeerKey() crypto.PrivateKey
	PutPrimaryPeerKey(crypto.PrivateKey)
	GetPrimaryIdentityKey() crypto.PrivateKey
	PutPrimaryIdentityKey(crypto.PrivateKey)
	GetCertificates() []*object.Certificate
	PutCertificate(*object.Certificate)
	GetContentHashes() []object.Hash
	PutContentHashes(...object.Hash)
	GetContentTypes() []string
	PutContentTypes(...string)
	GetAddresses() []string
	PutAddresses(...string)
	GetRelays() []*peer.Peer
	PutRelays(...*peer.Peer)
}

func New

func New() LocalPeer

type ObjectCertificateSyncList

type ObjectCertificateSyncList struct {
	// contains filtered or unexported fields
}

ObjectCertificateSyncList -

func (*ObjectCertificateSyncList) Delete

Delete -

func (*ObjectCertificateSyncList) Exists

Exists -

func (*ObjectCertificateSyncList) List

List -

func (*ObjectCertificateSyncList) Put

Put -

func (*ObjectCertificateSyncList) Range

func (m *ObjectCertificateSyncList) Range(i func(k *object.Certificate) bool)

Range -

type ObjectHashSyncList

type ObjectHashSyncList struct {
	// contains filtered or unexported fields
}

ObjectHashSyncList -

func (*ObjectHashSyncList) Delete

func (m *ObjectHashSyncList) Delete(k object.Hash)

Delete -

func (*ObjectHashSyncList) Exists

func (m *ObjectHashSyncList) Exists(k object.Hash) bool

Exists -

func (*ObjectHashSyncList) List

func (m *ObjectHashSyncList) List() []object.Hash

List -

func (*ObjectHashSyncList) Put

func (m *ObjectHashSyncList) Put(k object.Hash)

Put -

func (*ObjectHashSyncList) Range

func (m *ObjectHashSyncList) Range(i func(k object.Hash) bool)

Range -

type PeerPeerSyncList

type PeerPeerSyncList struct {
	// contains filtered or unexported fields
}

PeerPeerSyncList -

func (*PeerPeerSyncList) Delete

func (m *PeerPeerSyncList) Delete(k *peer.Peer)

Delete -

func (*PeerPeerSyncList) Exists

func (m *PeerPeerSyncList) Exists(k *peer.Peer) bool

Exists -

func (*PeerPeerSyncList) List

func (m *PeerPeerSyncList) List() []*peer.Peer

List -

func (*PeerPeerSyncList) Put

func (m *PeerPeerSyncList) Put(k *peer.Peer)

Put -

func (*PeerPeerSyncList) Range

func (m *PeerPeerSyncList) Range(i func(k *peer.Peer) bool)

Range -

type StringSyncList

type StringSyncList struct {
	// contains filtered or unexported fields
}

StringSyncList -

func (*StringSyncList) Delete

func (m *StringSyncList) Delete(k string)

Delete -

func (*StringSyncList) Exists

func (m *StringSyncList) Exists(k string) bool

Exists -

func (*StringSyncList) List

func (m *StringSyncList) List() []string

List -

func (*StringSyncList) Put

func (m *StringSyncList) Put(k string)

Put -

func (*StringSyncList) Range

func (m *StringSyncList) Range(i func(k string) bool)

Range -

Jump to

Keyboard shortcuts

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