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
Discover Packages
github.com/nats-io/nats-server/v2
conf
package
Version:
v2.0.2
Opens a new window with list of versions in this module.
Published: Jul 15, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package conf supports a configuration file format used by gnatsd. It is
a flexible format that combines the best of traditional
configuration formats and newer styles such as JSON and YAML.
Parse will return a map of keys to interface{}, although concrete types
underly them. The values supported are string, bool, int64, float64, DateTime.
Arrays and nested Maps are also supported.
ParseFile is a helper to open file, etc. and parse the contents.
ParseFileWithChecks is equivalent to ParseFile but runs in pedantic mode.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.