add version log

addon-dailer
lqqyt2423 4 years ago
parent 84f7dc74a3
commit e12480cc3c

@ -10,6 +10,8 @@ import (
log "github.com/sirupsen/logrus"
)
const version = "0.0.1"
type Config struct {
addr string
webAddr string
@ -37,6 +39,8 @@ func main() {
FullTimestamp: true,
})
log.Infof("go-mitmproxy version %v\n", version)
config := loadConfig()
opts := &proxy.Options{

Loading…
Cancel
Save