Documentation
¶
Overview ¶
Package locksmith ties together the Locksmith server logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locksmith ¶
type Locksmith struct {
// contains filtered or unexported fields
}
Locksmith is the root level object containing the implementation of the Locksmith server.
type Opts ¶ added in v0.5.2
type Opts struct {
// Used for telemetry.
Version string
// Port denotes the port which will listen for incoming connections.
Port uint16
// QueueType selects the type of queue layer the vault will use.
QueueType vault.QueueType
// QueueConcurrency sets the number of synchronization threads, the higher the number the less the chance of congestion.
QueueConcurrency int
// QueueCapacity determines the buffer size of each synchronization thread, after the buffer limit is reached, calls
// to the queue layer will block until the congestion is resolved.
QueueCapacity int
// TLSConfig for the TCP acceptor.
TLSConfig *tls.Config
}
Opts exposes the possible options to pass to a new Locksmith instance.
Click to show internal directories.
Click to hide internal directories.