version

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2017 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVersionCommand

func NewVersionCommand(c cli.Interface) *cobra.Command

NewVersionCommand returns a new instance of the version command.

Types

type ClientVersionInfo

type ClientVersionInfo struct {
	Version   string
	Build     string
	Server    string
	GoVersion string
	OS        string
	Arch      string
}

type Version

type Version struct {
	Client *ClientVersionInfo
	Server *version.Info
	Error  error
}

func (Version) IsConnected

func (v Version) IsConnected() bool

IsConnected Checks if AMP is connected to Amplifier

func (Version) ServerError added in v0.12.0

func (v Version) ServerError() string

ServerError Return the server connection error if any

Jump to

Keyboard shortcuts

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