diff options
author | Ferenc Szabo <frncmx@gmail.com> | 2018-10-27 22:18:42 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-10-27 22:18:42 +0800 |
commit | 54f650a3be2ccf7cd44e9929e3e132ef93f101ad (patch) | |
tree | 7e9a4db7c61b5b3009c4b01ad06b0de0a66f941f /swarm/api | |
parent | 8ed4739176f435d09dfa36d8b2e2a3c8c6f407dd (diff) | |
download | go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.gz go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.bz2 go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.lz go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.xz go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.tar.zst go-tangerine-54f650a3be2ccf7cd44e9929e3e132ef93f101ad.zip |
swarm: clean up unused private types and functions (#17989)
* swarm: clean up unused private types and functions
Those that were identified by code inspection tool.
* swarm/storage: move/add Proximity GoDoc from deleted private function
The mentioned proximity() private function was deleted in:
1ca8fc1e6fa0ab4ab1aaca06d6fb32e173cd5f2f
Diffstat (limited to 'swarm/api')
-rw-r--r-- | swarm/api/http/server.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index b4294b058..de1eb70dc 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -41,16 +41,9 @@ import ( "github.com/ethereum/go-ethereum/swarm/log" "github.com/ethereum/go-ethereum/swarm/storage" "github.com/ethereum/go-ethereum/swarm/storage/feed" - "github.com/rs/cors" ) -type resourceResponse struct { - Manifest storage.Address `json:"manifest"` - Resource string `json:"resource"` - Update storage.Address `json:"update"` -} - var ( postRawCount = metrics.NewRegisteredCounter("api.http.post.raw.count", nil) postRawFail = metrics.NewRegisteredCounter("api.http.post.raw.fail", nil) |