apis

package
v1.2.1-0...-837fef5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictsController

type DictsController struct {
	// contains filtered or unexported fields
}

func NewDictsController

func NewDictsController(ds *service.DictService) *DictsController

func (*DictsController) BuildIndexByDictId

func (dc *DictsController) BuildIndexByDictId(args map[string]interface{}) *model.Resp

buildIndex

func (*DictsController) GetAllDicts

func (dc *DictsController) GetAllDicts(args map[string]interface{}) *model.Resp

GetAllDicts

func (*DictsController) HandleResourceQueryReq

func (dc *DictsController) HandleResourceQueryReq(c *gin.Context)

func (*DictsController) HandleWordQueryReq

func (dc *DictsController) HandleWordQueryReq(c *gin.Context)

func (*DictsController) SearchWord

func (dc *DictsController) SearchWord(args map[string]interface{}) *model.Resp

SearchWord

type StaticServerAPI

type StaticServerAPI struct {
	APIServerAddr net.Addr
}

func NewStaticServerAPI

func NewStaticServerAPI(conf *config.Config) *StaticServerAPI

func (*StaticServerAPI) StaticServerApiBaseURL

func (serverApi *StaticServerAPI) StaticServerApiBaseURL() string

Jump to

Keyboard shortcuts

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