Documentation
¶
Overview ¶
Package core provides core built-in plugins for GoatFlow.
Index ¶
- type DashboardPlugin
- func (p *DashboardPlugin) Call(ctx context.Context, fn string, args json.RawMessage) (json.RawMessage, error)
- func (p *DashboardPlugin) GKRegister() plugin.GKRegistration
- func (p *DashboardPlugin) Init(ctx context.Context, host plugin.HostAPI) error
- func (p *DashboardPlugin) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardPlugin ¶
type DashboardPlugin struct {
// contains filtered or unexported fields
}
DashboardPlugin provides core dashboard widgets.
func NewDashboardPlugin ¶
func NewDashboardPlugin() *DashboardPlugin
NewDashboardPlugin creates a new dashboard plugin instance.
func (*DashboardPlugin) Call ¶
func (p *DashboardPlugin) Call(ctx context.Context, fn string, args json.RawMessage) (json.RawMessage, error)
Call implements plugin.Plugin.
func (*DashboardPlugin) GKRegister ¶
func (p *DashboardPlugin) GKRegister() plugin.GKRegistration
GKRegister implements plugin.Plugin.
Click to show internal directories.
Click to hide internal directories.