remotedaemon: notice on RELOAD when tor hidden service has been enabled
and start serving it. This makes the webapp wormhole tor pairing work 100%! This commit was sponsored by Andrea Rota.
This commit is contained in:
parent
4d690dc680
commit
309742805f
4 changed files with 62 additions and 31 deletions
|
@ -28,6 +28,10 @@ newtype RemoteURI = RemoteURI URI
|
|||
-- from a Chan, and emits others to another Chan.
|
||||
type Transport = RemoteRepo -> RemoteURI -> TransportHandle -> TChan Consumed -> TChan Emitted -> IO ()
|
||||
|
||||
-- A server for a Transport consumes some messages from a Chan in
|
||||
-- order to learn about network changes, reloads, etc.
|
||||
type Server = TChan Consumed -> TransportHandle -> IO ()
|
||||
|
||||
data RemoteRepo = RemoteRepo Git.Repo RemoteGitConfig
|
||||
newtype LocalRepo = LocalRepo Git.Repo
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue