package
0.2.21
Repository: https://github.com/plainq/servekit.git
Documentation: pkg.go.dev

# Functions

LoggingInterceptor is a gRPC unary server interceptor that logs method calls and their durations.
No description provided by the author
NewListenerGRPC creates a new ListenerGRPC instance by creating a gRPC listener using a given address.
WithLogger sets the server logger.
WithStreamInterceptors is a function that takes a variable number of StreamInterceptor functions and returns an Option[ListenerConfig].
WithUnaryInterceptors is a function that takes a variable number of UnaryInterceptor functions and returns an Option[ListenerConfig].

# Structs

ListenerConfig represents a struct that holds the configuration options for a gRPC server.
ListenerGRPC represents a struct that encapsulates a gRPC server listener.

# Interfaces

GRPCEndpointRegistrator abstracts a mechanics of registering the gRPC service in the gRPC server.

# Type aliases

Option implements functional options pattern for the ListenerGRPC type.
StreamInterceptor is an alias for grpc.StreamServerInterceptor.
UnaryInterceptor is an alias for grpc.UnaryServerInterceptor.