app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package app centralizes ShellCN product identifiers and published artifact names used across the backend.

Index

Constants

View Source
const (
	Name         = "shellcn"
	ServerBinary = Name
	AgentBinary  = Name + "-agent"

	ServerImageRepository = "ghcr.io/charlesng35/" + ServerBinary
	AgentImageRepository  = "ghcr.io/charlesng35/" + AgentBinary
	ServerImageLatest     = ServerImageRepository + ":latest"
	AgentImageLatest      = AgentImageRepository + ":latest"

	// Repository is the canonical GitHub repo; LatestReleaseURL points at the
	// published server/agent binaries.
	Repository       = "CharlesNg35/" + Name
	LatestReleaseURL = "https://github.com/" + Repository + "/releases/latest"

	DefaultDatabaseDSN = Name + ".db"
	DefaultClientName  = Name

	// DisplayName is the human-facing product name (e.g. the 2FA issuer shown in
	// authenticator apps), as opposed to the lowercase slug Name.
	DisplayName = "ShellCN"

	SessionIssuer     = Name
	JWTSigningContext = Name + " auth jwt:"

	AgentUsername        = AgentBinary
	AgentSlugFallback    = AgentBinary
	AgentInternalHost    = AgentBinary + ".internal"
	AgentInternalAddress = AgentInternalHost + ":443"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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