gus

package
v0.0.0-...-c6b72c6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GusProxy

type GusProxy http.Handler

func New

func New(conf *config.Config, DNSdb *db.DNS) GusProxy

New round proxy servers

type Gustavo

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

Gustavo main structure

func (*Gustavo) SelectProxy

func (gs *Gustavo) SelectProxy() (rProxy *proxy.Host)

SelectProxy returns a proxy depends on your scheduler

func (*Gustavo) ServeHTTP

func (gs *Gustavo) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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