mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 17:22:26 +00:00
add missing transport folder
This commit is contained in:
14
transport/transport.go
Normal file
14
transport/transport.go
Normal file
@ -0,0 +1,14 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
type Transport interface {
|
||||
grpc.ServiceRegistrar
|
||||
Serve(lis net.Listener) error
|
||||
Stop()
|
||||
GracefulStop()
|
||||
}
|
Reference in New Issue
Block a user