Versions in this module Expand all Collapse all v0 v0.3.0 Apr 2, 2013 Changes in this version + const Boolean + const DefaultPort + const Factor + const Float + const Integer + const Merge + const Replace + const String + const Version + func FormatTimestamp(timestamp time.Time) string + func ParseTimestamp(str string) (time.Time, error) + type Client struct + Host string + Port int + func NewClient(host string) *Client + func (c *Client) CreateTable(table *Table) error + func (c *Client) DeleteTable(table *Table) error + func (c *Client) GetTable(name string) (*Table, error) + func (c *Client) GetTables() ([]*Table, error) + func (c *Client) Ping() bool + type Error struct + func NewError(message string) *Error + func (e *Error) Error() string + type Event struct + Data map[string]interface{} + Timestamp time.Time + func NewEvent(timestamp time.Time, data map[string]interface{}) *Event + func (e *Event) Deserialize(obj map[string]interface{}) error + func (e *Event) Serialize() map[string]interface{} + type Property struct + DataType string + Id int + Name string + Transient bool + func NewProperty(name string, transient bool, dataType string) *Property + type Table struct + Name string + func NewTable(name string, client *Client) *Table + func (t *Table) AddEvent(objectId string, event *Event, method string) error + func (t *Table) CreateProperty(property *Property) error + func (t *Table) DeleteEvent(objectId string, event *Event) error + func (t *Table) DeleteProperty(property *Property) error + func (t *Table) GetEvent(objectId string, timestamp time.Time) (*Event, error) + func (t *Table) GetEvents(objectId string) ([]*Event, error) + func (t *Table) GetProperties() ([]*Property, error) + func (t *Table) GetProperty(name string) (*Property, error) + func (t *Table) RawQuery(q map[string]interface{}) (map[string]interface{}, error) + func (t *Table) UpdateProperty(name string, property *Property) error