coniks-sys/coniks-go

Create a dedicated protocol/extensions directory

Opened this issue · 3 comments

vqhuy commented

From our email discussion:

Right now, the TB extension is very much embedded into the main data structure, but I think it would be more general (and maybe clearer?) to be able to just run coniksserver run --with-tb --with-cosi and for the server to plug in the indicated extensions at run-time.

This might be related: https://tip.golang.org/pkg/plugin/ (investigate if protocol extensions could be build as optional plugins)

vqhuy commented

Thanks for this pointer. I took another approach in ab7952c, but I don't know which one is better.

vqhuy commented

Trillian starts rolling out extensions in google/trillian#271, and their approach is the same as ours. 👍