Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnPools ¶
type ConnPools struct { sync.RWMutex P map[string]*pool.ConnPool MaxConns int MaxIdle int ConnTimeout int CallTimeout int }
ConnPools is responsible for the Connection Pool lifecycle management.
func NewConnPools ¶
func (*ConnPools) UpdatePools ¶
type OpenTsdbClient ¶
type OpenTsdbClient struct {
// contains filtered or unexported fields
}
func (OpenTsdbClient) Close ¶
func (t OpenTsdbClient) Close() error
func (OpenTsdbClient) Closed ¶
func (t OpenTsdbClient) Closed() bool
func (OpenTsdbClient) Name ¶
func (t OpenTsdbClient) Name() string
type OpenTsdbConnPoolHelper ¶
type OpenTsdbConnPoolHelper struct {
// contains filtered or unexported fields
}
func NewOpenTsdbConnPoolHelper ¶
func NewOpenTsdbConnPoolHelper(address string, maxConns, maxIdle, connTimeout, callTimeout int) *OpenTsdbConnPoolHelper
func (*OpenTsdbConnPoolHelper) Send ¶
func (t *OpenTsdbConnPoolHelper) Send(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.