storj/cmd/statdb/main.go
Maximillian von Briesen 36c394c295
StatDB (#144)
* 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
2018-07-27 17:11:44 -04:00

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)
}
}