github.com/decred/dcrlnd@v0.7.6/lnrpc/watchtowerrpc/config_active.go (about)

     1  //go:build !no_watchtowerrpc
     2  // +build !no_watchtowerrpc
     3  
     4  package watchtowerrpc
     5  
     6  // Config is the primary configuration struct for the watchtower RPC server. It
     7  // contains all items required for the RPC server to carry out its duties. The
     8  // fields with struct tags are meant to parsed as normal configuration options,
     9  // while if able to be populated, the latter fields MUST also be specified.
    10  type Config struct {
    11  	// Active indicates if the watchtower is enabled.
    12  	Active bool
    13  
    14  	// Tower is the active watchtower which serves as the primary source for
    15  	// information presented via RPC.
    16  	Tower WatchtowerBackend
    17  }