Versions in this module Expand all Collapse all v0 v0.0.1 Dec 18, 2021 Changes in this version + type Body interface + BytesRemaining func() int64 + Close func() error + Copy func() (Body, error) + Read func(p []byte) (int, error) + Unwrap func() io.Reader + func AlreadyClosed() Body + func Empty() Body + func FromBytes(data []byte) Body + func FromJSON(v interface{}) Body + func FromPrettyJSON(v interface{}) Body + func FromProto(msg proto.Message) Body + func FromProtoText(msg proto.Message, o *prototext.MarshalOptions) Body + func FromReader(r io.Reader) (Body, error) + func FromReaderAndLength(r io.Reader, length int64) (Body, error) + func FromString(data string) Body + type NegativeComputedOffsetSeekError struct + Offset int64 + func (err NegativeComputedOffsetSeekError) Error() string + func (err NegativeComputedOffsetSeekError) GoString() string + type NegativeStartOffsetSeekError struct + Offset int64 + func (err NegativeStartOffsetSeekError) Error() string + func (err NegativeStartOffsetSeekError) GoString() string + type UnknownWhenceSeekError struct + Whence int + func (err UnknownWhenceSeekError) Error() string + func (err UnknownWhenceSeekError) GoString() string