Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Client *routeros.Client // contains filtered or unexported fields }
func (*Connection) Free ¶
func (c *Connection) Free(log zerolog.Logger)
func (*Connection) GetLastUse ¶ added in v0.2.0
func (c *Connection) GetLastUse() time.Time
func (*Connection) IsHealthy ¶ added in v0.2.0
func (c *Connection) IsHealthy() bool
func (*Connection) IsInUse ¶ added in v0.2.0
func (c *Connection) IsInUse() bool
type ConnectionManager ¶
type ConnectionManager struct {
// contains filtered or unexported fields
}
func CreateConnectionManager ¶
func CreateConnectionManager(cleanupInterval time.Duration, useTimeout time.Duration) *ConnectionManager
Click to show internal directories.
Click to hide internal directories.