Skip to content

Commit

Permalink
feat: support forward to multiple slack workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Aug 18, 2021
1 parent 8646ac3 commit f636b54
Show file tree
Hide file tree
Showing 6 changed files with 676 additions and 135 deletions.
13 changes: 11 additions & 2 deletions example.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,17 @@
"botGravatarMail": "bot+%s@example.com",
"humanGravatarMail": "%s@example.com",
"joinChannels": [
{"name": "#general", "id": "<slack channel id>"}
]
"#general"
],
"forwards": {
"subchannel": {
"token": "",
"forwardChannels": {
"source": "#general_child",
"target": "#general"
}
}
}
},
"ldap": {
"url": "ldap://example.com:389",
Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module channels

go 1.14
go 1.16

require (
github.com/getsentry/sentry-go v0.6.1
github.com/gin-gonic/gin v1.6.3
github.com/go-ldap/ldap/v3 v3.2.1
github.com/go-redis/redis/v7 v7.4.0
github.com/prometheus/alertmanager v0.21.0
github.com/sirupsen/logrus v1.6.0
github.com/slack-go/slack v0.8.1
github.com/spf13/cobra v1.0.0
github.com/stretchr/testify v1.6.1
github.com/getsentry/sentry-go v0.11.0
github.com/gin-gonic/gin v1.7.4
github.com/go-ldap/ldap/v3 v3.4.1
github.com/go-redis/redis/v7 v7.4.1
github.com/prometheus/alertmanager v0.22.2
github.com/sirupsen/logrus v1.8.1
github.com/slack-go/slack v0.9.4
github.com/spf13/cobra v1.2.1
github.com/stretchr/testify v1.7.0
)
Loading

0 comments on commit f636b54

Please sign in to comment.