Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeModule ¶ added in v0.9.4
func EncodeModule(obj *ModuleObjectData) (string, error)
EncodeModule JSON marshals and base64-encodes a module ID from its typename and data.
Types ¶
type Digestible ¶ added in v0.8.8
Digestible is any object which can return a digest of its content.
It is used to record the request's result as an output of the request's vertex in the progress stream.
type ID ¶ added in v0.8.8
func (ID[T]) Decode ¶ added in v0.8.8
Decode base64-decodes and JSON unmarshals an ID into the object T
func (ID[T]) ResourceTypeName ¶ added in v0.8.8
type ModuleObjectData ¶ added in v0.9.6
func DecodeModuleID ¶ added in v0.9.4
func DecodeModuleID(id string, expectedTypeName string) (*ModuleObjectData, error)
DecodeModule base64-decodes and JSON unmarshals an ID, returning the module typename and its data.
Click to show internal directories.
Click to hide internal directories.