diff --git a/downloader/trustedstate/trustedstate.go b/downloader/trustedstate/trustedstate.go index 4e8f86d1..76039b06 100644 --- a/downloader/trustedstate/trustedstate.go +++ b/downloader/trustedstate/trustedstate.go @@ -3,3 +3,7 @@ package trustedstate type TrustedState struct { Source string } + +func (t *TrustedState) Download() string { + return t.Source +} diff --git a/driver/l1infotree/l1infotree.go b/driver/l1infotree/l1infotree.go index 30c9a96d..cc3cf4c6 100644 --- a/driver/l1infotree/l1infotree.go +++ b/driver/l1infotree/l1infotree.go @@ -5,6 +5,6 @@ package l1infotree type L1InfoTree struct { } -func (l1it *L1InfoTree) Process() string { +func (l1it *L1InfoTree) Drive() string { return "L1InfoTree" } diff --git a/syncer/syncer.go b/syncer/syncer.go index a47a86e5..6604be93 100644 --- a/syncer/syncer.go +++ b/syncer/syncer.go @@ -1,8 +1,4 @@ package syncer -type Syncer interface { - // Start starts the syncer - Start() error - // Stop stops the syncer - Stop() error +type Syncer struct { }