watchtower: add externalip CLI configuration

This commit is contained in:
Conner Fromknecht committed 2019-06-20 17:04:03 -07:00
1 parent 7e81a5144e
commit fa966a4901
2 files changed
+26 -1

No files matched your search

+5 -1
View File
@@ -74,9 +74,13 @@ type Config struct {
// have stronger guarantees wrt. returned error types.
PublishTx func(*wire.MsgTx) error
// ListenAddrs specifies which address to which clients may connect.
// ListenAddrs specifies the listening addresses of the tower.
ListenAddrs []net.Addr
// ExternalIPs specifies the addresses to which clients may connect to
// the tower.
ExternalIPs []net.Addr
// ReadTimeout specifies how long a client may go without sending a
// message.
ReadTimeout time.Duration