common

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	Host     string `yaml:"host"`
	Port     int    `yaml:"port"`
	Https    bool   `yaml:"https"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

type SynoInfo

type SynoInfo struct {
	Clients []ClientInfo `yaml:"clients"`
}

func LoadConfig

func LoadConfig(configPath string) (*SynoInfo, error)

Jump to

Keyboard shortcuts

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