data

package
v0.0.0-...-10c90d8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	IncluxDB *client.Client
}

func (*Data) AddDataPoint

func (d *Data) AddDataPoint(serieName, url, userAgent, ip string, userId bson.ObjectId)

func (*Data) CreateSeries

func (d *Data) CreateSeries(serieName, url, userAgent, ip string, userId bson.ObjectId) []*client.Series

func (*Data) CreateUserId

func (d *Data) CreateUserId(w http.ResponseWriter) bson.ObjectId

func (*Data) GetAndSetId

func (d *Data) GetAndSetId(w http.ResponseWriter, request *http.Request) bson.ObjectId

func (*Data) GetUserIdInCookie

func (d *Data) GetUserIdInCookie(r *http.Request) bson.ObjectId

func (*Data) ServeHTTP

func (d *Data) ServeHTTP(w http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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