Introduce embedded Dendrite server#3659
Open
eyedeekay wants to merge 3 commits intoelement-hq:mainfrom
Open
Conversation
…overlay networks - Added a new `embedded` package to allow embedding a Matrix homeserver within Go applications. - Created `ServerConfig` struct for configuration management of the embedded server. - Created `NewServer` function to initialize the embedded server with provided configurations. - Added `Start` and `Stop` methods for managing the server lifecycle. - Updated `main.go` in `dendrite-demo-tor` and `dendrite-demo-i2p` to utilize the new embedded server. - Added example usage in `contrib/dendrite-demo-embedded/example/main.go`. - Updated README documentation for the embedded package with usage instructions and configuration details.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce embedded Dendrite server, reduces custom code required for overlay networks
embeddedpackage to allow embedding a Matrix homeserver within Go applications.ServerConfigstruct for configuration management of the embedded server.NewServerfunction to initialize the embedded server with provided configurations.StartandStopmethods for managing the server lifecycle.main.goindendrite-demo-toranddendrite-demo-i2pto utilize the new embedded server.contrib/dendrite-demo-embedded/example/main.go.I previously submitted the original dendrite-demo-tor and dendrite-demo-i2p as eyedeekay, I'm not sure if the paperwork has changed at all but I assume I can submit this again under the same basic circumstances.
Pull Request Checklist
Signed-off-by:
Your Name <your@email.example.org>