http

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseServerName = "ProtoMux-HTTP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Serve

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

func NewServe

func NewServe(handler http.Handler, logPath string, tls *tls.Config) (*Serve, error)

func (*Serve) ServeConn

func (s *Serve) ServeConn(ctx context.Context, conn net.Conn)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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