Versions in this module Expand all Collapse all v1 v1.24.3 Apr 25, 2026 Changes in this version + type Handler struct + func New(opts *NewOpts) (*Handler, error) + func (h *Handler) CmdQuery(connCtx context.Context, query *middleware.Request) (*middleware.Response, error) + func (h *Handler) Collect(ch chan<- prometheus.Metric) + func (h *Handler) Describe(ch chan<- *prometheus.Desc) + func (h *Handler) Handle(ctx context.Context, req *middleware.Request) (*middleware.Response, error) + func (h *Handler) Run(ctx context.Context) + type NewOpts struct + Auth bool + L *slog.Logger + Metrics *middleware.Metrics + PostgreSQLURL string + ReplSetName string + SessionCleanupInterval time.Duration + StateProvider *state.Provider + TCPHost string