mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-16 16:06:25 +00:00
16 lines
195 B
Go
16 lines
195 B
Go
package grpc
|
|
|
|
import (
|
|
"google.golang.org/grpc"
|
|
|
|
"go.linka.cloud/grpc/transport"
|
|
)
|
|
|
|
var (
|
|
_ transport.Transport = &grpc.Server{}
|
|
)
|
|
|
|
func New() transport.Transport {
|
|
return grpc.NewServer()
|
|
}
|