configs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by minotaur-config-export. DO NOT EDIT.

Code generated by minotaur-config-export. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLoad

func DefaultLoad(filepath string)

func LoadConfig

func LoadConfig(handle func(filename string, config any) error)

func Refresh

func Refresh()

Types

type SystemConfig

type SystemConfig struct {
	Addr   string // 监听地址
	Finish string // 启动完成
}

SystemConfig 系统

var (
	ISystemConfig *SystemConfig

	IWelcomeConfig map[int]*WelcomeConfig
)

type WelcomeConfig

type WelcomeConfig struct {
	Id   int    // ID
	Text string // 内容
}

WelcomeConfig 欢迎词

Jump to

Keyboard shortcuts

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