Documentation
¶
Overview ¶
Package glue implements the glue structure that ties all the internal subpackages together.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glue ¶
type Glue interface {
Config() *config.Config
LogBackend() *log.Backend
IdentityKey() sign.PrivateKey
IdentityPublicKey() sign.PublicKey
LinkKey() kem.PrivateKey
Management() *thwack.Server
MixKeys() MixKeys
PKI() PKI
Gateway() Gateway
ServiceNode() ServiceNode
Scheduler() Scheduler
Connector() Connector
Listeners() []Listener
Decoy() Decoy
ReshadowCryptoWorkers()
}
Glue is the structure that binds the internal components together.
type PKI ¶
type PKI interface {
Halt()
StartWorker()
OutgoingDestinations() map[[constants.NodeIDLength]byte]*pki.MixDescriptor
AuthenticateConnection(*wire.PeerCredentials, bool) (*pki.MixDescriptor, bool, bool)
GetRawConsensus(uint64) ([]byte, error)
CurrentDocument() (*pki.Document, error)
}
Click to show internal directories.
Click to hide internal directories.