checkers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package checkers contains the actual host checkers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesFileExist

func DoesFileExist(filename string) (bool, error)

DoesFileExist checks if the filename or directory exists in the filesystem

func DoesFileHasWord

func DoesFileHasWord(filename, word string) (bool, error)

DoesFileHasWord reads a file line by line and checks if the line contains the word

func IsProcessRunning

func IsProcessRunning(checkBasename, checkWithPath string) (bool, error)

IsProcessRunning checks if the process is running

Types

This section is empty.

Jump to

Keyboard shortcuts

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