/luz-lantern

illuminates the dark places of your infra

Primary LanguageGoApache License 2.0Apache-2.0

Stories in Ready

luz-lantern

Dependancies

go get -v github.com/spf13/cobra/cobra
go get -v github.com/Sirupsen/logrus

Conf

Example

cmd:
    - user:
        name: aze

    - user:
        name: lala

    - user:
        name : ippon

    - user:
        name : root

    - ping :
        url : "google.com"

    - ping :
        url : "localhost"
        expected : false

    - curl:
        url: "http://www.google.fr"
        name: "google"

Commande Line

Run

lantern run 
lantern run -c conf.yaml

Mode server (port 8080)

lantern server start &
lantern server start -c conf.yaml &
lantern server stop | status

Flags

-c, --config string    conf file (default "conf.yaml")
-d, --debug            show debug message
-h, --help             help for lantern
    --logfile string   log file output (default is current path)
-o, --off              disable out console log

luz with vim