Documentation ¶
Overview ¶
Package grpc implements an gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecoverServerInterceptor ¶ added in v0.7.0
func RecoverServerInterceptor(logger tracelog.Logger) grpc.UnaryServerInterceptor
RecoverServerInterceptor returns recovery grpc interceptor.
func SimpleErrorServerInterceptor ¶ added in v0.2.0
func SimpleErrorServerInterceptor() grpc.UnaryServerInterceptor
SimpleErrorServerInterceptor returns error parser grpc interceptor.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Server defines configuration for running an gRPC server.
func NewServerWithListener ¶ added in v0.7.0
NewServerWithListener returns gRPC server with listener.
func (*Server) BuildServer ¶ added in v0.2.0
BuildServer init gRPC server.
func (*Server) RegistryDesc ¶
RegistryDesc in gRPC server.
Click to show internal directories.
Click to hide internal directories.