directinvoke

package
v0.0.0-...-bef5c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultRefillIntervalMs = 125

Variables

This section is empty.

Functions

func NewCancellableWriter

func NewCancellableWriter(ctx context.Context, w io.Writer) io.Writer

func NewStreamedResponseWriter

func NewStreamedResponseWriter(w io.Writer, responseBandwidthRate int64, responseBandwidthBurstSize int64) (*bandwidthlimiter.BandwidthLimitingWriter, context.CancelFunc, error)

Types

type CancellableWriter

type CancellableWriter struct {
	// contains filtered or unexported fields
}

func (*CancellableWriter) Write

func (w *CancellableWriter) Write(p []byte) (int, error)

type CustomerHeaders

type CustomerHeaders struct {
	CognitoIdentityID     string `json:"Cognito-Identity-Id"`
	CognitoIdentityPoolID string `json:"Cognito-Identity-Pool-Id"`
	ClientContext         string `json:"Client-Context"`
}

func (CustomerHeaders) Dump

func (s CustomerHeaders) Dump() string

func (*CustomerHeaders) Load

func (s *CustomerHeaders) Load(in string) error

type FlushingWriter

type FlushingWriter struct {
	// contains filtered or unexported fields
}

func NewFlushingWriter

func NewFlushingWriter(w io.Writer) *FlushingWriter

func (*FlushingWriter) Flush

func (w *FlushingWriter) Flush()

func (*FlushingWriter) Write

func (w *FlushingWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL