Documentation ¶
Index ¶
- type LocalPeer
- type ObjectCertificateSyncList
- func (m *ObjectCertificateSyncList) Delete(k *object.Certificate)
- func (m *ObjectCertificateSyncList) Exists(k *object.Certificate) bool
- func (m *ObjectCertificateSyncList) List() []*object.Certificate
- func (m *ObjectCertificateSyncList) Put(k *object.Certificate)
- func (m *ObjectCertificateSyncList) Range(i func(k *object.Certificate) bool)
- type ObjectHashSyncList
- type PeerConnectionInfoSyncList
- func (m *PeerConnectionInfoSyncList) Delete(k *peer.ConnectionInfo)
- func (m *PeerConnectionInfoSyncList) Exists(k *peer.ConnectionInfo) bool
- func (m *PeerConnectionInfoSyncList) List() []*peer.ConnectionInfo
- func (m *PeerConnectionInfoSyncList) Put(k *peer.ConnectionInfo)
- func (m *PeerConnectionInfoSyncList) Range(i func(k *peer.ConnectionInfo) bool)
- type StringSyncList
- type UpdateEvent
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.ConnectionInfo PutRelays(...*peer.ConnectionInfo) ConnectionInfo() *peer.ConnectionInfo ListenForUpdates() (<-chan UpdateEvent, func()) }
type ObjectCertificateSyncList ¶
type ObjectCertificateSyncList struct {
// contains filtered or unexported fields
}
ObjectCertificateSyncList -
func (*ObjectCertificateSyncList) Delete ¶
func (m *ObjectCertificateSyncList) Delete(k *object.Certificate)
Delete -
func (*ObjectCertificateSyncList) Exists ¶
func (m *ObjectCertificateSyncList) Exists(k *object.Certificate) bool
Exists -
func (*ObjectCertificateSyncList) List ¶
func (m *ObjectCertificateSyncList) List() []*object.Certificate
List -
func (*ObjectCertificateSyncList) Put ¶
func (m *ObjectCertificateSyncList) Put(k *object.Certificate)
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 -
type PeerConnectionInfoSyncList ¶ added in v0.14.1
type PeerConnectionInfoSyncList struct {
// contains filtered or unexported fields
}
PeerConnectionInfoSyncList -
func (*PeerConnectionInfoSyncList) Delete ¶ added in v0.14.1
func (m *PeerConnectionInfoSyncList) Delete(k *peer.ConnectionInfo)
Delete -
func (*PeerConnectionInfoSyncList) Exists ¶ added in v0.14.1
func (m *PeerConnectionInfoSyncList) Exists(k *peer.ConnectionInfo) bool
Exists -
func (*PeerConnectionInfoSyncList) List ¶ added in v0.14.1
func (m *PeerConnectionInfoSyncList) List() []*peer.ConnectionInfo
List -
func (*PeerConnectionInfoSyncList) Put ¶ added in v0.14.1
func (m *PeerConnectionInfoSyncList) Put(k *peer.ConnectionInfo)
Put -
func (*PeerConnectionInfoSyncList) Range ¶ added in v0.14.1
func (m *PeerConnectionInfoSyncList) Range(i func(k *peer.ConnectionInfo) bool)
Range -
type StringSyncList ¶
type StringSyncList struct {
// contains filtered or unexported fields
}
StringSyncList -
type UpdateEvent ¶ added in v0.14.4
type UpdateEvent string
const ( EventContentTypesUpdated UpdateEvent = "contentTypeUpdated" EventContentHashesUpdated UpdateEvent = "contentHashesUpdated" EventAddressesUpdated UpdateEvent = "addressesUpdated" EventRelaysUpdated UpdateEvent = "relaysUpdated" )
Click to show internal directories.
Click to hide internal directories.