appconfigagent

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package appconfigagent reads the local AppConfig Agent or Lambda extension. The agent owns caching and polling; this package does not add a second cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(ctx context.Context, name string, options Options) (any, error)

Types

type Options

type Options struct {
	Application, Environment string
	Transform                parameters.Transform
	ThrowOnMissing           bool
	Timeout                  time.Duration
	HTTPClient               *http.Client
	// Endpoint explicitly enables HTTP outside Lambda, for a local agent or tests.
	Endpoint string
}

Jump to

Keyboard shortcuts

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