Documentation
¶
Index ¶
- Variables
- func CodeBlock(in string) string
- func DialogError(w http.ResponseWriter, err error)
- func GetPluginURL(client *pluginapi.Client) string
- func JSON(ref interface{}) string
- func JSONBlock(ref interface{}) string
- func SlackAttachmentError(w http.ResponseWriter, err error)
- type KVStore
- type LogAPI
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func DialogError ¶
func DialogError(w http.ResponseWriter, err error)
func GetPluginURL ¶
GetPluginURL returns a url like siteURL/plugins/pluginID based on the information from the client. If any error happens in the process, a empty string is returned.
func SlackAttachmentError ¶
func SlackAttachmentError(w http.ResponseWriter, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.