writebehind
2015-03-31
writebehind/LICENSE
First pass implementation. Create our first implementation of this. Use a map of string=>int64 to store our values. The idea here is that users will create one cache for each metric they want to collect--each column that needs updating, in MySQL land. Release it under the MIT license, because why not? Very proud that the first commit carries 100% test coverage, no golint errors, no go vet errors, and has a benchmark.
| paddy@0 | 1 The MIT License (MIT) |
| paddy@0 | 2 |
| paddy@0 | 3 Copyright (c) Second Bit, LLC 2015 |
| paddy@0 | 4 |
| paddy@0 | 5 Permission is hereby granted, free of charge, to any person obtaining a copy |
| paddy@0 | 6 of this software and associated documentation files (the "Software"), to deal |
| paddy@0 | 7 in the Software without restriction, including without limitation the rights |
| paddy@0 | 8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| paddy@0 | 9 copies of the Software, and to permit persons to whom the Software is |
| paddy@0 | 10 furnished to do so, subject to the following conditions: |
| paddy@0 | 11 |
| paddy@0 | 12 The above copyright notice and this permission notice shall be included in |
| paddy@0 | 13 all copies or substantial portions of the Software. |
| paddy@0 | 14 |
| paddy@0 | 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| paddy@0 | 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| paddy@0 | 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| paddy@0 | 18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| paddy@0 | 19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| paddy@0 | 20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| paddy@0 | 21 THE SOFTWARE. |