config

package
v0.0.0-...-b359386 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultExternalIP

func DefaultExternalIP() (string, error)

Types

type Config

type Config struct {
	Args []string          `json:"args,omitempty"`
	Env  map[string]string `json:"env,omitempty"`
}

func New

func New() *Config

func Open

func Open(file string) (*Config, error)

func Parse

func Parse(r io.Reader) (*Config, error)

func (*Config) WriteTo

func (c *Config) WriteTo(name string) error

Jump to

Keyboard shortcuts

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