Skip to content

refactor: pipeline packet processing #55

@geolffreym

Description

@geolffreym

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions