mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
New admin endpoint to delete data (#359)
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/micro/micro/v3/service/store"
|
||||
|
||||
otp "github.com/micro/services/otp/proto"
|
||||
adminpb "github.com/micro/services/pkg/service/proto"
|
||||
"github.com/micro/services/pkg/tracing"
|
||||
"github.com/micro/services/user/handler"
|
||||
proto "github.com/micro/services/user/proto"
|
||||
@@ -23,6 +24,7 @@ func main() {
|
||||
)
|
||||
|
||||
proto.RegisterUserHandler(srv.Server(), hd)
|
||||
adminpb.RegisterAdminHandler(srv.Server(), hd)
|
||||
traceCloser := tracing.SetupOpentracing("user")
|
||||
defer traceCloser.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user