configuration

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	core_configuration.Configuration
	Release *core_configuration.Release
	Front   FrontPackage

	WebDataLimit int64
	// contains filtered or unexported fields
}

func Initialize

func Initialize(core *core_configuration.Configuration, kargs map[string]utils.Argument, frontPackage *FrontPackage) Configuration

func Instance

func Instance() Configuration

func (Configuration) CertTLS

func (c Configuration) CertTLS() string

func (Configuration) Debug

func (c Configuration) Debug() bool

func (Configuration) DefaultPort

func (c Configuration) DefaultPort() int

func (Configuration) DefaultProtocol

func (c Configuration) DefaultProtocol() string

func (Configuration) EnableSecrets

func (c Configuration) EnableSecrets() bool

func (Configuration) EnableTLS

func (c Configuration) EnableTLS() bool

func (Configuration) EnableUserToken

func (c Configuration) EnableUserToken() bool

func (Configuration) KeyTLS

func (c Configuration) KeyTLS() string

func (Configuration) OnlyTLS

func (c Configuration) OnlyTLS() bool

func (Configuration) Port

func (c Configuration) Port() int

func (Configuration) PortTLS

func (c Configuration) PortTLS() int

type FrontPackage

type FrontPackage struct {
	Version string `json:"version"`
	Name    string `json:"name"`
	Enabled bool
}

Jump to

Keyboard shortcuts

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