The highest tagged major version is
v4.
package
Version:
v3.65.5
Opens a new window with list of versions in this module.
Published: Aug 10, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Description returns a markdown version of NATs authentication documentation.
FieldSpec returns documentation authentication specs for NATS components
func GetOptions(auth Config) []nats.Option
GetOptions initialises NATS functional options for the auth fields
type Config struct {
NKeyFile string `json:"nkey_file" yaml:"nkey_file"`
UserCredentialsFile string `json:"user_credentials_file" yaml:"user_credentials_file"`
}
Config contains configuration params for NATS authentication.
New creates a new Config instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.