Commit graph

9 commits

Author SHA1 Message Date
Ben Johnson
7048aa519b clean up ids 2015-09-03 15:50:08 -06:00
Ben Johnson
45fd4fc992 flatten util into pilosa
This commit moves ID-related types and functions to the top
level package and moves remaining statsd wrapper into a `statsd`
package.
2015-09-03 14:43:34 -06:00
Ben Johnson
2f1e3b6078 Refactor config & service
This commit refactors the config into a `main.Config` object instead
of a global singleton. The `core.Service` is also refactored into
the `main` package and individual pieces of the service are wired
together by the `pilosa` binary.

These two changes are required to begin to decouple packages from
one another and allow them to be individually unit tested. Previously
most top-level objects in the system could access any other top-level
object through the `core.Service` which effectively made `Service` a
singleton in the system. Each top-level object now has inline interfaces
for their dependencies so that can be set at runtime by the `main`
package or can be mocked by a test package.
2015-08-12 15:34:23 -06:00
Ben Johnson
b06ecf3320 Update import path
This commit updates the import path from:

```
pilosa/*
```

to:

```
github.com/umbel/pilosa/*
```

This follows standard Go convention and makes the project "go gettable".

The README was also updated to reflect the changes.
2015-08-05 22:50:38 -06:00
Todd Gruben
1b89d79c0a auto allocate .001 2014-06-18 15:09:31 -05:00
Todd Gruben
4a2c3e73d0 converted to main cql driver 2014-06-17 13:06:56 -05:00
travisturner
71c782ae6a create Get/Count QueryResult as a db.HoldResult to return results. added ResultData() method to HoldResult interface 2014-01-08 11:15:17 -06:00
travisturner
6968507296 resolved merge conflicts 2014-01-07 08:37:40 -06:00
Cody Soyland
0a50f18eca Use HoldResult interface to route responses from dispatch. Added standalone ping function. 2014-01-06 16:20:31 -06:00