add version log

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

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

Loading…
Cancel
Save