server: github.com/katzenpost/server/internal/constants Index | Files

package constants

import "github.com/katzenpost/server/internal/constants"

Package constants defines internal constants for the Katzenpost server.

Index

Package Files

constants.go

Constants

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"
)

Package constants imports 1 packages (graph) and is imported by 9 packages. Updated 2020-03-25. Refresh now. Tools for package owners.