package upload

import "cuelang.org/go/internal/golangorgx/telemetry/upload"

Index

Functions

func Run

func Run(c *Control)

Run generates and uploads reports, as allowed by the mode file. A nil Control is legal.

Types

type Control

type Control struct {
	// Logging provides a io.Writer for error messages during uploading
	// nil is legal and no log messages get generated
	Logging io.Writer
}

A Control allows the user to override various default reporting and uploading choices. Future versions may also allow the user to set the upload URL.

Source Files

upload.go

Version
v0.8.1
Published
Apr 3, 2024
Platform
js/wasm
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.