route/internal/database/storage.go

15 lines
237 B
Go
Raw Normal View History

package database
// Storage is the parent interface for the database backends of route.
type Storage interface {
Certs() Certs
Routes() Routes
Tokens() Tokens
2017-04-29 04:18:19 +00:00
Close() error
}
2018-01-22 06:21:32 +00:00
type Scanner interface {
Scan(...interface{}) error
}