HTTP service that returns a list of process' names with boolean values that respectively telling us if process is running or not.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
278 B

package main
import "errors"
// ErrNotFound occurs when a process is not presented in a list
var ErrNotFound = errors.New("process is not on list")
// ErrIsOnList occurs when a process is already presented in a list
var ErrIsOnList = errors.New("process is already on list")