networkclientpool

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(options *types.Options, configuration *Configuration) (*fastdialer.Dialer, error)

Get creates or gets a client for the protocol based on custom configuration

func Init

func Init(options *types.Options) error

Init initializes the clientpool implementation

Types

type Configuration

type Configuration struct{}

Configuration contains the custom configuration options for a client

func (*Configuration) Hash

func (c *Configuration) Hash() string

Hash returns the hash of the configuration to allow client pooling

Jump to

Keyboard shortcuts

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