Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

add a helper function to go directly from a string to an AddrInfo#184

Merged
whyrusleeping merged 2 commits into
masterfrom
feat/helper-func
Feb 22, 2021
Merged

add a helper function to go directly from a string to an AddrInfo#184
whyrusleeping merged 2 commits into
masterfrom
feat/helper-func

Conversation

@whyrusleeping
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread peer/addrinfo.go
Comment thread peer/addrinfo.go
return transport, id
}

func AddrInfoFromString(s string) (*AddrInfo, error) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You sure you don't want AddrInfosFromStrings?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk, this seems good enough for now? im happy with whatever

Co-authored-by: Will <will.scott@protocol.ai>
@whyrusleeping whyrusleeping merged commit 11f3c3a into master Feb 22, 2021
@whyrusleeping whyrusleeping deleted the feat/helper-func branch February 22, 2021 17:55
@aschmahmann aschmahmann mentioned this pull request Aug 23, 2021
62 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants