aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hooks/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hooks/interface.go')
-rw-r--r--lib/hooks/interface.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hooks/interface.go b/lib/hooks/interface.go
new file mode 100644
index 00000000..ed38c3ac
--- /dev/null
+++ b/lib/hooks/interface.go
@@ -0,0 +1,6 @@
+package hooks
+
+type HookType interface {
+ Cmd() string
+ Env() []string
+}