20 lines
296 B
Go
20 lines
296 B
Go
package sqlite
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"forge.cadoles.com/cadoles/bouncer/internal/datastore"
|
|
)
|
|
|
|
type ProxyRepository struct {
|
|
db *sql.DB
|
|
}
|
|
|
|
func NewProxyRepository(db *sql.DB) *ProxyRepository {
|
|
return &ProxyRepository{
|
|
db: db,
|
|
}
|
|
}
|
|
|
|
var _ datastore.ProxyRepository = &ProxyRepository{}
|