Documentation
¶
Index ¶
- func BuildNodeTypeSchema(node nodes.Node) schema.NodeType
- func RegisterTypes(typesToRegister *refutil.TypeFactory)
- func WriteMermaid(a App, out io.Writer) error
- type App
- func (a *App) ApplyGraph(jsonPayload []byte) error
- func (a *App) FindNodeByID(nodeId string) nodes.Node
- func (a App) Generate(outputPath string) error
- func (a *App) GetParameter(nodeId string) Parameter
- func (a *App) Graph() []byte
- func (a *App) Run(args []string) error
- func (a *App) Schema() schema.App
- func (a *App) SetupProducers()
- func (a App) SwaggerSpec() swagger.Spec
- func (a App) WriteSwagger(out io.Writer) error
- func (a App) WriteZip(out io.Writer) error
- type AppServer
- func (as *AppServer) AutosaveGraph()
- func (as *AppServer) MermaidEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) ProducerEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) SceneEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) SchemaEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) Serve() error
- func (as *AppServer) StartedEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) SwaggerEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *AppServer) UpdateParameter(key string, msg []byte) (bool, error)
- func (as *AppServer) ZipEndpoint(w http.ResponseWriter, r *http.Request)
- type Author
- type AuthorContact
- type CustomGraphSerialization
- type Graph
- type GraphNodeInstance
- type NestedSyncMap
- type Parameter
- type SwaggerParameter
- type SyncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildNodeTypeSchema ¶ added in v0.11.0
func RegisterTypes ¶ added in v0.21.0
func RegisterTypes(typesToRegister *refutil.TypeFactory)
Types ¶
type App ¶ added in v0.9.0
type App struct { Name string Version string Description string WebScene *room.WebScene Authors []Author Producers map[string]nodes.NodeOutput[artifact.Artifact] Out io.Writer // contains filtered or unexported fields }
func (*App) ApplyGraph ¶ added in v0.11.0
func (*App) GetParameter ¶ added in v0.20.0
func (*App) SetupProducers ¶ added in v0.11.0
func (a *App) SetupProducers()
func (App) SwaggerSpec ¶ added in v0.13.0
type AppServer ¶ added in v0.10.0
type AppServer struct {
// contains filtered or unexported fields
}
func (*AppServer) AutosaveGraph ¶ added in v0.20.0
func (as *AppServer) AutosaveGraph()
func (*AppServer) MermaidEndpoint ¶ added in v0.10.0
func (as *AppServer) MermaidEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) ProducerEndpoint ¶ added in v0.10.0
func (as *AppServer) ProducerEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) SceneEndpoint ¶ added in v0.10.0
func (as *AppServer) SceneEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) SchemaEndpoint ¶ added in v0.10.0
func (as *AppServer) SchemaEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) StartedEndpoint ¶ added in v0.10.0
func (as *AppServer) StartedEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) SwaggerEndpoint ¶ added in v0.13.0
func (as *AppServer) SwaggerEndpoint(w http.ResponseWriter, r *http.Request)
func (*AppServer) UpdateParameter ¶ added in v0.21.0
func (*AppServer) ZipEndpoint ¶ added in v0.10.0
func (as *AppServer) ZipEndpoint(w http.ResponseWriter, r *http.Request)
type Author ¶ added in v0.9.0
type Author struct { Name string `json:"name"` ContactInfo []AuthorContact `json:"contactInfo,omitempty"` }
type AuthorContact ¶ added in v0.9.0
type CustomGraphSerialization ¶ added in v0.11.0
type Graph ¶ added in v0.11.0
type Graph struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Description string `json:"description,omitempty"` Authors []Author `json:"authors,omitempty"` WebScene *room.WebScene `json:"webScene,omitempty"` Producers map[string]schema.Producer `json:"producers"` Nodes map[string]GraphNodeInstance `json:"nodes"` Metadata map[string]any `json:"metadata,omitempty"` }
type GraphNodeInstance ¶ added in v0.11.0
type GraphNodeInstance struct { Type string `json:"type"` Dependencies []schema.NodeDependency `json:"dependencies,omitempty"` Data json.RawMessage `json:"data,omitempty"` }
type NestedSyncMap ¶ added in v0.20.0
type NestedSyncMap struct {
// contains filtered or unexported fields
}
func NewNestedSyncMap ¶ added in v0.20.0
func NewNestedSyncMap() *NestedSyncMap
func (*NestedSyncMap) Delete ¶ added in v0.21.0
func (sm *NestedSyncMap) Delete(key string)
func (*NestedSyncMap) Get ¶ added in v0.20.0
func (sm *NestedSyncMap) Get(key string) any
func (*NestedSyncMap) OverwriteData ¶ added in v0.20.0
func (sm *NestedSyncMap) OverwriteData(data map[string]any)
func (*NestedSyncMap) PathExists ¶ added in v0.21.0
func (sm *NestedSyncMap) PathExists(key string) bool
func (*NestedSyncMap) Set ¶ added in v0.20.0
func (sm *NestedSyncMap) Set(key string, value any)
type SwaggerParameter ¶ added in v0.13.0
type SyncMap ¶ added in v0.20.0
type SyncMap[Key comparable, Value any] struct { // contains filtered or unexported fields }
func NewSyncMap ¶ added in v0.20.0
func NewSyncMap[Key comparable, Value any]() *SyncMap[Key, Value]
Source Files
¶
- app.go
- app_cli.go
- app_init_notwasm.go
- app_server.go
- app_server_graph.go
- app_server_graph_metadata.go
- app_server_node.go
- app_server_node_connection.go
- app_server_parameter.go
- app_server_producer.go
- app_swagger.go
- author.go
- custom_graph_serialization.go
- graph.go
- mermaid.go
- parameter.go
- sync.go
- types.go
- webbrowser.go
Click to show internal directories.
Click to hide internal directories.