From a06ac2d3bed9da8c131cb3c359f9151b5c99dbd5 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 4 Nov 2016 11:23:28 +0000 Subject: [PATCH] Make it clear that these are example requests --- src/github.com/matrix-org/go-neb/services/giphy/giphy.go | 2 +- src/github.com/matrix-org/go-neb/services/github/github.go | 2 +- .../matrix-org/go-neb/services/github/github_webhook.go | 2 +- src/github.com/matrix-org/go-neb/services/guggy/guggy.go | 2 +- src/github.com/matrix-org/go-neb/services/jira/jira.go | 2 +- src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/services/giphy/giphy.go b/src/github.com/matrix-org/go-neb/services/giphy/giphy.go index ff5ae84..c82333d 100644 --- a/src/github.com/matrix-org/go-neb/services/giphy/giphy.go +++ b/src/github.com/matrix-org/go-neb/services/giphy/giphy.go @@ -36,7 +36,7 @@ type giphySearch struct { // Service contains the Config fields for the Giphy Service. // -// Example: +// Example request: // { // "api_key": "dc6zaTOxFJmzC" // } diff --git a/src/github.com/matrix-org/go-neb/services/github/github.go b/src/github.com/matrix-org/go-neb/services/github/github.go index e0d19f5..7945dd7 100644 --- a/src/github.com/matrix-org/go-neb/services/github/github.go +++ b/src/github.com/matrix-org/go-neb/services/github/github.go @@ -44,7 +44,7 @@ var ownerRepoRegex = regexp.MustCompile(`^([A-z0-9-_]+)/([A-z0-9-_]+)$`) // // This will allow the "owner/repo" to be omitted when creating/expanding issues. // -// Example: +// Example request: // { // "RealmID": "github-realm-id" // } diff --git a/src/github.com/matrix-org/go-neb/services/github/github_webhook.go b/src/github.com/matrix-org/go-neb/services/github/github_webhook.go index 9e4135d..eca1a3e 100644 --- a/src/github.com/matrix-org/go-neb/services/github/github_webhook.go +++ b/src/github.com/matrix-org/go-neb/services/github/github_webhook.go @@ -28,7 +28,7 @@ const WebhookServiceType = "github-webhook" // to it. It requires a public domain which Github can reach. Notices will be sent // as the service user ID, not the ClientUserID. // -// Example: +// Example request: // { // ClientUserID: "@alice:localhost", // RealmID: "github-realm-id", diff --git a/src/github.com/matrix-org/go-neb/services/guggy/guggy.go b/src/github.com/matrix-org/go-neb/services/guggy/guggy.go index e1a3fda..fa4b5a4 100644 --- a/src/github.com/matrix-org/go-neb/services/guggy/guggy.go +++ b/src/github.com/matrix-org/go-neb/services/guggy/guggy.go @@ -34,7 +34,7 @@ type guggyGifResult struct { // Service contains the Config fields for the Guggy service. // -// Example: +// Example request: // { // "api_key": "fkweugfyuwegfweyg" // } diff --git a/src/github.com/matrix-org/go-neb/services/jira/jira.go b/src/github.com/matrix-org/go-neb/services/jira/jira.go index 6959ad5..ea59805 100644 --- a/src/github.com/matrix-org/go-neb/services/jira/jira.go +++ b/src/github.com/matrix-org/go-neb/services/jira/jira.go @@ -33,7 +33,7 @@ var projectKeyRegex = regexp.MustCompile("^[A-z]+$") // // Before you can set up a JIRA Service, you need to set up a JIRA Realm. // -// Example: +// Example request: // { // Rooms: { // "!qmElAGdFYCHoCJuaNt:localhost": { diff --git a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go index 0dc7e38..21c9b1d 100644 --- a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go +++ b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go @@ -37,7 +37,7 @@ const minPollingIntervalSeconds = 60 * 5 // 5 min (News feeds can be genuinely s // Service contains the Config fields for this service. // -// Example: +// Example request: // { // feeds: { // "http://rss.cnn.com/rss/edition.rss": {