type roundRobinWriteScheduler … // newRoundRobinWriteScheduler constructs a new write scheduler. // The round robin scheduler priorizes control frames // like SETTINGS and PING over DATA frames. // When there are no control frames to send, it performs a round-robin // selection from the ready streams. func newRoundRobinWriteScheduler() WriteScheduler { … } func (ws *roundRobinWriteScheduler) OpenStream(streamID uint32, options OpenStreamOptions) { … } func (ws *roundRobinWriteScheduler) CloseStream(streamID uint32) { … } func (ws *roundRobinWriteScheduler) AdjustStream(streamID uint32, priority PriorityParam) { … } func (ws *roundRobinWriteScheduler) Push(wr FrameWriteRequest) { … } func (ws *roundRobinWriteScheduler) Pop() (FrameWriteRequest, bool) { … }