storj/pkg/satellite/database.go
Yehor Butko 75213fa633
V3-663 Extend database with Project entity (#622)
* V3-663 Extend database with Project entity

* fixing linter
2018-11-13 10:27:42 +02:00

20 lines
520 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package satellite
// DB contains access to different satellite databases
type DB interface {
// Users is getter for Users repository
Users() Users
// Companies is getter for Companies repository
Companies() Companies
// Projects is getter for Projects repository
Projects() Projects
// CreateTables is a method for creating all tables for satellitedb
CreateTables() error
// Close is used to close db connection
Close() error
}