add: user auth accomplished

This commit is contained in:
wwweww
2026-02-26 02:17:07 +08:00
parent 300058ad01
commit 60b6f40f9f
54 changed files with 1601 additions and 2303 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func main() {
flag.Parse()
var c config.Config
conf.MustLoad(*configFile, &c)
conf.MustLoad(*configFile, &c, conf.UseEnv())
if err := c.SetUp(); err != nil {
panic(err)
}
+1 -1
View File
@@ -2,7 +2,7 @@ Name: email-mq
Prometheus:
Host: 0.0.0.0
Port: 4003
Port: 4001
Path: /metrics
Kmq:
@@ -10,7 +10,6 @@ import (
)
func Mqs(c config.Config) []service.Service {
//svcContext := NewServiceContext
ctx := context.Background()
svcCtx := svc.NewServiceContext(c)