Help us shape the future of Go! Take the 2026 Go Developer Survey

adminonly

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package adminonly is the startup contract of the admin deployment (RIVOLT_ADMIN_ONLY=true, admin.rivolt.dev): the same image as the public site, serving only the admin surface behind Cloudflare Access, and running no background work. The caller refuses to boot when Problems is non-empty: a half-configured admin install is worse than none.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled(getenv func(string) string) bool

Enabled reports RIVOLT_ADMIN_ONLY=true.

func Problems

func Problems(getenv func(string) string) []string

Problems lists everything wrong with the environment for an admin-only start: missing Access settings, and variables of the public site or its workers. Empty means good to go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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