renderhttp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

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