config

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configuration = Config{}

Functions

This section is empty.

Types

type Config

type Config struct {
	ApplicationDateFormat      string  `mapstructure:"ApplicationDateFormat"`
	ApplicationDateFormatShort string  `mapstructure:"ApplicationDateFormatShort"`
	ApplicationTimeFormat      string  `mapstructure:"ApplicationTimeFormat"`
	Delay                      float64 `mapstructure:"Delay"`
	Baud                       int     `mapstructure:"Baud"`
	MaxContentRows             int     `mapstructure:"MaxContentRows"`
	MaxNoItems                 int     `mapstructure:"MaxNoItems"`
	TitleLength                int     `mapstructure:"TitleLength"`
	Debug                      bool    `mapstructure:"Debug"`
	DefaultErrorDelay          float64 `mapstructure:"DefaultErrorDelay"`
	DefaultRandomPortMin       int     `mapstructure:"DefaultRandomPortMin"`
	DefaultRandomPortMax       int     `mapstructure:"DefaultRandomPortMax"`
	DefaultRandomMACMin        int     `mapstructure:"DefaultRandomMACMin"`
	DefaultRandomMACMax        int     `mapstructure:"DefaultRandomMACMax"`
	DefaultRandomIPMin         int     `mapstructure:"DefaultRandomIPMin"`
	DefaultRandomIPMax         int     `mapstructure:"DefaultRandomIPMax"`
	DefaultBaud                int     `mapstructure:"DefaultBaud"`
	DefaultBeepDuration        int
	DefaultBeepFrequency       float64
	ValidBaudRates             []int
	ValidFileNameCharacters    []string
	PageDumpActive             bool   `mapstructure:"PageDumpActive"`
	PageDumpPath               string `mapstructure:"PageDumpPath"`
}

Jump to

Keyboard shortcuts

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