Documentation
¶
Overview ¶
Package renderhttp 定义客户端、HTTP 服务和本机控制共同使用的渲染协议路径与元数据头。
Index ¶
Constants ¶
View Source
const ( // RenderPath 接收共享渲染请求并返回图片正文。 RenderPath = "/v1/render" // HealthPath 返回服务及引擎状态。 HealthPath = "/healthz" // WidthHeader 返回图片的物理像素宽度。 WidthHeader = "X-Render-Width" // HeightHeader 返回图片的物理像素高度。 HeightHeader = "X-Render-Height" // EngineHeader 返回实际使用的渲染引擎。 EngineHeader = "X-Render-Engine" // DurationHeader 返回服务测得的渲染耗时。 DurationHeader = "X-Render-Duration" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.