config

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	AccessToken            string
	Port                   string
	StackLocation          string
	APILogEnabled          bool
	APILogFilePath         string
	APILogSizeLimitMB      int
	AuditLogEnabled        bool
	AuditLogFilePath       string
	AuditLogSizeLimitMB    int
	LogLevel               string
	VulnscanPersistenceDir string
	GrypeScannerURL        string
	GrypeScannerToken      string
	BackupLocation         string
	BackupHelperImage      string
	BackupPersistenceDir   string
	MaxSignedBodyBytes     int64
	MaxDownloadBytes       int64
	MaxUploadBytes         int64
}

func NewConfig

func NewConfig() *Config

func (*Config) GetAPILogEnabled

func (c *Config) GetAPILogEnabled() bool

func (*Config) GetAPILogFilePath

func (c *Config) GetAPILogFilePath() string

func (*Config) GetAPILogSizeLimitMB

func (c *Config) GetAPILogSizeLimitMB() int

Jump to

Keyboard shortcuts

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