Help us shape the future of Go! Take the 2026 Go Developer Survey

network

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoNetwork = errors.New("Networking not available to load resource")
	ErrNotFound  = errors.New("Failed to find resource")
)

Functions

func GetConsoles

func GetConsoles(urls []string) ([]string, error)

func GetEngines

func GetEngines(urls []string) ([]string, error)

func GetServices

func GetServices(urls []string) ([]string, error)

func LoadFromNetwork

func LoadFromNetwork(location string) ([]byte, error)

func LoadFromNetworkWithCache

func LoadFromNetworkWithCache(location string) ([]byte, error)

func LoadMultiEngineResource

func LoadMultiEngineResource(name string) ([]byte, error)

func LoadResource

func LoadResource(location string, network bool) ([]byte, error)

func LoadServiceResource

func LoadServiceResource(name string, useNetwork bool, cfg *config.CloudConfig) ([]byte, error)

func SetProxyEnvironmentVariables

func SetProxyEnvironmentVariables()

Types

This section is empty.

Jump to

Keyboard shortcuts

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