meek

package
v0.0.0-...-6daa40f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: AGPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanGlobalRoundTripperCache

func CleanGlobalRoundTripperCache()

Types

type Dialer

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

func NewDialer

func NewDialer(s string, d netproxy.Dialer) (*Dialer, error)

func (*Dialer) Dial

func (m *Dialer) Dial(network, addr string) (c netproxy.Conn, err error)

type Request

type Request struct {
	Data          []byte
	ConnectionTag []byte
}

type Response

type Response struct {
	Data []byte
}

type Session

type Session interface {
	io.ReadWriteCloser
}

type Tripper

type Tripper interface {
	RoundTrip(ctx context.Context, req Request) (resp Response, err error)
}

Jump to

Keyboard shortcuts

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