daemon

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 17 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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