//
pkg.gl
Category
github.com/samaritan-proxy/samaritan
proc
internal
hc
package
1.0.0-rc1
Repository:
https://github.com/samaritan-proxy/samaritan.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
1
Files
200 SLOC
#
Packages
atcp
No description provided by the author
errs
No description provided by the author
mysql
No description provided by the author
redis
No description provided by the author
tcp
No description provided by the author
#
Functions
MinInt
MinInt returns minimum of x and y.
NewMonitor
NewMonitor creates a health monitor.
#
Constants
MaximumConcurrency
MaximumConcurrency of hc is used to avoid unexpected large number of hosts resulting in huge number of goroutines.
#
Structs
Monitor
Monitor monitors the health state of hosts.