Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + 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, isTerminal bool) error + type JSONProgress struct + Current int64 + Start int64 + Total int64 + func (p *JSONProgress) String() string