2026-10-12 12:27:14: merge [main:43ce9babe5667b4aa643ec333e1b8e988c1a8980];
This commit is contained in:
1 parent
17985317d2
commit
4b9d03c833
21 files changed
+595
-243
No files matched your search
@@ -6,6 +6,7 @@ import (
|
||||
"isp-lock-service/routes"
|
||||
|
||||
"github.com/txix-open/isp-kit/bootstrap"
|
||||
"github.com/txix-open/isp-kit/cluster"
|
||||
"github.com/txix-open/isp-kit/shutdown"
|
||||
)
|
||||
|
||||
@@ -22,10 +23,9 @@ var (
|
||||
// @host localhost:9000
|
||||
// @BasePath /api/isp-lock-service
|
||||
|
||||
//go:generate swag init
|
||||
//go:generate rm -f docs/swagger.json docs/docs.go
|
||||
//go:generate swag init -pd -ot json -eot json
|
||||
func main() {
|
||||
boot := bootstrap.New(version, conf.Remote{}, routes.EndpointDescriptors())
|
||||
boot := bootstrap.New(version, conf.Remote{}, cluster.Endpoints(routes.EndpointDescriptors()), cluster.GrpcTransport)
|
||||
app := boot.App
|
||||
logger := app.Logger()
|
||||
|
||||
|
||||
Reference in new issue
Block a user