Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dimiro1/health
/ types & classes
Types & classes
22 in github.com/dimiro1/health
⨍
Functions
90
◇
Types & classes
22
↓ 1 callers
FuncType
CheckerFunc
CheckerFunc is an adapter to allow the use of ordinary go functions as Checkers.
checker.go:14
Interface
Checker
Checker is a interface used to provide an indication of application health.
checker.go:8
Struct
Checker
Checker is a checker that check a given URL
url/checker.go:11
Struct
Checker
Checker is a checker that check a given redis
redis/checker.go:11
Struct
Checker
Checker is a checker that check a database connection
db/checker.go:10
Struct
CompositeChecker
CompositeChecker aggregate a list of Checkers
checker.go:26
Struct
Handler
Handler is a HTTP Server Handler implementation
handler.go:9
Struct
Health
Health is a health status struct
health.go:15
Struct
RedigoRedis
RedigoRedis implements the interface Redis with redigo package
redis/redigo.go:25
Interface
Redis
Redis is a interface used to abstract the access of the Version string
redis/checker.go:6
Struct
checkerItem
checker.go:20
Interface
connectionProvider
This interface exists to abstract the creation of new connections each time the GetVersion is called. The use of this interface helps with the unit te
redis/redigo.go:11
Struct
defaultConnectionProvider
redis/redigo.go:15
Struct
downMockRedis
redis/checker_test.go:41
Struct
downTestChecker
checker_test.go:23
Struct
mockConnectionProvider
redis/redigo_test.go:11
Struct
nilMockConnectionProvider
redis/redigo_test.go:19
Struct
outOfServiceTestChecker
checker_test.go:5
Struct
state
checker.go:60
TypeAlias
status
health.go:5
Struct
upMockRedis
redis/checker_test.go:8
Struct
upTestChecker
checker_test.go:14