immersim

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func NewApplication

func NewApplication(storage *storage.Storage, events *event.Events) *Application

func (*Application) Action added in v0.5.0

func (application *Application) Action(resource string, action string, payload any)

func (*Application) Read added in v0.2.0

func (application *Application) Read(resource string) (any, error)

func (*Application) Start

func (application *Application) Start()

func (*Application) Stop

func (application *Application) Stop()

func (*Application) SubscribeAction added in v0.7.0

func (application *Application) SubscribeAction(resource string, action string, listener chan any)

func (*Application) SubscribeChanges added in v0.7.0

func (application *Application) SubscribeChanges(resource string, listener chan any)

func (*Application) UnsubscribeAction added in v0.7.0

func (application *Application) UnsubscribeAction(resource string, action string, listener chan<- any)

func (*Application) UnsubscribeChanges added in v0.7.0

func (application *Application) UnsubscribeChanges(resource string, listener chan<- any)

func (*Application) Write added in v0.2.0

func (application *Application) Write(resource string, value any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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