sharedfuncs

package
v0.0.0-...-e90f3c6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

FileExists - checks if a file exists and returns bool

func ProcessMessage

func ProcessMessage(ctx context.Context, msg *pubsub.Message)

ProcessMessage - process a pubsub message

func RandString

func RandString(n int) string

RandString - return a random ascii string

func RunCmd

func RunCmd(cmd string, args []string) ([]byte, error)

RunCmd - shell out and run something

Types

This section is empty.