adminonly

package
v1.4.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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