Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeadersSSE ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *types.VertexContext) *App
func (*App) Description ¶
func (*App) RegisterRouter ¶
type AppRegistry ¶
type AppsRegistry ¶
type AppsRegistry struct {
// contains filtered or unexported fields
}
func NewAppsRegistry ¶
func NewAppsRegistry(ctx *types.VertexContext) *AppsRegistry
func (*AppsRegistry) Apps ¶
func (registry *AppsRegistry) Apps() map[string]AppRegistry
func (*AppsRegistry) Close ¶
func (registry *AppsRegistry) Close()
func (*AppsRegistry) RegisterApp ¶
func (registry *AppsRegistry) RegisterApp(app *App, impl Interface) error
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext(vertexCtx *types.VertexContext) *Context
func (*Context) AddListener ¶
func (*Context) DispatchEvent ¶
func (ctx *Context) DispatchEvent(event interface{})
func (*Context) RemoveListener ¶
type Meta ¶
type Meta struct { // ID is the unique identifier of the app. ID string `json:"id"` // Name is the name of the app visible to the user. Name string `json:"name"` // Description is a brief description of the app. Description string `json:"description"` // Icon is the material symbol name for the app. Icon string `json:"icon"` }
type Uninitializable ¶
type Uninitializable interface {
Uninitialize() error
}
Click to show internal directories.
Click to hide internal directories.