config

package
v0.0.0-...-83578eb Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFile = "gtavd.config"
	DefaultConfigType = "yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Addon

type Addon struct {
	IsEnabled bool
	Dir       string
	ModDir    string
	Blacklist map[string]struct{}
}

func NewAddon

func NewAddon() Addon

type Config

type Config struct {
	GamePath   string
	DaemonPath string
	Addon      Addon
}
var (
	DefaultConfig *Config

	OnConfigChange = make(chan struct{})
)

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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