node

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmpty added in v0.4.0

func NewEmpty(confPath string) *node

Types

type ConfigService added in v0.4.0

type ConfigService interface {
	GetString(key string) string
}

type ExecuteCallbackFunc

type ExecuteCallbackFunc = func() error

type PostStart

type PostStart interface {
	PostStart(context.Context) error
}

PostStart enables a platform to execute additional tasks after all platforms have started

type Registry

type Registry interface {
	GetService(v interface{}) (interface{}, error)

	RegisterService(service interface{}) error
}

type ViewManager

type ViewManager interface {
	NewView(id string, in []byte) (view.View, error)
	InitiateView(view view.View, ctx context.Context) (interface{}, error)
	InitiateContext(view view.View) (view.Context, error)
	InitiateContextWithIdentity(view view.View, id view.Identity) (view.Context, error)
	InitiateContextFrom(ctx context.Context, view view.View, id view.Identity, contextID string) (view.Context, error)
	Context(contextID string) (view.Context, error)
}

Jump to

Keyboard shortcuts

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