mirror of https://github.com/dnomd343/XProxy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
337 B
20 lines
337 B
package main
|
|
|
|
import (
|
|
log "github.com/sirupsen/logrus"
|
|
)
|
|
|
|
var logLevel = "debug"
|
|
|
|
func main() {
|
|
log.SetLevel(log.DebugLevel)
|
|
log.Warning("XProxy start")
|
|
|
|
loadProxy("/etc/xproxy/config", "/xproxy")
|
|
|
|
//content, err := os.ReadFile("test.yml")
|
|
//if err != nil {
|
|
// panic(err)
|
|
//}
|
|
//loadConfig(content)
|
|
}
|
|
|