httpserver

package
v0.0.0-...-18de31d Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

Types

type LogPipe

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

func (*LogPipe) ReadAll

func (p *LogPipe) ReadAll() []byte

func (*LogPipe) Write

func (p *LogPipe) Write(data []byte) (int, error)

type MyConn

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

func (*MyConn) Close

func (c *MyConn) Close() error

func (*MyConn) LocalAddr

func (c *MyConn) LocalAddr() net.Addr

func (*MyConn) Read

func (c *MyConn) Read(b []byte) (n int, err error)

func (*MyConn) RemoteAddr

func (c *MyConn) RemoteAddr() net.Addr

func (*MyConn) SetDeadline

func (c *MyConn) SetDeadline(t time.Time) error

func (*MyConn) SetReadDeadline

func (c *MyConn) SetReadDeadline(t time.Time) error

func (*MyConn) SetWriteDeadline

func (c *MyConn) SetWriteDeadline(t time.Time) error

func (*MyConn) Write

func (c *MyConn) Write(b []byte) (n int, err error)

type MyListener

type MyListener chan *MyConn

func (MyListener) Accept

func (ln MyListener) Accept() (c net.Conn, err error)

func (MyListener) Addr

func (ln MyListener) Addr() net.Addr

func (MyListener) Close

func (ln MyListener) Close() error

Jump to

Keyboard shortcuts

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