Feature/gsvc interface (#1871)

This commit is contained in:
John Guo
2022-05-23 15:08:11 +08:00
committed by GitHub
parent 6a01275499
commit ab5062663e
39 changed files with 672 additions and 503 deletions

View File

@ -5,7 +5,7 @@ import (
"fmt"
"time"
"github.com/gogf/katyusha/krpc"
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
"github.com/gogf/gf/contrib/trace/jaeger/v2"
"github.com/gogf/gf/example/trace/grpc_with_db/protobuf/user"
@ -13,6 +13,7 @@ import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gcache"
"github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/katyusha/krpc"
)
type server struct{}

View File

@ -5,6 +5,8 @@ import (
"fmt"
"time"
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
"github.com/gogf/gf/contrib/trace/jaeger/v2"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"