conn_keeper

package
v1.5.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package conn_keeper allows you to periodically reconnect to the list of connections.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConnKeeper

type IConnKeeper interface {
	types.IRunner

	GetSettings() ISettings
	GetNetworkNode() network.INode
}

func NewConnKeeper

func NewConnKeeper(pSett ISettings, pNode network.INode) IConnKeeper

type ISettings

type ISettings interface {
	GetConnections() []string
	GetDuration() time.Duration
}

func NewSettings

func NewSettings(pSett *SSettings) ISettings

type SSettings

type SSettings sSettings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL