Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { Name() string Request(onDone func()) TotalRequests() uint64 ActiveRequests() uint64 Latency() *timeseries.Instance }
func NewConnection ¶
func NewConnection(name string, request func(onDone func())) Connection
type ConnectionHelper ¶
type ConnectionHelper struct {
// contains filtered or unexported fields
}
func NewConnectionHelper ¶
func NewConnectionHelper(name string) *ConnectionHelper
func (*ConnectionHelper) ActiveRequests ¶
func (c *ConnectionHelper) ActiveRequests() uint64
func (*ConnectionHelper) Latency ¶
func (c *ConnectionHelper) Latency() *timeseries.Instance
func (*ConnectionHelper) Name ¶
func (c *ConnectionHelper) Name() string
func (*ConnectionHelper) Request ¶
func (c *ConnectionHelper) Request(request func(onDone func()), onDone func())
func (*ConnectionHelper) TotalRequests ¶
func (c *ConnectionHelper) TotalRequests() uint64
Click to show internal directories.
Click to hide internal directories.