bouncer/internal/datastore/sqlite/agent_repository.go

20 lines
296 B
Go
Raw Normal View History

2023-04-24 20:52:12 +02:00
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{}