refactor: centralize protobuf and remove go-zero
This commit is contained in:
9
shared/grpcconn/provider.go
Normal file
9
shared/grpcconn/provider.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Package grpcconn defines the smallest connection contract required by generated RPC clients.
|
||||
package grpcconn
|
||||
|
||||
import "google.golang.org/grpc"
|
||||
|
||||
// Provider is implemented by grpc.ClientConn wrappers, including legacy clients exposing Conn.
|
||||
type Provider interface {
|
||||
Conn() *grpc.ClientConn
|
||||
}
|
||||
Reference in New Issue
Block a user