summaryrefslogtreecommitdiff
path: root/service/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/service.go')
-rw-r--r--service/service.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go
new file mode 100644
index 00000000..2f704657
--- /dev/null
+++ b/service/service.go
@@ -0,0 +1,9 @@
+package service
+
+type Service interface {
+ Name() string
+ Configure(cfg Config) (bool, error)
+ RPC() interface{}
+ Serve() error
+ Stop() error
+}