v56

latestSwagger 2.0Apache 2.0raw.githubusercontent.com2026-08-0616186383.8 KB
JS 插件

插件文件直接访问

通过 Go 原生 http.ServeFile 直接返回插件可访问范围内的文件,支持 Range 请求和 HTTP 缓存。

get/jsplugin/{entryPath}/files/{path}

Path parameters

entryPathstring required

插件入口标识

pathstring required

文件路径

Response

文件内容