2019-06-21 02:53:25 +03:00
|
|
|
// +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 {
|
2019-07-03 01:03:16 +03:00
|
|
|
// Active indicates if the watchtower is enabled.
|
|
|
|
Active bool
|
|
|
|
|
2019-06-21 02:53:25 +03:00
|
|
|
// Tower is the active watchtower which serves as the primary source for
|
|
|
|
// information presented via RPC.
|
|
|
|
Tower WatchtowerBackend
|
|
|
|
}
|