Skip to content

rodesousa/luz-lantern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

illuminates the dark places of your infra

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages