Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceMap = map[string]any{ "block": blockservice.BlockServiceInstance, "object": &objectservice.ObjectService{}, "file": &fileservice.FileService{}, "client": &clientservice.ClientService{}, "window": &windowservice.WindowService{}, "workspace": &workspaceservice.WorkspaceService{}, "userinput": &userinputservice.UserInputService{}, }
Functions ¶
func ValidateService ¶
func ValidateServiceMap ¶
func ValidateServiceMap() error
Types ¶
type WebCallType ¶
type WebReturnType ¶
type WebReturnType struct { Success bool `json:"success,omitempty"` Error string `json:"error,omitempty"` Data any `json:"data,omitempty"` Updates []waveobj.WaveObjUpdate `json:"updates,omitempty"` }
func CallService ¶
func CallService(ctx context.Context, webCall WebCallType) *WebReturnType
Click to show internal directories.
Click to hide internal directories.