mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 17:22:26 +00:00
remove transport draft, add grpc web and gateway support
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
type Transport interface {
|
||||
grpc.ServiceRegistrar
|
||||
RegisterService(sd *grpc.ServiceDesc, ss interface{})
|
||||
Serve(lis net.Listener) error
|
||||
Stop()
|
||||
GracefulStop()
|
||||
}
|
Reference in New Issue
Block a user