The highest tagged major version is
v17 .
Discover Packages
gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v14
internal
gitaly
pktline
package
Version:
v14.2.1
Opens a new window with list of versions in this module.
Published: Aug 16, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Data returns the packet pkt without its length header. The length
header is not validated. Returns an empty slice when pkt is a magic packet such
as '0000'.
IsFlush detects the special flush packet '0000'
NewScanner returns a bufio.Scanner that splits on Git pktline boundaries
PktDone returns the bytes for a "done" packet.
PktFlush returns the bytes for a "flush" packet.
WriteDelim writes a pkt delim packet.
WriteFlush writes a pkt flush packet.
WriteString writes a string with pkt-line framing
Source Files
¶
Click to show internal directories.
Click to hide internal directories.