Documentation
¶
Overview ¶
Package web provides a launchr plugin with Web UI for launchr.
Index ¶
Constants ¶
View Source
const (
// APIPrefix is a default api prefix on the server.
APIPrefix = "/api"
)
View Source
const (
// PkgPath is the plugin module name.
PkgPath = "github.com/" + repoName
)
Variables ¶
This section is empty.
Functions ¶
func GetClientAssetsFS ¶ added in v0.11.0
GetClientAssetsFS returns web client assets.
func GetSwaggerUIAssetsFS ¶ added in v0.11.0
GetSwaggerUIAssetsFS returns web assets for swagger-ui.
func SetClientAssetsFS ¶ added in v0.11.0
SetClientAssetsFS sets the global web client assets filesystem.
func SetSwaggerUIAssetsFS ¶ added in v0.11.0
SetSwaggerUIAssetsFS sets the filesystem containing the swagger UI assets.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is launchr.Plugin providing web ui.
func (*Plugin) DiscoverActions ¶ added in v0.12.1
DiscoverActions implements launchr.ActionDiscoveryPlugin interface.
func (*Plugin) Generate ¶ added in v0.11.0
func (p *Plugin) Generate(config launchr.GenerateConfig) error
Generate implements launchr.GeneratePlugin interface.
func (*Plugin) OnAppInit ¶
OnAppInit implements launchr.OnAppInitPlugin interface.
func (*Plugin) PluginInfo ¶
func (p *Plugin) PluginInfo() launchr.PluginInfo
PluginInfo implements launchr.Plugin interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.