server

package
v0.0.0-...-bc0f8f2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(port int, silent bool, prefix string)

Types

type Data

type Data struct {
	Merge bool `json:"merge"`
	Clean bool `json:"clean"`

	Text Text   `json:"text"`
	Dict []Dict `json:"dict"`
}

func (*Data) Race

func (d *Data) Race() []byte

type Dict

type Dict struct {
	Source string `json:"source"`
	Path   string `json:"path"`
	Name   string `json:"name"`
	String string `json:"string"`

	Format string `json:"format"`
	Push   int    `json:"push"`
	Keys   string `json:"keys"`
	Single bool   `json:"single"`
	Algo   string `json:"algo"`
	Space  string `json:"space"`
}

type Text

type Text struct {
	Source string `json:"source"`
	Path   string `json:"path"`
	Name   string `json:"name"`
	String string `json:"string"`
}

Jump to

Keyboard shortcuts

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