Spam service (#269)

This commit is contained in:
Dominic Wong
2021-11-11 17:30:46 +00:00
committed by GitHub
parent e80b68116a
commit 57f48c49fd
19 changed files with 636 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"github.com/micro/services/pkg/tracing"
"github.com/micro/services/qr/handler"
pb "github.com/micro/services/qr/proto"
@@ -17,6 +18,8 @@ func main() {
// Register handler
pb.RegisterQrHandler(srv.Server(), handler.New())
traceCloser := tracing.SetupOpentracing("qr")
defer traceCloser.Close()
// Run service
if err := srv.Run(); err != nil {