tdex-network / tdex-analytics

Analytics and Historical data feed about TDEX Network
MIT License
0 stars 6 forks source link

Http1 fallback #61

Closed sekulicd closed 1 year ago

sekulicd commented 1 year ago

This adds falling back mechanism to http1 if http2 is not available.

This closes #59

@altafan please review.

sekulicd commented 1 year ago

Changes reverted as json responses cant be marshalled to proto types correctly cause of proto json tags.

tiero commented 1 year ago

I know is best to avoid extra boiler-plate when possible, But I am more in favor to have dedicated go types and utils to go from/to proto, instead of reusing it