package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Functions

New creates a new gRPC Store API.
WithGracePeriod sets shutdown grace period for gRPC server.
WithGRPCServerOption allows adding raw grpc.ServerOption's to the instantiated gRPC server.
WithListen sets address to listen for gRPC server.
WithMaxConnAge sets the maximum connection age for gRPC server.
WithNetwork sets network to listen for gRPC server e.g tcp, udp or unix.
WithServer calls the passed gRPC registration functions on the created grpc.Server.
WithTLSConfig sets TLS configuration for gRPC server.

# Structs

A Server defines parameters to serve RPC requests, a wrapper around grpc.Server.

# Interfaces

Option overrides behavior of Server.