aboutsummaryrefslogtreecommitdiff
path: root/active_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'active_client.go')
-rw-r--r--active_client.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/active_client.go b/active_client.go
index fed49a6..6e9dbc5 100644
--- a/active_client.go
+++ b/active_client.go
@@ -1,13 +1,17 @@
-// Copyright 2020, Shulhan <m.shulhan@gmail.com>. All rights reserved.
+// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package kamusku
+package kamusd
+
+import (
+ "git.sr.ht/~shulhan/kamusku"
+)
//
// activeClient define an interface for an active client.
//
type activeClient interface {
- CariDefinisi(words []string) (res DefinisiResponse, err error)
- ListKataDasar() (kataDasar DaftarKata, err error)
+ Lookup(words []string) (res kamusku.LookupResponse, err error)
+ ListRootWords() (rootWords kamusku.Words, err error)
}