config

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportedLanguage = []Language{"English", "中文"}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint string   `json:"endpoint" yaml:"endpoint"`
	Language Language `json:"language" yaml:"language"`
}

Config defines the config schema

type Language

type Language string

Multi-language support

var (
	English Language = SupportedLanguage[0]
	Chinese Language = SupportedLanguage[1]
)

Jump to

Keyboard shortcuts

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