Affected by GO-2022-0307
and 5 other vulnerabilities
GO-2022-0307: Incorrect Authorization in NATS nats-server in github.com/nats-io/nats-server
GO-2022-0398: Import loops in account imports, nats-server DoS in github.com/nats-io/nats-server
GO-2022-0852: Integer Overflow or Wraparound in NATS Server in github.com/nats-io/nats-server
GO-2022-0855: Denial of service in github.com/nats-io/nats-server/server in github.com/nats-io/nats-server
GO-2024-2850: NATS server TLS missing ciphersuite settings when CLI flags used in github.com/nats-io/nats-server
GO-2024-2980: NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server
package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Jun 5, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
PDH_FMT_DOUBLE = 0x00000200
PDH_INVALID_DATA = 0xC0000BC6
PDH_MORE_DATA = 0x800007D2
)
PDH constants used here
ProcUsage returns process CPU and memory statistics
type PDH_FMT_COUNTERVALUE_DOUBLE struct {
CStatus uint32
DoubleValue float64
}
PDH_FMT_COUNTERVALUE_DOUBLE - double value
PDH_FMT_COUNTERVALUE_ITEM_DOUBLE is an array
element of a double value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.