Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIAddress ¶
APIAddress returns the API address to listen on, based on the provided address. Addresses with missing or zero port are returned with the default daemon port. All other addresses are returned without modification. If the input is garbage, the output will also be garbage.
func InitTracer ¶
InitTracer initializes the global tracer.
func NewServer ¶
func NewServer(cfg ServerConfig) *grpc.DaemonServer
NewServer constructs a daemon API server.
Types ¶
type ServerConfig ¶
type ServerConfig struct {
IA addr.IA
MTU uint16
Fetcher fetcher.Fetcher
RevCache revcache.RevCache
Engine trust.Engine
LocalASInfo asinfo.LocalASInfo
DRKeyClient *drkey.ClientEngine
}
ServerConfig is the configuration for the daemon API server.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
daemon
command
|
|
|
Package config contains the configuration of the SCION Daemon.
|
Package config contains the configuration of the SCION Daemon. |
|
Package mgmtapi provides primitives to interact with the openapi HTTP API.
|
Package mgmtapi provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.