File tree Expand file tree Collapse file tree 7 files changed +7
-199
lines changed
Expand file tree Collapse file tree 7 files changed +7
-199
lines changed Original file line number Diff line number Diff line change 55require (
66 github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
77 github.com/projectdiscovery/gologger v1.1.4
8+ github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e
89 gopkg.in/yaml.v2 v2.4.0
910)
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
2525github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
2626github.com/projectdiscovery/gologger v1.1.4 h1:qWxGUq7ukHWT849uGPkagPKF3yBPYAsTtMKunQ8O2VI =
2727github.com/projectdiscovery/gologger v1.1.4 /go.mod h1:Bhb6Bdx2PV1nMaFLoXNBmHIU85iROS9y1tBuv7T5pMY =
28+ github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e h1:IZa08TUGbU7I0HUb9QQt/8wuu2fPZqfnMXwWhtMxei8 =
29+ github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e /go.mod h1:jSp8W5zIkNPxAqVdcoFlfv0K5cqogTe65fMinR0Fvuk =
2830github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
2931github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
3032github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY =
Original file line number Diff line number Diff line change 11package httpserver
22
33import (
4- "net"
54 "net/http"
65
7- "github.com/projectdiscovery/simplehttpserver/pkg/ sslcert"
6+ "github.com/projectdiscovery/sslcert"
87)
98
109type Options struct {
@@ -22,9 +21,8 @@ type Options struct {
2221}
2322
2423type HTTPServer struct {
25- options * Options
26- layers http.Handler
27- listener net.Listener
24+ options * Options
25+ layers http.Handler
2826}
2927
3028func New (options * Options ) (* HTTPServer , error ) {
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 "time"
88
99 "github.com/projectdiscovery/gologger"
10- "github.com/projectdiscovery/simplehttpserver/pkg/ sslcert"
10+ "github.com/projectdiscovery/sslcert"
1111 "gopkg.in/yaml.v2"
1212)
1313
You can’t perform that action at this time.
0 commit comments