mtglib

package
v0.0.0-...-8faca40 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	m.Proxy
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(opts ProxyOpts) (*Proxy, error)

NewProxy makes a new proxy instance.

func (*Proxy) Serve

func (p *Proxy) Serve(listener net.Listener) error

Serve starts a proxy on a given listener.

type ProxyOpts

type ProxyOpts m.ProxyOpts

Jump to

Keyboard shortcuts

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