dialer

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogWriter

func SetLogWriter(logger *log.Logger)

Types

type Builder

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

func B

func B(dial DialFunc) *Builder

func (*Builder) Build

func (b *Builder) Build() DialFunc

func (*Builder) WithBitReverse

func (b *Builder) WithBitReverse() *Builder

func (*Builder) WithBrotli

func (b *Builder) WithBrotli() *Builder

func (*Builder) WithMultiplex

func (b *Builder) WithMultiplex() *Builder

func (*Builder) WithTls

func (b *Builder) WithTls(conf *tls.Config) *Builder

type DialFunc

type DialFunc func(network, addr string) (net.Conn, error)

Jump to

Keyboard shortcuts

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