Documentation
¶
Index ¶
- func DataCount(body []byte) (int, error)
- func Fixed64Encode(x uint64) []byte
- func ProtobufWriteDouble(w io.Writer, value float64)
- func ProtobufWriteDoubleN(w io.Writer, value float64, n int)
- func ReadUvarint(array []byte) (uint64, int, error)
- func SelectDataTable(cfg *config.Config, from int64, until int64, targets []string) (string, bool)
- func VarintEncode(x uint64) []byte
- func VarintLen(x uint64) uint64
- func VarintWrite(w io.Writer, x uint64)
- func WriteByteN(w *bufio.Writer, value byte, n int)
- type Data
- type Handler
- func (h *Handler) Reply(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, ...)
- func (h *Handler) ReplyPickle(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, ...)
- func (h *Handler) ReplyProtobuf(w http.ResponseWriter, r *http.Request, data *Data, from, until int32, ...)
- func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fixed64Encode ¶ added in v0.5.1
func ProtobufWriteDouble ¶ added in v0.5.1
func ProtobufWriteDoubleN ¶ added in v0.5.1
func SelectDataTable ¶ added in v0.6.0
func VarintEncode ¶ added in v0.5.1
func VarintWrite ¶ added in v0.5.1
Types ¶
type Data ¶
type Data struct { Points []point.Point Aliases map[string][]string // contains filtered or unexported fields }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) ReplyPickle ¶
func (*Handler) ReplyProtobuf ¶
Click to show internal directories.
Click to hide internal directories.