command

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIconData

func GetIconData(api PluginAPI, iconPath string) (string, error)

GetIconData returns the base64 encoding of a icon for a given path. The data returned may be used for slash command autocomplete.

Types

type PluginAPI

type PluginAPI interface {
	GetBundlePath() (string, error)
}

PluginAPI is the plugin API interface required to manage slash commands.

Jump to

Keyboard shortcuts

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