diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2017-01-20 11:27:00 +0100 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2017-01-20 11:27:00 +0100 |
commit | e7677204def8fe8b82a81792afa410a9132e1331 (patch) | |
tree | 331e4c18f9f973fbebf40737dd1f8cff59f61e02 | |
parent | 6dfe33a83a67d8fb9e431290e0c4ca86675f1b8f (diff) |
Add missed interface files
-rw-r--r-- | filter/interface.go | 7 | ||||
-rw-r--r-- | input/interface.go | 7 | ||||
-rw-r--r-- | output/interface.go | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/filter/interface.go b/filter/interface.go new file mode 100644 index 0000000..83d2dfe --- /dev/null +++ b/filter/interface.go @@ -0,0 +1,7 @@ +package filter + +import "github.com/Shugyousha/stasher/work" + +type Filter interface { + Filter(*work.Work) *work.Work +} diff --git a/input/interface.go b/input/interface.go new file mode 100644 index 0000000..1743249 --- /dev/null +++ b/input/interface.go @@ -0,0 +1,7 @@ +package input + +import "github.com/Shugyousha/stasher/work" + +type Input interface { + Start() chan *work.Work +} diff --git a/output/interface.go b/output/interface.go new file mode 100644 index 0000000..c6ee3f6 --- /dev/null +++ b/output/interface.go @@ -0,0 +1,7 @@ +package output + +import "github.com/Shugyousha/stasher/work" + +type Output interface { + Output(*work.Work) +} |