LingVoice

package module
v0.0.0-...-f17429d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmbedWebAssets embed.FS

Functions

func HintAssetsRoot

func HintAssetsRoot(dirName string) string

func Mount

func Mount(r *gin.Engine, dist fs.FS)

Mount 挂载 Vite 产物根(含 index.html、assets/)。不可使用 StaticFS("", …),会与 /api 等根前缀冲突。

Types

type CombineEmbedFS

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

func NewCombineEmbedFS

func NewCombineEmbedFS(assertDir string, es ...EmbedFS) *CombineEmbedFS

func (*CombineEmbedFS) Open

func (c *CombineEmbedFS) Open(name string) (fs.File, error)

type EmbedFS

type EmbedFS struct {
	EmbedRoot string
	Embedfs   embed.FS
}

Directories

Path Synopsis
cmd
server command
internal
pkg
llm
mailtemplate
Package mailtemplate holds built-in mail template metadata (codes expected by send logic).
Package mailtemplate holds built-in mail template metadata (codes expected by send logic).
notification
Package notification provides unified HTML email sending (SMTP or SendCloud), optional persistence on mail_logs, retries, and SendCloud webhook-driven status updates.
Package notification provides unified HTML email sending (SMTP or SendCloud), optional persistence on mail_logs, retries, and SendCloud webhook-driven status updates.
task
Package task provides a small worker pool and optional priority scheduler for async work units.
Package task provides a small worker pool and optional priority scheduler for async work units.
utils
Package jwtauth provides a small HS256 access-token template (claims + sign/parse).
Package jwtauth provides a small HS256 access-token template (claims + sign/parse).

Jump to

Keyboard shortcuts

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