x

command module
v0.0.0-...-aa82e8d Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: MIT Imports: 14 Imported by: 0

README

Ping


Scheduled latency recorder for API's and websites.


Notes

Two different protocols.

  • http / https

Methods

  • GET / POST / PUT / DELETE

Intervals

  • 30s to 24h customizable completely

HTTP check result

  • status code
  • namelookup time
  • connect time
  • content size
  • content transfer start
  • content transfer end

Persistance

  • File storage to make it simple

Common Objects

  • Status Checker
  • Request Result

Status Checker

  • UUID
  • Timeout
  • End point
  • Method
  • Allow redirects
  • Interval (Seconds)
  • Active?

BE

  • checker.go
    • new
    • delete
    • start
    • stop
    • checkers (populate on init)
    • sych checkers with DB?
  • client.go
    • call(for checker)
  • store.go
  • api.go
    • auth ?
    • add_checker
    • stop_checker
    • run_checker
    • delete_checker
    • update_checker
    • checks_since (for checker, time)
  • logger.go ?
  • errors.go ?
  • configuration.toml
  • notifier.go
    • ?
  • main.go
    • start configuration
    • start checkers on run
    • handle api requests

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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