generated from xmidt-org/.go-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add webhook url, fix race condition, fix token.
- Add a required url for the webhook url. The original address that appeared to be the right url was the address of the requester, not the target. - Fix a race condition where sending an update to the goroutine can cause a deadlock. Instead of sending the signal inside a mutex, send it via a separate go routine that can recover from a panic if the channel happens to be closed while it is waiting. - Fix the token interface so it's just that; using the Token interface not the literal token{}.
- Loading branch information
Showing
7 changed files
with
227 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.