cloud

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultJWTSecret = "engram-dev-jwt-secret-for-local-smoke-1234"

Variables

This section is empty.

Functions

func IsDefaultJWTSecret added in v1.13.0

func IsDefaultJWTSecret(secret string) bool

Types

type Config

type Config struct {
	DSN             string
	JWTSecret       string
	CORSOrigins     []string
	MaxPool         int
	Port            int
	BindHost        string
	AdminToken      string
	AllowedProjects []string
}

func ConfigFromEnv

func ConfigFromEnv() Config

func DefaultConfig

func DefaultConfig() Config

Directories

Path Synopsis
Package autosync implements a lease-guarded background sync manager for Engram's local-first cloud replication.
Package autosync implements a lease-guarded background sync manager for Engram's local-first cloud replication.
templ: version: v0.3.1001
templ: version: v0.3.1001

Jump to

Keyboard shortcuts

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