config

package
v0.0.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = new(Config)

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug         bool
	Normal        bool
	ListenAddress string
	PoolSize      int
	ExecTimeOut   time.Duration
	WebTimeout    time.Duration
	RelativePath  string
	RootDir       string
	DBType        string
	SelfUpdateURL string
}

func (*Config) DataDir

func (c *Config) DataDir() string

func (*Config) Init

func (c *Config) Init() error

func (*Config) LogDir

func (c *Config) LogDir() string

func (*Config) ScriptDir

func (c *Config) ScriptDir() string

func (*Config) WorkSpace

func (c *Config) WorkSpace() string

Jump to

Keyboard shortcuts

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