config

package
v0.0.0-...-92f9948 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(database *db.DB, config *Configuration)

func SaveConfig

func SaveConfig(database *db.DB, config *Configuration)

Types

type Configuration

type Configuration struct {
	ID        int
	Network   string
	Nick      string
	Username  string
	OwnerNick string
	OwnerHost string
	RootPath  string
	TLS       bool
}

func NewConfiguration

func NewConfiguration(rootPath string) *Configuration

Jump to

Keyboard shortcuts

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