summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go')
-rw-r--r--vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go b/vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go
index ccf5372b..1f7b2b8c 100644
--- a/vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go
+++ b/vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go
@@ -55,3 +55,8 @@ func EscapeMessage(message string) string {
replacer := strings.NewReplacer("&", "&amp;", "<", "&lt;", ">", "&gt;")
return replacer.Replace(message)
}
+
+// Retryable errors return true.
+type Retryable interface {
+ Retryable() bool
+}