+
Skip to content

morhayn/diaginfra

Repository files navigation

diaginfra

Program for checking the operation services


Create conf/config.yaml file checking services and run main file

Ssh key for connection get from ~/.ssh/id_rsa (internal/sshcmd func InitSsh)


Directory project

  • build react compiling directory
  • conf yaml configurate for testing stend
  • internal go module
    • chport check port status
    • churl check url status
    • getlog get and parse logs
    • handl parse result shell command
    • sshcmd run shell command in ssh
    • webapi gin web server
    • modules testing programs module for configure
    • global global struct
  • public react directory
  • src react directory

Build programm

npm install
npm run build
go mod tidy
CGO_ENABLED=0 go build -o diaginfra main.go

Sergey Kukrin 21.11.2022

About

Program for diagnosing problems in the work of services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载