Skip to content

Commit cad0dc2

Browse files
committed
[+] http server struct [+]
1 parent 5c52406 commit cad0dc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/httpserver/httpserver.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package httpserver
22

3+
import "net/http"
4+
35
type Options struct {
46
Folder string
57
EnableUpload bool
@@ -13,3 +15,8 @@ type Options struct {
1315
BasicAuthReal string
1416
Verbose string
1517
}
18+
19+
type HTTPServer struct {
20+
options *Options
21+
layers http.Handler
22+
}

0 commit comments

Comments
 (0)