package
0.0.2
Repository: https://github.com/thisissoon/compass.git
Documentation: pkg.go.dev

# Functions

LogStreamInyerceptor logs stream method calls.
LogUnaryInterceptor logs unary method calls.
NewServer creates a new gRPC server Use Option functions to override defaults.
RequestID exracts the request id from context, if there is no request id a fresh ID is generated.
WithAddress overrides the default configured listen address for a server.
WithLogger overrides the default logger for a server.

# Structs

Options configures the gRPC server.
A Server can create and stop a gRPC server.
WrappedServerStream is a thin wrapper around grpc.ServerStream that allows modifying context.

# Interfaces

A Service can register itself with a server.

# Type aliases

An Option funtion can override configuration options for a server.