1
0
Fork 0
mirror of https://github.com/Luzifer/cloudbox.git synced 2024-11-08 22:20:09 +00:00
cloudbox/sync/sync.go

29 lines
372 B
Go
Raw Normal View History

2019-06-16 00:05:06 +00:00
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
}