server+peer: init peer struct w/ AuxChanCloser if present
This commit is contained in:
1 parent
625d426a56
commit
44ab7e6b10
3 files changed
+10
No files matched your search
@@ -400,6 +400,10 @@ type Config struct {
|
||||
// in place.
|
||||
MsgRouter fn.Option[msgmux.Router]
|
||||
|
||||
// AuxChanCloser is an optional instance of an abstraction that can be
|
||||
// used to modify the way the co-op close transaction is constructed.
|
||||
AuxChanCloser fn.Option[chancloser.AuxChanCloser]
|
||||
|
||||
// Quit is the server's quit channel. If this is closed, we halt operation.
|
||||
Quit chan struct{}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user