Vendor main dependencies.
This commit is contained in:
parent
49a09ab7dd
commit
dd5e3fba01
2738 changed files with 1045689 additions and 0 deletions
13
vendor/github.com/vulcand/vulcand/conntracker/conntracker.go
generated
vendored
Normal file
13
vendor/github.com/vulcand/vulcand/conntracker/conntracker.go
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
package conntracker
|
||||
|
||||
import (
|
||||
"net"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type ConnectionTracker interface {
|
||||
RegisterStateChange(conn net.Conn, prev http.ConnState, cur http.ConnState)
|
||||
Counts() ConnectionStats
|
||||
}
|
||||
|
||||
type ConnectionStats map[http.ConnState]map[string]int64
|
Loading…
Add table
Add a link
Reference in a new issue