helpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIKey

func GetAPIKey() (string, error)

return the saved API Key

func GetInstanceStatus

func GetInstanceStatus(Booted bool, Locked bool, Built bool, Suspended bool) string

func GetStructHeaders

func GetStructHeaders(str interface{}) []string

Parse struct and return all the field names as headers

func IsIpv4Regex

func IsIpv4Regex(ipAddress string) bool

func SaveAPIKey

func SaveAPIKey(value string) error

SaveAPIKey saves the API key to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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