Documentation
¶
Overview ¶
Package codec reads and writes language-neutral element descriptor bundles.
Index ¶
Constants ¶
View Source
const APIVersion = "openrealtime.ai/elements/v1alpha1"
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
func MarshalYAML ¶
Types ¶
type Bundle ¶
type Bundle struct {
APIVersion string `json:"apiVersion" yaml:"apiVersion"`
Elements []element.Descriptor `json:"elements" yaml:"elements"`
}
func New ¶
func New(descriptors ...element.Descriptor) Bundle
Click to show internal directories.
Click to hide internal directories.