conf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackendConfig

func GetBackendConfig() *backendConfig

func InitBackendConfig

func InitBackendConfig(configName string, configPaths []string) error

Types

type Account

type Account struct {
	Email    string
	Name     string
	Password string
}

type AgentConfig

type AgentConfig struct {
	AgentName   string
	AgentIP     string
	Token       string
	Workspace   string
	Description string

	BackendAddr string
}

func InitAgentConfig

func InitAgentConfig(configName string, configPaths []string) (*AgentConfig, error)

Jump to

Keyboard shortcuts

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