Initial open source release
This commit is contained in:
commit
74992e893f
377 changed files with 118084 additions and 0 deletions
14
internal/store/langpack.go
Normal file
14
internal/store/langpack.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package store
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"telesrv/internal/domain"
|
||||
)
|
||||
|
||||
// LangPackStore 持久化客户端语言包。
|
||||
type LangPackStore interface {
|
||||
GetPack(ctx context.Context, langPack, langCode string, fromVersion int) (domain.LangPack, error)
|
||||
GetStrings(ctx context.Context, langPack, langCode string, keys []string) (domain.LangPack, error)
|
||||
UpsertPack(ctx context.Context, pack domain.LangPack) error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue