Documentation ¶
Index ¶
- func BandwidthMeasurementClient(conn net.Conn, bytesDownlink int, timeout time.Duration) (float32, float32, error)
- func BandwidthMeasurementClientContext(ctx context.Context, conn net.Conn, bytesDownlink int, timeout time.Duration) (float32, float32, error)
- func BandwidthMeasurementServer(conn net.Conn, bytesDownlink int, timeout time.Duration) error
- func BandwidthMeasurementServerContext(ctx context.Context, conn net.Conn, bytesDownlink int, timeout time.Duration) error
- func CopyFile(src, dst string) error
- func DeepCopyMap(value map[string]interface{}) map[string]interface{}
- func DelayMeasurement(network, address string, timeout time.Duration) (time.Duration, error)
- func DelayMeasurementContext(ctx context.Context, network, address string, timeout time.Duration) (time.Duration, error)
- func DownloadJsonFile(ctx context.Context, url, filename string) error
- func Enqueue(jobChan chan<- Job, job Job)
- func Exists(path string) bool
- func Process(job Job, wg *sync.WaitGroup)
- func ReadJSON(fileName string, value interface{}) error
- func WorkPool(workerNum int, jobChan chan Job, wg *sync.WaitGroup)
- func Worker(jobChan <-chan Job, wg *sync.WaitGroup)
- func WriteJSON(path string, data interface{}) error
- type Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepCopyMap ¶
func DelayMeasurement ¶
func DelayMeasurementContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.