Categorygithub.com/lcnascimento/go-kit/grpcserver
modulepackage
1.7.0
Repository: https://github.com/lcnascimento/go-kit.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package mocks is a generated GoMock package.

# Functions

NewServer creates a new gRPC server.
WithDefaultInterceptors adds the default interceptors to the gRPC server.
WithPort sets the port for the gRPC server.
WithStreamInterceptor adds a stream interceptor to the gRPC server.
WithUnaryInterceptor adds a unary interceptor to the gRPC server.

# Variables

ErrCreateListener is returned when the listener creation fails.
ErrServerNotStarted is returned when the server is not started yet.

# Interfaces

Server is a gRPC server.

# Type aliases

Option is a function that configures the gRPC server.
ServiceRegistration is a function that registers a service to the gRPC server.