dictionary

package
v0.0.0-...-5c72b2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	Initialize(appConfig *config.AppConfig, logger logger.DefaultLogger) error
	RegisterDictionary() (registerModel []RegisterModel, err error)
	Close() error
	Save(name string, dictionaries []byte) error
	Get(name string) (dictionaries []byte, err error)
	Delete(name string) error
}

type RegisterModel

type RegisterModel struct {
	Name       string
	Dictionary []byte
}

func (*RegisterModel) NewUserDict

func (r *RegisterModel) NewUserDict() (dict.UserDictRecords, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL