lnrpc/watchtowerrpc: add WatchtowerBackend configs

This commit is contained in:
Conner Fromknecht committed 2019-06-20 16:53:25 -07:00
1 parent 72e4fbff97
commit 0db39d4fe6
3 files changed
+42

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// +build watchtowerrpc
package watchtowerrpc
// Config is the primary configuration struct for the watchtower RPC server. It
// contains all items required for the RPC server to carry out its duties. The
// fields with struct tags are meant to parsed as normal configuration options,
// while if able to be populated, the latter fields MUST also be specified.
type Config struct {
// Tower is the active watchtower which serves as the primary source for
// information presented via RPC.
Tower WatchtowerBackend
}