Documentation
¶
Overview ¶
Package document defines the bounded input contract shared by every update transport and the on-device renderer.
Index ¶
Constants ¶
View Source
const ( MaxEncodedBytes = 32 * 1024 MaxNodes = 256 MaxDepth = 16 MaxAttributes = 8 MaxStyles = 512 MaxTextBytes = 24 * 1024 MaxWork = 4 * MaxEncodedBytes )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Limits ¶
type Limits struct {
MaxEncodedBytes int
MaxNodes int
MaxDepth int
MaxAttributesPerNode int
MaxStyleDeclarations int
MaxTextBytes int
MaxAssetBytes int
MaxWork int
}
Limits bounds parser, style, layout, and asset work. V2-04 selects the measured values; transports always enforce MaxEncodedBytes first.
func DashboardLimits ¶
func DashboardLimits() Limits
Click to show internal directories.
Click to hide internal directories.