constants

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package constants defines internal constants for the Katzenpost server.

Index

Constants

View Source
const (
	// NumMixKeys is the number of mix keys to generate/publish.
	NumMixKeys = 3

	// KeepAliveInterval is the TCP/IP KeepAlive interval.
	KeepAliveInterval = 3 * time.Minute

	// Namespace is the namespace for the prometheus metrics
	Namespace = "katzenpost"

	// These Subsystem constants are subsystem strings for prometheus metrics
	CryptoWorkerSubsystem = "crypto_worker"
	DecoySubsystem        = "decoy"
	IncomingConnSubsystem = "incoming_conn"
	KaetzchenSubsystem    = "kaetzchen"
	OutgoingConnSubsystem = "outgoing_conn"
	PKISubsystem          = "pki"
	ProviderSubsystem     = "provider"
	SchedulerSubsystem    = "scheduler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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