util

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoCmd

func DoCmd(cmdName string, cmdArgs []string) (bytes.Buffer, error)

func ExecCommand

func ExecCommand(name string, arg ...string) (string, error)

func WatchConfig

func WatchConfig(log *logrus.Logger, lainlet *lainlet.Client, configKeyPrefix string, watchCh <-chan struct{}, callback watcherCallback)

func WatchFile

func WatchFile(file string, eventCh chan interface{}, stopWatchCh <-chan struct{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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