Documentation
¶
Overview ¶
Package ad is an abstract message type that composes the common elements of all ads - nonce ID, public key (identity), expiry and signature.
The concrete ad types are in subfolders of this package.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ad ¶
type Ad struct { // ID is a random number generated for each new add that practically guarantees // no repeated hash for a message to be signed with the same peer identity key. ID nonce.ID // Key is the public identity key of the peer. Key *crypto.Pub // Expiry is the time after which this ad is considered no longer current. Expiry time.Time // Sig is the signature, which must match the Key above. Sig crypto.SigBytes }
Ad is an abstract message that isn't actually used, but rather is composed into the rest being the common fields to all ads.
Directories
¶
Path | Synopsis |
---|---|
Package addresses defines the message format that provides the network multi-address of a peer with a given public identity key.
|
Package addresses defines the message format that provides the network multi-address of a peer with a given public identity key. |
Package intro defines a message type that provides information about an introduction point for a hidden service.
|
Package intro defines a message type that provides information about an introduction point for a hidden service. |
Package load provides a message type that provides information about the current load level of a node identified by its public key.
|
Package load provides a message type that provides information about the current load level of a node identified by its public key. |
Package peer provides a message type that provides the base information, identity key and relay rate for an Indra relay.
|
Package peer provides a message type that provides the base information, identity key and relay rate for an Indra relay. |
Package services provides a message type for advertising what kinds of exit services a peer provides to clients, including the port number and the cost per megabyte of data.
|
Package services provides a message type for advertising what kinds of exit services a peer provides to clients, including the port number and the cost per megabyte of data. |
Click to show internal directories.
Click to hide internal directories.