Versions in this module Expand all Collapse all v2 v2.0.0 Jun 14, 2023 Changes in this version + type Config struct + Addr string + DNSLookupPeriod time.Duration + GRPCClientConfig grpcclient.Config + GracefulShutdownTimeout time.Duration + InfNames []string + Port int + SchedulerAddress string + WorkerConcurrency int + func (cfg *Config) RegisterFlags(f *flag.FlagSet) + type Frontend struct + func NewFrontend(cfg Config, ring ring.ReadRing, log log.Logger, reg prometheus.Registerer) (*Frontend, error) + func (f *Frontend) CheckReady(_ context.Context) error + func (f *Frontend) QueryResult(ctx context.Context, qrReq *frontendv2pb.QueryResultRequest) (*frontendv2pb.QueryResultResponse, error) + func (f *Frontend) RoundTripGRPC(ctx context.Context, req *httpgrpc.HTTPRequest) (*httpgrpc.HTTPResponse, error)