Versions in this module Expand all Collapse all v5 v5.4.4 Jun 22, 2021 Changes in this version + const MaxPayloadSize + const OversizePayloadMax + var ErrInvalidPktLen = errors.New("invalid pkt-len found") + var ErrPayloadTooLong = errors.New("payload is too long") + var Flush = []byte + var FlushPkt = []byte + var FlushString = "" + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) Encode(payloads ...[]byte) error + func (e *Encoder) EncodeString(payloads ...string) error + func (e *Encoder) Encodef(format string, a ...interface{}) error + func (e *Encoder) Flush() error + type Scanner struct + func NewScanner(r io.Reader) *Scanner + func (s *Scanner) Bytes() []byte + func (s *Scanner) Err() error + func (s *Scanner) Scan() bool Other modules containing this package github.com/naoredri/go-git