package
0.0.0-20200430145300-6d4a0cdd1900
Repository: https://github.com/nickymateev/compass.git
Documentation: pkg.go.dev

# Functions

Encode encodes the given object to json format and writes it to given ResponseWriter.
EncodeWithCode encodes the given object to json format and writes it to given ResponseWriter with custom status code.
No description provided by the author
NewResponseWriter returns new instance of Writer.

# Structs

ErrorDTO represents a json returned in case of error.
Writer provides syntactic sugar for writing http responses.