├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── ci.yml ├── .gitignore ├── CODEOWNERS ├── LICENSE ├── Makefile ├── README.md ├── checkers ├── README.md ├── disk │ ├── disk_usage.go │ └── disk_usage_test.go ├── http.go ├── http_test.go ├── memcache │ ├── memcached.go │ └── memcached_test.go ├── mongo │ ├── mongo.go │ └── mongo_test.go ├── reachable.go ├── reachable_test.go ├── redis │ ├── redis.go │ └── redis_test.go ├── sql.go └── sql_test.go ├── examples ├── custom-checker-server │ └── custom-checker-server.go ├── on-complete-hook │ └── README.md ├── simple-http-server │ └── simple-http-server.go └── status-listener │ ├── README.md │ ├── dependency │ └── dependency.go │ └── service │ └── service.go ├── fakes ├── README.md ├── icheckable.go ├── ireachabledatadogincrementer.go ├── isqlexecer.go ├── isqlpinger.go ├── isqlqueryer.go └── netfakes │ └── iconn.go ├── go.mod ├── go.sum ├── handlers ├── README.md └── handlers.go ├── health.go ├── health_shared_test.go ├── health_test.go ├── images └── go-health.svg ├── in-repo.yaml ├── safe.go └── safe_test.go /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.sketch 2 | /vendor/ 3 | .DS_Store 4 | c.out 5 | .cover* 6 | .idea 7 | .vscode 8 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @InVisionApp/architecture -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/README.md -------------------------------------------------------------------------------- /checkers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/README.md -------------------------------------------------------------------------------- /checkers/disk/disk_usage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/disk/disk_usage.go -------------------------------------------------------------------------------- /checkers/disk/disk_usage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/disk/disk_usage_test.go -------------------------------------------------------------------------------- /checkers/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/http.go -------------------------------------------------------------------------------- /checkers/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/http_test.go -------------------------------------------------------------------------------- /checkers/memcache/memcached.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/memcache/memcached.go -------------------------------------------------------------------------------- /checkers/memcache/memcached_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/memcache/memcached_test.go -------------------------------------------------------------------------------- /checkers/mongo/mongo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/mongo/mongo.go -------------------------------------------------------------------------------- /checkers/mongo/mongo_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/mongo/mongo_test.go -------------------------------------------------------------------------------- /checkers/reachable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/reachable.go -------------------------------------------------------------------------------- /checkers/reachable_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/reachable_test.go -------------------------------------------------------------------------------- /checkers/redis/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/redis/redis.go -------------------------------------------------------------------------------- /checkers/redis/redis_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/redis/redis_test.go -------------------------------------------------------------------------------- /checkers/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/sql.go -------------------------------------------------------------------------------- /checkers/sql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/checkers/sql_test.go -------------------------------------------------------------------------------- /examples/custom-checker-server/custom-checker-server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/custom-checker-server/custom-checker-server.go -------------------------------------------------------------------------------- /examples/on-complete-hook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/on-complete-hook/README.md -------------------------------------------------------------------------------- /examples/simple-http-server/simple-http-server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/simple-http-server/simple-http-server.go -------------------------------------------------------------------------------- /examples/status-listener/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/status-listener/README.md -------------------------------------------------------------------------------- /examples/status-listener/dependency/dependency.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/status-listener/dependency/dependency.go -------------------------------------------------------------------------------- /examples/status-listener/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/examples/status-listener/service/service.go -------------------------------------------------------------------------------- /fakes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/README.md -------------------------------------------------------------------------------- /fakes/icheckable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/icheckable.go -------------------------------------------------------------------------------- /fakes/ireachabledatadogincrementer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/ireachabledatadogincrementer.go -------------------------------------------------------------------------------- /fakes/isqlexecer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/isqlexecer.go -------------------------------------------------------------------------------- /fakes/isqlpinger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/isqlpinger.go -------------------------------------------------------------------------------- /fakes/isqlqueryer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/isqlqueryer.go -------------------------------------------------------------------------------- /fakes/netfakes/iconn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/fakes/netfakes/iconn.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/go.sum -------------------------------------------------------------------------------- /handlers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/handlers/README.md -------------------------------------------------------------------------------- /handlers/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/handlers/handlers.go -------------------------------------------------------------------------------- /health.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/health.go -------------------------------------------------------------------------------- /health_shared_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/health_shared_test.go -------------------------------------------------------------------------------- /health_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/health_test.go -------------------------------------------------------------------------------- /images/go-health.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/images/go-health.svg -------------------------------------------------------------------------------- /in-repo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/in-repo.yaml -------------------------------------------------------------------------------- /safe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/safe.go -------------------------------------------------------------------------------- /safe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InVisionApp/go-health/HEAD/safe_test.go --------------------------------------------------------------------------------