utils

package
v0.0.0-...-ee5cb79 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btos

func Btos(value bool) string

func DecodeUrl

func DecodeUrl(link string) (string, string, error)

func DisplayHeaderTable

func DisplayHeaderTable(labels []string, values [][]string, err error)

func DisplayStatus

func DisplayStatus(label string, value string, err error)

func DisplayTable

func DisplayTable(labels []string, values []string, err error)

func EncodeUrl

func EncodeUrl(host string, path string, fields map[string]string) (string, error)

func GetChoice

func GetChoice(length int) (int, error)

func GetContent

func GetContent(html string, path string) (string, error)

func GetCredentials

func GetCredentials() (string, string)

func GetFileContent

func GetFileContent(fullname string) (string, error)

func GetFormValues

func GetFormValues(html string, path string) (map[string]string, error)

func GetFullName

func GetFullName(filename string) string

func GetStatusFromNodeCss

func GetStatusFromNodeCss(html string, path string) (string, string, error)

func GetTableDataAsArrayWithHeaders

func GetTableDataAsArrayWithHeaders(html string, path string, excludeRows int, excludeCols int) ([]string, [][]string, error)

func GetTableFromArray

func GetTableFromArray(html string, path string) ([]string, []string, error)

func IsWindows

func IsWindows() bool

func PrepareFields

func PrepareFields(fields map[string]string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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