Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Title string `yaml:"title"`
URI protocol.URI `yaml:"uri"`
External bool `yaml:"external"`
Save bool `yaml:"save"`
}
Action represents an action that can be taken in response to a message.
type Controller ¶
type Controller interface {
StartupInfo(ctx context.Context) (ulspplugin.PluginInfo, error)
OutputMessage(ctx context.Context, msg Message) error
NotifyMessage(ctx context.Context, msg Message) (*Action, error)
}
Controller defines the interface for a guidance controller.
func New ¶
func New(p Params) (Controller, error)
New creates a new controller to provide messaging with information about uLSP usage.
Click to show internal directories.
Click to hide internal directories.