config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyLogLevel             = "logLevel"
	KeyConfigPath           = "config"
	KeyUrlContextRoot       = "urlContextRoot"
	KeyCorsAllowedOrigins   = "corsAllowedOrigins"
	KeyCorsAllowedHeaders   = "corsAllowedHeaders"
	KeyCorsAllowCredentials = "corsAllowCredentials"
	KeyCorsMaxAge           = "corsMaxAge"
	KeyJWTValidation        = "jwtValidation"
	KeyJWTServiceID         = "jwtServiceID"
	KeyJWKSURL              = "jwksURL"
	KeyColumnWidth          = "columnWidth"
	EnvPrefix               = "tmc"
	LogLevelOff             = "off"
)
View Source
const DefaultConfigDir = "~/.tm-catalog"

Variables

View Source
var ConfigDir string

Functions

func Delete

func Delete(key string) error

func ReadInConfig added in v0.1.3

func ReadInConfig()

func Save

func Save(key string, data any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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