storj/pkg/satellite/database.go
2018-11-09 14:05:24 +02:00

18 lines
452 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
// CreateTables is a method for creating all tables for satellitedb
CreateTables() error
// Close is used to close db connection
Close() error
}