19 lines
295 B
Go
19 lines
295 B
Go
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()
|
|
}
|