Help us shape the future of Go! Take the 2026 Go Developer Survey

preview

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPreview

func GetPreview(ctx context.Context, c *app.RequestContext)

GetPreview 获取文件预览信息 @router /preview/:code [GET]

func SetService

func SetService(s *previewapp.Service)

SetService 注入预览域服务(bootstrap 调用;统一存储随 service 持有)。 回归(2026-10-03):此前硬编码 data/uploads 路径基,与统一存储不一致。

Types

This section is empty.

Jump to

Keyboard shortcuts

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