summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mrexodia/wray/schedular.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2023-04-05 23:39:15 +0200
committerGitHub <noreply@github.com>2023-04-05 23:39:15 +0200
commit89b0d362d29179b389b203e046b22b5b6e5f8310 (patch)
tree87e68ae33885d3de4a2c6a78a6afc6822ab7dd3e /vendor/github.com/mrexodia/wray/schedular.go
parent574f25337df2a3a7dbfa18093a4fcbe056b8824b (diff)
downloadmatterbridge-msglm-89b0d362d29179b389b203e046b22b5b6e5f8310.tar.gz
matterbridge-msglm-89b0d362d29179b389b203e046b22b5b6e5f8310.tar.bz2
matterbridge-msglm-89b0d362d29179b389b203e046b22b5b6e5f8310.zip
Remove gitter bridge (#2035)
See https://blog.gitter.im/2023/02/13/gitter-has-fully-migrated-to-matrix/
Diffstat (limited to 'vendor/github.com/mrexodia/wray/schedular.go')
-rw-r--r--vendor/github.com/mrexodia/wray/schedular.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/github.com/mrexodia/wray/schedular.go b/vendor/github.com/mrexodia/wray/schedular.go
deleted file mode 100644
index 3453fd61..00000000
--- a/vendor/github.com/mrexodia/wray/schedular.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package wray
-
-import "time"
-
-type Schedular interface {
- wait(time.Duration, func())
- delay() time.Duration
-}
-
-type ChannelSchedular struct {
-}
-
-func (self ChannelSchedular) wait(delay time.Duration, callback func()) {
- go func() {
- time.Sleep(delay)
- callback()
- }()
-}
-
-func (self ChannelSchedular) delay() time.Duration {
- return (1 * time.Minute)
-}