36c394c295
* add statdb proto and example client * server logic * update readme * remove boltdb from service.go * sqlite3 * add statdb server executable file * create statdb node table if it does not exist already * get UpdateBatch working * update based on jt review * remove some commented lines * fix linting issues * reformat * apiKey -> APIKey * update statdb client apiKey->APIKey
19 lines
293 B
Go
19 lines
293 B
Go
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"storj.io/storj/pkg/process"
|
|
"storj.io/storj/pkg/statdb"
|
|
)
|
|
|
|
func main() {
|
|
err := process.Main(process.ConfigEnvironment, &statdb.Service{})
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|