Documentation ¶
Overview ¶
Package env contains host-wide SCION settings. Contents will most likely be populated by reading a well-known file on the host, e.g., /etc/scion/environment.json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AS ¶
type AS struct { // DaemonAddress is the address of the SCION Daemon API endpoint. DaemonAddress string `json:"daemon_address,omitempty"` }
type General ¶
type General struct { // DefaultIA is the ISD-AS that will be used by default as a source AS in case multiple SCION // ASes are available on the host. DefaultIA addr.IA `json:"default_isd_as,omitempty"` // DispatcherSocket is the path to the dispatcher socket. DispatcherSocket string `json:"dispatcher_socket,omitempty"` }
General contains general, AS-independent host-wide SCION settings.
type SCION ¶
type SCION struct { // General contains general, AS-independent host-wide SCION settings. General General `json:"general,omitempty"` // ASes contains AS-specific host-wide SCION settings. ASes map[addr.IA]AS `json:"ases,omitempty"` }
SCION is the top-level object containing the host-wide SCION environment settings.
Click to show internal directories.
Click to hide internal directories.