adminclient

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package adminclient provides an authenticated Connect RPC client for the pbflags admin API, suitable for use by the CLI.

Index

Constants

View Source
const DefaultURL = "http://localhost:9200"

DefaultURL is the default admin API address.

Variables

This section is empty.

Functions

func New

New creates an authenticated FlagAdminServiceClient. It loads credentials from the standard lookup chain (env var, then credentials file) and injects them as headers on every request.

The admin URL is resolved from the url parameter, PBFLAGS_ADMIN_URL env var, or DefaultURL, in that order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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