package
0.18.4-beta.rc2
Repository: https://github.com/lightningnetwork/lnd.git
Documentation: pkg.go.dev

# Functions

DisableLog disables all library log output.
New creates a new server to handle watchtower clients.
UseLogger uses a specified Logger to output package logging info.

# Variables

ErrPeerAlreadyConnected signals that a peer with the same session id is already active within the server.
ErrServerExiting signals that a request could not be processed because the server has been requested to shut down.

# Structs

Config abstracts the primary components and dependencies of the server.
Server houses the state required to handle watchtower peers.

# Interfaces

DB provides the server access to session creation and retrieval, as well as persisting state updates sent by clients.
Interface represents a simple, listen-only service that accepts watchtower clients, and provides responses to their requests.
Peer is the primary interface used to abstract watchtower clients.