clean up edge router policy (#3, #9)

This commit is contained in:
Michael Quigley
2022-07-27 12:17:37 -04:00
parent b852518a0d
commit 91849caf25
4 changed files with 76 additions and 3 deletions

View File

@ -32,6 +32,7 @@ func Run(cfg *Config) error {
api.IdentityCreateAccountHandler = identity.CreateAccountHandlerFunc(createAccountHandler)
api.IdentityEnableHandler = identity.EnableHandlerFunc(enableHandler)
api.TunnelTunnelHandler = tunnel.TunnelHandlerFunc(tunnelHandler)
api.TunnelUntunnelHandler = tunnel.UntunnelHandlerFunc(untunnelHandler)
server := rest_server_zrok.NewServer(api)
defer func() { _ = server.Shutdown() }()