From 89b0d362d29179b389b203e046b22b5b6e5f8310 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 5 Apr 2023 23:39:15 +0200 Subject: Remove gitter bridge (#2035) See https://blog.gitter.im/2023/02/13/gitter-has-fully-migrated-to-matrix/ --- vendor/github.com/mrexodia/wray/schedular.go | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 vendor/github.com/mrexodia/wray/schedular.go (limited to 'vendor/github.com/mrexodia/wray/schedular.go') 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) -} -- cgit v1.2.3