Documentation
¶
Overview ¶
Package streamgate tracks whether a streaming response committed its first byte to the client. Failover across credentials or models is only allowed before that point; afterwards the stream belongs to one upstream and ends with its error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer wraps an io.Writer and records whether any byte was written.
Click to show internal directories.
Click to hide internal directories.