package
0.0.0-20230705210123-6fe496104d33
Repository: https://github.com/dagosu/bookingapp.git
Documentation: pkg.go.dev
# Functions
New returns a grpcserver struct.
WithGRPCPort adds ability to override default port on which the GRPC services are served.
WithMetricsPort adds ability to override default port on which the HTTP prometheus metrics are served.
WithReflection adds the ability to enable the grpc reflection.
WithStreamInterceptors activates the passed slice of StreamServerInterceptor(s) on the provided server.
WithUnaryInterceptors activates the passed slice of UnaryServerInterceptor(s) on the provided server.
# Structs
GRPCServer contains the required settings for running a grpcServer.
# Type aliases
RegisterCallback function type for grpc init callback.