ui_config

package
v0.210504.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: CC0-1.0 Imports: 0 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 {
	Front struct {
		MsgError       string `hcl:"msg_error"`
		MsgMenuError   string `hcl:"msg_menu_error"`
		MsgStateBroken string `hcl:"msg_broken"`
		MsgStateLocked string `hcl:"msg_locked"`
		MsgStateIntro  string `hcl:"msg_intro"`
		MsgWait        string `hcl:"msg_wait"`
		MsgWaterTemp   string `hcl:"msg_water_temp"`

		MsgMenuCodeEmpty          string `hcl:"msg_menu_code_empty"`
		MsgMenuCodeInvalid        string `hcl:"msg_menu_code_invalid"`
		MsgMenuInsufficientCredit string `hcl:"msg_menu_insufficient_credit"`
		MsgMenuNotAvailable       string `hcl:"msg_menu_not_available"`

		MsgCream   string `hcl:"msg_cream"`
		MsgSugar   string `hcl:"msg_sugar"`
		MsgCredit  string `hcl:"msg_credit"`
		MsgMaking1 string `hcl:"msg_making1"`
		MsgMaking2 string `hcl:"msg_making2"`

		MsgInputCode string `hcl:"msg_input_code"`

		ResetTimeoutSec int `hcl:"reset_sec"`

		PicIdle   string `hcl:"pic_idle"`
		PicBroken string `hcl:"pic_broken"`
	}

	Service struct {
		Auth struct {
			Enable    bool     `hcl:"enable"`
			Passwords []string `hcl:"passwords"`
		}
		MsgAuth         string `hcl:"msg_auth"`
		ResetTimeoutSec int    `hcl:"reset_sec"`
		Tests           []struct {
			Name     string `hcl:"name,key"`
			Scenario string `hcl:"scenario"`
		} `hcl:"test"`
	}
}

Jump to

Keyboard shortcuts

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