cloud

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultJWTSecret = "engram-dev-jwt-secret-for-local-smoke-1234"
View Source
const DefaultMaxPushBodyBytes int64 = 8 * 1024 * 1024

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
	MaxPushBodyBytes int64
}

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