config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: GPL-2.0 Imports: 8 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 {
	Version       int
	Urls          ConfigUrls `json:"urls"`
	Source        string
	ConnectToAddr string `json:"test_endpoint"`
}

func (*Config) Get

func (c *Config) Get(configHost string, configPath string, insecureSkipVerify bool, keyLogger io.Writer) error

func (*Config) IsValid

func (c *Config) IsValid() error

func (*Config) String

func (c *Config) String() string

type ConfigUrls

type ConfigUrls struct {
	SmallUrl  string `json:"small_https_download_url"`
	LargeUrl  string `json:"large_https_download_url"`
	UploadUrl string `json:"https_upload_url"`
}

Jump to

Keyboard shortcuts

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