Documentation
¶
Index ¶
- type GraphSaver
- type RegisteredTypes
- type Server
- func (as *Server) Handler(indexFile string) (*http.ServeMux, error)
- func (as *Server) ManifestEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) MermaidEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) NodeOutputEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) ProducerEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) SceneEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) SchemaEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) Serve() error
- func (as *Server) StartedEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) SwaggerEndpoint(w http.ResponseWriter, r *http.Request)
- func (as *Server) ZipEndpoint(w http.ResponseWriter, r *http.Request)
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 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) 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) 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)
Click to show internal directories.
Click to hide internal directories.