Versions in this module Expand all Collapse all v3 v3.6.8 Jun 22, 2021 v3.6.7 Jun 15, 2021 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(*json.RawMessage)) 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