go.expvar
1.23.12.3
dotnet add package go.expvar --version 1.23.12.3
NuGet\Install-Package go.expvar -Version 1.23.12.3
<PackageReference Include="go.expvar" Version="1.23.12.3" />
<PackageVersion Include="go.expvar" Version="1.23.12.3" />
<PackageReference Include="go.expvar" />
paket add go.expvar --version 1.23.12.3
#r "nuget: go.expvar, 1.23.12.3"
#:package go.expvar@1.23.12.3
#addin nuget:?package=go.expvar&version=1.23.12.3
#tool nuget:?package=go.expvar&version=1.23.12.3
go.expvar
C# package converted from the Go standard library by go2cs.
Package expvar provides a standardized interface to public variables, such as operation counters in servers. It exposes these variables via HTTP at /debug/vars in JSON format. As of Go 1.22, the /debug/vars request must use GET.
Operations to set or modify these public variables are atomic.
In addition to adding the HTTP handler, this package registers the following variables:
cmdline os.Args
memstats runtime.Memstats
The package is sometimes only imported for the side effect of registering its HTTP handler and the above variables. To use it this way, link this package into your program:
import _ "expvar"
Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- go.encoding.json (>= 1.23.12.3)
- go.internal.godebug (>= 1.23.12.3)
- go.lib (>= 1.23.12.3)
- go.log (>= 1.23.12.3)
- go.math (>= 1.23.12.3)
- go.net.http (>= 1.23.12.3)
- go.os (>= 1.23.12.3)
- go.runtime (>= 1.23.12.3)
- go.slices (>= 1.23.12.3)
- go.strconv (>= 1.23.12.3)
- go.sync (>= 1.23.12.3)
- go.sync.atomic (>= 1.23.12.3)
- go.unicode.utf8 (>= 1.23.12.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.