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

refactor: pipeline packet processing #55

Open
geolffreym opened this issue Dec 28, 2022 · 0 comments
Open

refactor: pipeline packet processing #55

geolffreym opened this issue Dec 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@geolffreym
Copy link
Owner

geolffreym commented Dec 28, 2022

We can transform the current process to handle sent messages from peers. adding a pipeline for pre-processing messages before send it.

Compression algorithm could be added using conf as Interface.
Compress step should have a default builtin algorithm implementation (eg. brotli, gzip or custom) or disable it.

eg pipeline:

  • sign (on/off)
  • encrypt (on/off)
  • compress (on/off)
  • ....

ref: https://go.dev/blog/pipelines

@geolffreym geolffreym self-assigned this Dec 28, 2022
@geolffreym geolffreym added the enhancement New feature or request label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant