Skip to content

Commit 8367d30

Browse files
committed
[+] httpserver [+]
1 parent aec2de9 commit 8367d30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkg/httpserver/httpserver.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type Options struct {
1717
BasicAuthUsername string
1818
BasicAuthPassword string
1919
BasicAuthReal string
20-
Verbose string
20+
Verbose bool
2121
}
2222

2323
type HTTPServer struct {
@@ -59,3 +59,7 @@ func (t *HTTPServer) ListenAndServeTLS() error {
5959
}
6060
return http.ListenAndServeTLS(t.options.ListenAddress, t.options.Certificate, t.options.CertificateKey, t.layers)
6161
}
62+
63+
func (t *HTTPServer) Close() error {
64+
return nil
65+
}

0 commit comments

Comments
 (0)