Versions in this module Expand all Collapse all v0 v0.0.1 Sep 24, 2020 Changes in this version + const Error + const Failed + const Linux + const Success + const Windows + func CreateConfig(fn string) error + func FileExist(fn string) bool + func RunCommand(command string, directory string, logger *zap.SugaredLogger, ...) + type CommandOut struct + StdError []byte + StdOutput []byte + type Commands struct + Commands JsonFile + func ReadConfig(fn string) (*Commands, error) + type Handler interface + type HandlerObjects struct + Config JsonInner + Logger *zap.SugaredLogger + func (h HandlerObjects) Concurrent() + func (h HandlerObjects) Sync() + type Instance struct + Config *Commands + Logger *zap.SugaredLogger + OperatingSystem string + func InitApplication() (i Instance, e error) + func (i *Instance) StartHandler() + type JsonFile struct + Concurrent bool + List []JsonInner + type JsonInner struct + Concurrent bool + Directory string + List []ListItems + type ListItems struct + CMD string + type OperationStatus struct + Duration time.Duration + Result execute.ExecResult + Status int + func RunCommandSync(command string, directory string, logger *zap.SugaredLogger) (result OperationStatus)