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

Tagged messages #16

Open
kpcyrd opened this issue Jan 20, 2018 · 0 comments
Open

Tagged messages #16

kpcyrd opened this issue Jan 20, 2018 · 0 comments

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Jan 20, 2018

Especially since binary support was introduced, it might be needed to tag messages and filter messages by tags when printing them.

The interface would be along the lines of:

tr1pctl write -t foo
tr1pctl ls -t foo

Internally, this would need a breaking change in the file format to introduce . Since the tag is optional, this would map to an Option<T>, with None being a length of 0. If the tag is exposed as Vec<u8> or String still needs to be decided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant