1
0
Fork 0
mirror of https://github.com/Luzifer/cloudbox.git synced 2024-11-08 14:10:09 +00:00
cloudbox/sync/sync.go
2019-06-16 02:05:06 +02:00

28 lines
372 B
Go

package sync
import (
"database/sql"
"github.com/Luzifer/cloudbox/providers"
)
type Sync struct {
db *sql.DB
local, remote providers.CloudProvider
}
func New(local, remote providers.CloudProvider, db *sql.DB) *Sync {
return &Sync{
db: db,
local: local,
remote: remote,
}
}
func (s *Sync) Run() error {
for {
select {}
}
return nil
}