Code

sysdb/go.git
10 years agoproto: Added EscapeString().
Sebastian Harl [Thu, 20 Nov 2014 21:05:24 +0000 (22:05 +0100)]
proto: Added EscapeString().

This function may be used to escape and quote a string suitable for use in a
query.

10 years agoproto: Updated state constants.
Sebastian Harl [Wed, 19 Nov 2014 23:13:41 +0000 (00:13 +0100)]
proto: Updated state constants.

10 years agoproto: Added functions to unmarshal a raw message body.
Sebastian Harl [Sun, 21 Sep 2014 04:48:32 +0000 (21:48 -0700)]
proto: Added functions to unmarshal a raw message body.

10 years agoAdded a travis-ci.org project specification.
Sebastian Harl [Sat, 20 Sep 2014 03:00:36 +0000 (20:00 -0700)]
Added a travis-ci.org project specification.

Use Go 1.0, 1.1, 1.2, 1.3, and tip.

10 years agoFixed some linter warnings.
Sebastian Harl [Sat, 20 Sep 2014 01:54:12 +0000 (18:54 -0700)]
Fixed some linter warnings.

10 years agoREADME: Link to the documentation at godoc.org.
Sebastian Harl [Sat, 20 Sep 2014 01:46:57 +0000 (18:46 -0700)]
README: Link to the documentation at godoc.org.

10 years agostore: Fixed decoding of DataPoint.Value fields.
Sebastian Harl [Fri, 19 Sep 2014 23:23:23 +0000 (16:23 -0700)]
store: Fixed decoding of DataPoint.Value fields.

These are floating point values encoded as JSON string.

10 years agoRenamed proto.Decode/proto.Encode to proto.Read/proto.Write.
Sebastian Harl [Fri, 19 Sep 2014 23:22:22 +0000 (16:22 -0700)]
Renamed proto.Decode/proto.Encode to proto.Read/proto.Write.

These are the low-level functions which only decode/encode the header.

10 years agoREADME: Improved description a bit.
Sebastian Harl [Fri, 19 Sep 2014 23:21:39 +0000 (16:21 -0700)]
README: Improved description a bit.

10 years agostore: Fully annotate (for JSON) the time-series type.
Sebastian Harl [Fri, 19 Sep 2014 05:12:37 +0000 (22:12 -0700)]
store: Fully annotate (for JSON) the time-series type.

10 years agoAdd the 'Backends' field to all store object types.
Sebastian Harl [Fri, 19 Sep 2014 03:25:59 +0000 (20:25 -0700)]
Add the 'Backends' field to all store object types.

10 years agoAdded "sysdb" package providing core constants and types.
Sebastian Harl [Fri, 19 Sep 2014 01:46:11 +0000 (18:46 -0700)]
Added "sysdb" package providing core constants and types.

For now, provide constants for the log priorities and types describing stored
objects and time-series. All store related types support marshaling to and
unmarshaling from JSON.

10 years agoInitial commit for the github.com/sysdb/go Go packages.
Sebastian Harl [Thu, 18 Sep 2014 19:56:39 +0000 (21:56 +0200)]
Initial commit for the github.com/sysdb/go Go packages.

This is the initial version of core Go bindings for SysDB (https://sysdb.io/).
For now, two packages are provided:

 - github.com/sysdb/go/client: A SysDB client implementation.

 - github.com/sysdb/go/proto: Helper functions for using the SysDB front-end
   protocol. That's the protocol used for communication between a client and a
   SysDB server instance.