sourcepg

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package sourcepg provides a Postgres-backed flagpole.Source over a feature_flags table. See schema.sql for the expected DDL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source loads non-archived feature definitions from Postgres.

func New

func New(pool *pgxpool.Pool) *Source

func (*Source) Load

func (s *Source) Load(ctx context.Context) (map[string]flagpole.Feature, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL