Skip to content

Commit ae67bbb

Browse files
authored
Merge pull request #22 from projectdiscovery/bugfix-missing-files
adding missing files
2 parents 7a0364f + 80f5074 commit ae67bbb

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
*.exe
2-
simplehttpserver
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"github.com/projectdiscovery/gologger"
5+
"github.com/projectdiscovery/simplehttpserver/internal/runner"
6+
)
7+
8+
func main() {
9+
// Parse the command line flags and read config files
10+
options := runner.ParseOptions()
11+
runner, err := runner.New(options)
12+
if err != nil {
13+
gologger.Fatal().Msgf("Could not create runner: %s\n", err)
14+
}
15+
16+
runner.Run()
17+
runner.Close()
18+
}

0 commit comments

Comments
 (0)