Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultWidth is the default width when the HTTP request is missing the width DefaultWidth int = 32 // DefaultHeight is the default height when the HTTP request is missing the height DefaultHeight int = 32 )
Variables ¶
This section is empty.
Functions ¶
func ContextMustGetResource ¶
func ContextMustGetResource(ctx context.Context) *provider.ResourceInfo
ContextMustGetResource gets a ResourceInfo from the context. Panics if not available.
func ContextSetResource ¶
ContextSetResource adds a ResourceInfo into the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.