Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor struct { // Router definition Nickname string Address net.IP ORPort uint16 DirPort uint16 BandwidthAvg, BandwidthBurst, BandwidthObserved int Platform string LastPublished time.Time Fingerprint string Hibernating bool UptimeStart time.Time NTORKey []byte SigningKey, OnionKey openssl.PrivateKey Accept, Reject, IPv6Policy string Contact string Family []string ReadHistory, WriteHistory []string EventDNS bool CachesExtraInfo bool ExtraInfoDigest string HiddenServiceDir int AllowSingleHopExits bool ORAddress []string GeoIPDBDigest string GeoIP6DBDigest string ExitPolicy string }
func (*Descriptor) Publish ¶
func (d *Descriptor) Publish(address string) error
func (*Descriptor) SignedDescriptor ¶
func (d *Descriptor) SignedDescriptor() (string, error)
func (*Descriptor) Validate ¶
func (d *Descriptor) Validate() error
Click to show internal directories.
Click to hide internal directories.