daemon

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIAddress

func APIAddress(listen string) string

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

func InitTracer(tracing env.Tracing, id string) (io.Closer, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL