Versions in this module Expand all Collapse all v0 v0.13.0 Sep 19, 2017 Changes in this version + type JSONError struct + Code int + Message string + func (e *JSONError) Error() string + type JSONMessage struct + Error *JSONError + ErrorMessage string + Status string + func NewError(err error) JSONMessage + type Stream struct + func NewStream(w io.Writer) *Stream + func (w *Stream) Encode(m JSONMessage) error