fix encipher.New

This commit is contained in:
yanweidong 2024-02-28 12:30:42 +08:00
parent 7575423cff
commit 983545b0d7
2 changed files with 4 additions and 1 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module git.apinb.com/bsm-sdk/engine
go 1.22
go 1.22

View File

@ -6,6 +6,7 @@ import (
"git.apinb.com/bsm-sdk/engine/cmd"
"git.apinb.com/bsm-sdk/engine/configure"
"git.apinb.com/bsm-sdk/engine/encipher"
"git.apinb.com/bsm-sdk/engine/env"
"git.apinb.com/bsm-sdk/engine/print"
"git.apinb.com/bsm-sdk/engine/vars"
@ -22,6 +23,8 @@ func Register(srvKey string, cfg any) {
// open side cmd.
cmd.NewCmd()
encipher.New()
print.Info("[Blocks Service] %s Starting...", vars.ServiceKey)
// set config args.