mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
Update swarm/api.Parse comment to include bzzh scheme
This commit is contained in:
parent
b18003d99a
commit
379040e22d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ type URI struct {
|
||||||
// * <scheme>://<addr>
|
// * <scheme>://<addr>
|
||||||
// * <scheme>://<addr>/<path>
|
// * <scheme>://<addr>/<path>
|
||||||
//
|
//
|
||||||
// with scheme one of bzz, bzzr or bzzi
|
// with scheme one of bzz, bzzr, bzzi or bzzh
|
||||||
func Parse(rawuri string) (*URI, error) {
|
func Parse(rawuri string) (*URI, error) {
|
||||||
u, err := url.Parse(rawuri)
|
u, err := url.Parse(rawuri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue