tls

package
v0.0.0-...-bfb31ba Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 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 MathRandReader

type MathRandReader int

func (MathRandReader) Read

func (MathRandReader) Read(buf []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