diff options
Diffstat (limited to 'vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go')
-rw-r--r-- | vendor/github.com/nlopes/slack/slackutilsx/slackutilsx.go | 5 |
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("&", "&", "<", "<", ">", ">") return replacer.Replace(message) } + +// Retryable errors return true. +type Retryable interface { + Retryable() bool +} |