Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construct Infra Messenger from Configs only #2506

Merged
merged 2 commits into from
Mar 8, 2019
Merged

Construct Infra Messenger from Configs only #2506

merged 2 commits into from
Mar 8, 2019

Conversation

scrye
Copy link
Contributor

@scrye scrye commented Mar 8, 2019

This simplifies integrating the QUIC RPC layer in the Messenger.


This change is Reviewable

@scrye scrye requested a review from lukedirtwalker March 8, 2019 15:34
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker and @scrye)


go/lib/infra/messenger/messenger.go, line 129 at r1 (raw file):

}

func (c *Config) loadDefaults() {

I know this is not a config that is loaded from FS. But it might be useful to do the InitDefaults pattern here.

Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @scrye)

Copy link
Contributor Author

@scrye scrye left a comment

Choose a reason for hiding this comment

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

Reviewable status: 4 of 5 files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker and @oncilla)


go/lib/infra/messenger/messenger.go, line 129 at r1 (raw file):

Previously, Oncilla wrote…

I know this is not a config that is loaded from FS. But it might be useful to do the InitDefaults pattern here.

Done.

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@scrye scrye merged commit 6fdba81 into scionproto:master Mar 8, 2019
@scrye scrye deleted the pubpr-refactor-messenger-init-squashed branch March 8, 2019 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants