webs

package module
v0.0.0-...-9ac10d7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(mux *http.ServeMux, path string, h Handler)

Init

Types

type Conn

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

Conn

func (*Conn) Eval

func (c *Conn) Eval(stmt string) error

func (*Conn) ReadMessage

func (c *Conn) ReadMessage() (data []byte, err error)

func (*Conn) SetEvalDeadline

func (c *Conn) SetEvalDeadline(t time.Time) error

type Handler

type Handler interface {
	ServeConn(*Conn)
}

Handler

type HandlerFunc

type HandlerFunc func(*Conn)

HandlerFunc

func (HandlerFunc) ServeConn

func (f HandlerFunc) ServeConn(c *Conn)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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