Commit graph

12 commits

Author SHA1 Message Date
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
98f13fecd8 adjusted loading routines to match intel littleEndian 2015-06-30 16:24:20 +00:00
Todd Gruben
19ccc192ae convert to timing stat 2015-02-23 17:39:25 +00:00
Todd Gruben
7b9472bffe more logging and stats updats 2015-02-10 11:41:36 +00:00
Todd Gruben
377d850534 added new logging setup 2015-02-05 21:09:07 +00:00
Todd Gruben
71ece5fe6b added a setbit counter 2014-10-10 15:46:52 +00:00
Todd Gruben
00643c3ad9 bug in stat loop 2014-04-11 11:09:07 -05:00
Todd Gruben
bbda6a8bb7 prefix stats with pilosa 2014-04-11 10:53:48 -05:00
Todd Gruben
f42b32cb7c changed stats to gauage 2014-04-11 10:31:32 -05:00
Todd Gruben
8420d77ab5 removed ranking from set_bit 2014-04-10 09:50:30 -05:00
Todd Gruben
29f006f506 added some statsd fun 2014-04-09 18:44:00 -05:00