mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-25 12:26:26 +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()
|
|
}
|