diff options
| author | Shulhan <ms@kilabit.info> | 2021-01-31 04:56:36 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-01-31 06:16:54 +0700 |
| commit | 6c7bfd42bc1128f5969e9e40b23d6b828601f7cb (patch) | |
| tree | 8138149fde47f135b965be0837b4f8b83421728f /active_client.go | |
| parent | 734ce643ecbc992834a8f78b44904b82b09bc84b (diff) | |
| download | kamusku-6c7bfd42bc1128f5969e9e40b23d6b828601f7cb.tar.xz | |
all: rewrite the server
This commit move the directClient to different repository called kamusku
and changes the module name from kamusku to kamusd.
Diffstat (limited to 'active_client.go')
| -rw-r--r-- | active_client.go | 12 |
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) } |
