multi: configure and start hashmail server

With this commit we make it possible to enable the Lightning Node
Connect mailbox server to be enabled and started as a local service
within aperture.
This commit is contained in:
Oliver Gugger
2021-11-22 16:30:50 +01:00
parent c45cd3a317
commit 7bcc8355d0
7 changed files with 233 additions and 29 deletions

View File

@@ -115,7 +115,7 @@ func runHTTPTest(t *testing.T, tc *testCase) {
}}
mockAuth := auth.NewMockAuthenticator()
p, err := proxy.New(mockAuth, services, true, "static")
p, err := proxy.New(mockAuth, services)
require.NoError(t, err)
// Start server that gives requests to the proxy.
@@ -264,7 +264,7 @@ func runGRPCTest(t *testing.T, tc *testCase) {
// Create the proxy server and start serving on TLS.
mockAuth := auth.NewMockAuthenticator()
p, err := proxy.New(mockAuth, services, true, "static")
p, err := proxy.New(mockAuth, services)
require.NoError(t, err)
server := &http.Server{
Addr: testProxyAddr,