edit

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphSaver

type GraphSaver struct {
	// contains filtered or unexported fields
}

func (*GraphSaver) Save

func (gs *GraphSaver) Save()

type RegisteredTypes added in v0.33.0

type RegisteredTypes struct {
	NodeTypes            []schema.NodeType `json:"nodeTypes"`
	SerializeOutputTypes []string          `json:"serializableOutputTypes"`
}

type Server

type Server struct {
	Graph                   *graph.Instance
	Host, Port              string
	Tls                     bool
	CertPath                string
	KeyPath                 string
	LaunchWebbrowser        bool
	VariableFactory         func(string) (variable.Variable, error)
	NodeOutputSerialization *serialize.TypeSwitch[manifest.Entry]

	Autosave   bool
	ConfigPath string

	Webscene *schema.WebScene

	ClientConfig *room.ClientConfig
	// contains filtered or unexported fields
}

func (*Server) Handler

func (as *Server) Handler(indexFile string) (*http.ServeMux, error)

func (*Server) ManifestEndpoint

func (as *Server) ManifestEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) MermaidEndpoint

func (as *Server) MermaidEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) NodeOutputEndpoint added in v0.33.0

func (as *Server) NodeOutputEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) ProducerEndpoint

func (as *Server) ProducerEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) SceneEndpoint

func (as *Server) SceneEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) SchemaEndpoint

func (as *Server) SchemaEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) Serve

func (as *Server) Serve() error

func (*Server) StartedEndpoint

func (as *Server) StartedEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) SwaggerEndpoint

func (as *Server) SwaggerEndpoint(w http.ResponseWriter, r *http.Request)

func (*Server) ZipEndpoint

func (as *Server) ZipEndpoint(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL