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

Cleanup bus.go #1413

Merged
merged 6 commits into from
Aug 13, 2024
Merged

Cleanup bus.go #1413

merged 6 commits into from
Aug 13, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Aug 1, 2024

This PR contains a small cleanup of bus.go because that file was growing unwieldy. Mostly it cleans up the constructor, the shutdown method and moves the api handler code into a separate file, ensuring that when we have to reorganise bus initialisation and setup you have a better overview in bus.go. There's definitely more to do, we can move a lot of stuff into internal and we have to move some things out of internal, I plan to follow up with those changes but figured to get this 2.5k lines out of the way first.

@peterjan peterjan self-assigned this Aug 1, 2024
bus/api.go Outdated Show resolved Hide resolved
webhooks/webhooks.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit 8838ea6 into dev Aug 13, 2024
7 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/reorganise-bus branch August 13, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants