config

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug      bool   `json:"debug" ini:"debug" cfg:"debug" cfgDefault:"false"`
	Listen     string `json:"listen" ini:"listen" cfg:"listen" cfgDefault:"0.0.0.0:2200"`
	PrivateKey string `json:"private_key" ini:"private_key" cfg:"private_key" cfgDefault:"id_rsa"`
	BaseBBSDir string `json:"base_bbs_dir" ini:"base_bbs_dir" cfg:"base_bbs_dir" cfgDefault:"./"`
}

func Load

func Load() (Config, error)

Jump to

Keyboard shortcuts

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