Searched defs:bodyWriterState (Results 1 – 1 of 1) sorted by relevance
2230 type bodyWriterState struct { struct2231 cs *clientStream2232 timer *time.Timer // if non-nil, we're doing a delayed write2233 fnonce *sync.Once // to call fn with2234 fn func() // the code to run in the goroutine, writing the body2235 resc chan error // result of fn's execution2236 delay time.Duration // how long we should delay a delayed write for2273 func (s bodyWriterState) cancel() {2279 func (s bodyWriterState) on100() {2292 func (s bodyWriterState) scheduleBodyWrite() {