cli

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func Execute added in v0.6.1

func Execute()

func GetDNSConfig added in v0.7.1

func GetDNSConfig() (*tailcfg.DNSConfig, string)

func HasJsonOutputFlag added in v0.10.2

func HasJsonOutputFlag() bool

func JsonOutput

func JsonOutput(result interface{}, errResult error, outputFormat string)

func LoadConfig

func LoadConfig(path string) error

Types

type ErrorOutput

type ErrorOutput struct {
	Error string
}

Jump to

Keyboard shortcuts

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