github.com/m-lab/tcp-info@v1.9.0/collector/collector_darwin.go (about)

     1  package collector
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/m-lab/tcp-info/netlink"
     7  	"github.com/m-lab/tcp-info/saver"
     8  )
     9  
    10  // Run does nothing, but needed for compiling on Darwin.
    11  func Run(ctx context.Context, reps int, svrChan chan<- netlink.MessageBlock, cl saver.CacheLogger, skipLocal bool) (localCount, errCount int) {
    12  	// Does notihg in Darwin
    13  	return 0, 0
    14  }