Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrValueNotFound = errors.New("execution context value for specified key not found")
Functions ¶
func GetRuntimeContextValue ¶
GetRuntimeContextValue gets value for specified key from RuntimeContext. - if the value is undefined, return error.
func MustGetExecutionContext ¶
MustGetExecutionContext gets ExecutionContext object from context. - see: https://github.com/cloudflare/workers-types/blob/c8d9533caa4415c2156d2cf1daca75289d01ae70/index.d.ts#L567 - see also: https://github.com/cloudflare/workers-types/blob/c8d9533caa4415c2156d2cf1daca75289d01ae70/index.d.ts#L554
func MustGetRuntimeContextEnv ¶
MustGetRuntimeContextEnv gets object which holds environment variables bound to Cloudflare worker. - see: https://github.com/cloudflare/workers-types/blob/c8d9533caa4415c2156d2cf1daca75289d01ae70/index.d.ts#L566
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.