Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*RouterConfig)
Option defines a function that configures a Router
func WithContext ¶
WithContext sets the context for the server
func WithDevClient ¶
func WithDevClient(conn *grpc.ClientConn) Option
WithDevClient sets the dev gRPC client
func WithMapsClient ¶
func WithMapsClient(conn *grpc.ClientConn) Option
WithMapsClient sets the data gRPC client
func WithShutdownTimeout ¶
WithShutdownTimeout sets the graceful shutdown timeout
type RouterConfig ¶
type RouterConfig struct {
// contains filtered or unexported fields
}
RouterConfig holds all router configuration
Click to show internal directories.
Click to hide internal directories.