diff options
author | Sonic <sonic@dexon.org> | 2018-11-09 14:47:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 202b8a467827118e1243b98dbd8111c3d806211e (patch) | |
tree | 0d659ce88873a4c8748dde51344fd1e3e8ddbb70 /dex/downloader/events.go | |
parent | 589393f8c64d94c268cd057715f8f8c247321aa5 (diff) | |
download | dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar.gz dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar.bz2 dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar.lz dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar.xz dexon-202b8a467827118e1243b98dbd8111c3d806211e.tar.zst dexon-202b8a467827118e1243b98dbd8111c3d806211e.zip |
dex: copy fetcher and downloader from eth
Diffstat (limited to 'dex/downloader/events.go')
-rw-r--r-- | dex/downloader/events.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dex/downloader/events.go b/dex/downloader/events.go new file mode 100644 index 000000000..64905b8f2 --- /dev/null +++ b/dex/downloader/events.go @@ -0,0 +1,21 @@ +// Copyright 2015 The go-ethereum Authors +// This file is part of the go-ethereum library. +// +// The go-ethereum library is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// The go-ethereum library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. + +package downloader + +type DoneEvent struct{} +type StartEvent struct{} +type FailedEvent struct{ Err error } |