grpc/transport/transport.go

15 lines
172 B
Go
Raw Normal View History

2021-09-30 10:00:22 +00:00
package transport
import (
"net"
"google.golang.org/grpc"
)
type Transport interface {
grpc.ServiceRegistrar
Serve(lis net.Listener) error
Stop()
GracefulStop()
}