Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ExitName string ExitIdentifier string TimeOut time.Duration EntryServers []EntryServer // DNSServers []DNSServer ExitPrivateKey *crypt.RSAPrivateKey }
Config defines the configurations of this exit.
func ReadConfig ¶
ReadConfig parses the configuration file at proscribed location and returns a pointer to the config parsed, or nil if config invalid or does not exist.
type EntryServer ¶
type EntryServer struct { ServerIdentifier string ServerPubKey *crypt.RSAPublicKey }
EntryServer defines a trusted entry server by this exit.
Click to show internal directories.
Click to hide internal directories.