aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/client/client.go
diff options
context:
space:
mode:
authorJavier Peletier <jm@epiclabs.io>2018-10-02 15:32:46 +0800
committerJavier Peletier <jm@epiclabs.io>2018-10-03 15:12:06 +0800
commit58c0879c2fbc9f88f35ba503674088da23a8a5a7 (patch)
tree64214db5b7e47a4b4677a4a487bdc9c83a063202 /swarm/api/client/client.go
parent68b8088cb9730bfe0ee2395dd5506dc744076fc2 (diff)
downloadgo-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.gz
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.bz2
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.lz
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.xz
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.zst
go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.zip
swarm/storage/feeds: removed capital Feed throughout
Diffstat (limited to 'swarm/api/client/client.go')
-rw-r--r--swarm/api/client/client.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/swarm/api/client/client.go b/swarm/api/client/client.go
index 6b4614581..ac218e6a7 100644
--- a/swarm/api/client/client.go
+++ b/swarm/api/client/client.go
@@ -604,9 +604,9 @@ func (c *Client) MultipartUpload(hash string, uploader Uploader) (string, error)
// ErrNoFeedUpdatesFound is returned when Swarm cannot find updates of the given feed
var ErrNoFeedUpdatesFound = errors.New("No updates found for this feed")
-// CreateFeedWithManifest creates a Feed Manifest, initializing it with the provided
+// CreateFeedWithManifest creates a feed manifest, initializing it with the provided
// data
-// Returns the resulting Feed Manifest address that you can use to include in an ENS Resolver (setContent)
+// Returns the resulting feed manifest address that you can use to include in an ENS Resolver (setContent)
// or reference future updates (Client.UpdateFeed)
func (c *Client) CreateFeedWithManifest(request *feeds.Request) (string, error) {
responseStream, err := c.updateFeed(request, true)
@@ -669,7 +669,7 @@ func (c *Client) QueryFeed(query *feeds.Query, manifestAddressOrDomain string) (
// queryFeed returns a byte stream with the raw content of the feed update
// manifestAddressOrDomain is the address you obtained in CreateFeedWithManifest or an ENS domain whose Resolver
// points to that address
-// meta set to true will instruct the node return Feed metainformation instead
+// meta set to true will instruct the node return feed metainformation instead
func (c *Client) queryFeed(query *feeds.Query, manifestAddressOrDomain string, meta bool) (io.ReadCloser, error) {
URL, err := url.Parse(c.Gateway)
if err != nil {
@@ -706,7 +706,7 @@ func (c *Client) queryFeed(query *feeds.Query, manifestAddressOrDomain string, m
return res.Body, nil
}
-// GetFeedRequest returns a structure that describes the referenced Feed status
+// GetFeedRequest returns a structure that describes the referenced feed status
// manifestAddressOrDomain is the address you obtained in CreateFeedWithManifest or an ENS domain whose Resolver
// points to that address
func (c *Client) GetFeedRequest(query *feeds.Query, manifestAddressOrDomain string) (*feeds.Request, error) {