proxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *ServerConfig) lib.Server

Types

type Server

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

func (*Server) Close

func (s *Server) Close() error

func (*Server) Listener

func (s *Server) Listener() net.Listener

func (*Server) Open

func (s *Server) Open(addr string) (net.Listener, error)

func (*Server) Running

func (s *Server) Running() bool

func (*Server) WaitGroup

func (s *Server) WaitGroup() *sync.WaitGroup

type ServerConfig

type ServerConfig struct {
	BackendAddr string
}

Jump to

Keyboard shortcuts

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