render

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataCount

func DataCount(body []byte) (int, error)

func ReadUvarint

func ReadUvarint(array []byte) (uint64, int, error)

Types

type Data

type Data struct {
	Points []point.Point

	Finder finder.Finder
	// contains filtered or unexported fields
}

func DataParse

func DataParse(body []byte) (*Data, error)

func (*Data) Len

func (d *Data) Len() int

func (*Data) Less

func (d *Data) Less(i, j int) bool

func (*Data) NameToID

func (d *Data) NameToID(name string) int

func (*Data) Swap

func (d *Data) Swap(i, j int)

type Handler

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

func NewHandler

func NewHandler(config *config.Config) *Handler

func (*Handler) Reply

func (h *Handler) Reply(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, prefix string)

func (*Handler) ReplyPickle

func (h *Handler) ReplyPickle(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, prefix string)

func (*Handler) ReplyProtobuf

func (h *Handler) ReplyProtobuf(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, prefix string)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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