forked from extern/smegmesh
Added sync
This commit is contained in:
20
pkg/sync/syncer.go
Normal file
20
pkg/sync/syncer.go
Normal file
@ -0,0 +1,20 @@
|
||||
package sync
|
||||
|
||||
// Syncer: picks random nodes from the mesh
|
||||
type Syncer interface {
|
||||
Sync(meshId string) error
|
||||
SyncMeshes() error
|
||||
}
|
||||
|
||||
type SyncerImpl struct {
|
||||
}
|
||||
|
||||
// Sync: Sync random nodes
|
||||
func (s *SyncerImpl) Sync(meshId string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// SyncMeshes:
|
||||
func (s *SyncerImpl) SyncMeshes() error {
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user