aboutsummaryrefslogtreecommitdiff
path: root/active_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'active_client.go')
-rw-r--r--active_client.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/active_client.go b/active_client.go
new file mode 100644
index 0000000..061bd1d
--- /dev/null
+++ b/active_client.go
@@ -0,0 +1,13 @@
+// Copyright 2020, Shulhan <m.shulhan@gmail.com>. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package kbbi
+
+//
+// activeClient define an interface for an active client.
+//
+type activeClient interface {
+ CariDefinisi(words []string) (res DefinisiResponse, err error)
+ ListKataDasar() (kataDasar daftarKata, err error)
+}