Documentation ¶
Index ¶
- type LocalPeer
- type ObjectCIDSyncList
- 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 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) GetCIDs() []object.CID PutCIDs(...object.CID) GetContentTypes() []string PutContentTypes(...string) GetAddresses() []string PutAddresses(...string) GetRelays() []*peer.ConnectionInfo PutRelays(...*peer.ConnectionInfo) ConnectionInfo() *peer.ConnectionInfo ListenForUpdates() (<-chan UpdateEvent, func()) }
type ObjectCIDSyncList ¶ added in v0.17.0
type ObjectCIDSyncList struct {
// contains filtered or unexported fields
}
ObjectCIDSyncList -
func (*ObjectCIDSyncList) Delete ¶ added in v0.17.0
func (m *ObjectCIDSyncList) Delete(k object.CID)
Delete -
func (*ObjectCIDSyncList) Exists ¶ added in v0.17.0
func (m *ObjectCIDSyncList) Exists(k object.CID) bool
Exists -
func (*ObjectCIDSyncList) List ¶ added in v0.17.0
func (m *ObjectCIDSyncList) List() []object.CID
List -
func (*ObjectCIDSyncList) Put ¶ added in v0.17.0
func (m *ObjectCIDSyncList) Put(k object.CID)
Put -
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 StringSyncList ¶
type StringSyncList struct {
// contains filtered or unexported fields
}
StringSyncList -
type UpdateEvent ¶ added in v0.14.4
type UpdateEvent string
const ( EventContentTypesUpdated UpdateEvent = "contentTypeUpdated" EventCIDsUpdated UpdateEvent = "cidsUpdated" EventAddressesUpdated UpdateEvent = "addressesUpdated" EventRelaysUpdated UpdateEvent = "relaysUpdated" EventPrimaryIdentityKeyUpdated UpdateEvent = "primaryIdentityKeyUpdated" )
Click to show internal directories.
Click to hide internal directories.