Versions in this module Expand all Collapse all v1 v1.2.2 Jun 20, 2018 Changes in this version + const RFC3339NanoFixed + func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr, isTerminal bool, ...) error + func DisplayJSONMessagesToStream(in io.Reader, stream stream, auxCallback func(JSONMessage)) error + type JSONError struct + Code int + Message string + func (e *JSONError) Error() string + type JSONMessage struct + Aux *json.RawMessage + Error *JSONError + ErrorMessage string + From string + ID string + Progress *JSONProgress + ProgressMessage string + Status string + Stream string + Time int64 + TimeNano int64 + func (jm *JSONMessage) Display(out io.Writer, termInfo termInfo) error + type JSONProgress struct + Current int64 + HideCounts bool + Start int64 + Total int64 + Units string + func (p *JSONProgress) String() string