Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( CREATED int32 = iota RUNNING StoppingReceiver StoppingCMD STOPPED )
      View Source
      
  
const (
	QueueSize = 10000
)
    Variables ¶
This section is empty.
Functions ¶
func NewHeartBeater ¶
func NewHeartBeaterWithFunc ¶ added in v0.6.0
Types ¶
type OpExecFunc ¶
type OpWorker ¶
type OpWorker struct {
	Ctx        context.Context
	Name       string
	OpC        chan iops.IOp
	CmdC       chan Cmd
	State      atomic.Int32
	Pending    atomic.Int64
	ClosedCh   chan struct{}
	Stats      Stats
	ExecFunc   OpExecFunc
	CancelFunc OpExecFunc
}
    func (*OpWorker) StatsString ¶
func (*OpWorker) StopReceiver ¶
func (w *OpWorker) StopReceiver()
 Click to show internal directories. 
   Click to hide internal directories.