nerdalize / gg

Generates HTTP1.1 handlers and clients from gRPC Go code
MIT License
0 stars 0 forks source link

Allow users to assert response codes in the generated code #5

Open advdv opened 6 years ago

advdv commented 6 years ago

Often you would like your code to behave differently whenever the server returns an unexpected status code was returned. The default implementation should take care that the body might not contain encoded content in cases and handle this gracefully.