clusterdialer

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const HandshakeTimeOut = 10 * time.Second

Variables

This section is empty.

Functions

func Init added in v1.1.0

func Init(addrOption ...string)

Types

type DialContextFunc

type DialContextFunc func(ctx context.Context, network, address string) (net.Conn, error)

func DialContext

func DialContext(clusterKey string) DialContextFunc

type DialContextProtoFunc

type DialContextProtoFunc func(ctx context.Context, address string) (net.Conn, error)

func DialContextProto

func DialContextProto(clusterKey, proto string) DialContextProtoFunc

func DialContextTCP

func DialContextTCP(clusterKey string) DialContextProtoFunc

type TunnelSession

type TunnelSession struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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