Documentation ¶
Overview ¶
Package chunk provides a utility for sending sets of protobuf messages in groups of smaller chunks. This is useful for gRPC, which has limitations around the maximum size of a message that you can send.
This code is adapted from the gitaly project, which is licensed under the MIT license. A copy of that license text can be found at https://mit-license.org/.
The code this file was based off can be found here: https://gitlab.com/gitlab-org/gitaly/-/blob/v16.2.0/internal/helper/chunk/chunker.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.