constant

package
v0.0.0-...-8fa0f35 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientConf = CConf{}
	ServerConf = SConf{}
	Token      = ""
)

Functions

func UpdateToken

func UpdateToken(token string) error

Types

type CConf

type CConf struct {
	UserName string `yaml:"username"`
	PassWord string `yaml:"password"`
	Device   string `yaml:"device"`
	Host     string `yaml:"host"`
	Mute     bool   `yaml:"mute"`
}

客户端配置

type SConf

type SConf struct {
	MaxUsers   int `yaml:"max_users"`
	MaxDevices int `yaml:"max_devices"`
	Port       int `yaml:"port"`
}

服务端配置

Jump to

Keyboard shortcuts

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