feat(proxy): Init commit
This commit is contained in:
18
app/main.go
Normal file
18
app/main.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.secnex.io/secnex/masterlog"
|
||||
)
|
||||
|
||||
func main() {
|
||||
proxy, err := NewProxy()
|
||||
if err != nil {
|
||||
masterlog.Error("Failed to create proxy", map[string]interface{}{
|
||||
"error": err.Error(),
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
masterlog.Info("Starting proxy server on :8080")
|
||||
proxy.Start()
|
||||
}
|
||||
Reference in New Issue
Block a user