Versions in this module Expand all Collapse all v0 v0.7.0 Dec 22, 2014 Changes in this version + type ConnectionLimiter struct + func NewClientIpLimiter(maxConnections int64) (*ConnectionLimiter, error) + func NewConnectionLimiter(mapper limit.MapperFn, maxConnections int64) (*ConnectionLimiter, error) + func (cl *ConnectionLimiter) GetConnectionCount() int64 + func (cl *ConnectionLimiter) GetMaxConnections() int64 + func (cl *ConnectionLimiter) ProcessRequest(r request.Request) (*http.Response, error) + func (cl *ConnectionLimiter) ProcessResponse(r request.Request, a request.Attempt) + func (cl *ConnectionLimiter) SetMaxConnections(max int64)