nats

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JetstreamConfig

type JetstreamConfig struct {
	MaxMemory string `json:"max_mem,omitempty"`
	MaxFile   string `json:"max_file,omitempty"`
	StoreDir  string `json:"store_dir,omitempty"`
	Domain    string `json:"domain,omitempty"`
}

type LeafNodeRemoteConfig

type LeafNodeRemoteConfig struct {
	Url         string   `json:"url,omitempty"`
	Credentials string   `json:"credentials,omitempty"`
	Account     string   `json:"account,omitempty"`
	DenyImports []string `json:"deny_imports,omitempty"`
	DenyExports []string `json:"deny_exports,omitempty"`
}

type LeafNodesConfig

type LeafNodesConfig struct {
	Remotes []LeafNodeRemoteConfig `json:"remotes,omitempty"`
}

type ResolverConfig

type ResolverConfig struct {
	Type    string `json:"type,omitempty"`
	Dir     string `json:"dir,omitempty"`
	TTL     string `json:"ttl,omitempty"`
	Timeout string `json:"timeout,omitempty"`
}

type ServerConfig

type ServerConfig struct {
	Listen          string            `json:"listen,omitempty"`
	LeafNodes       LeafNodesConfig   `json:"leafnodes,omitempty"`
	Jetstream       JetstreamConfig   `json:"jetstream"`
	PidFile         string            `json:"pid_file,omitempty"`
	Http            int               `json:"http,omitempty"`
	Operator        string            `json:"operator,omitempty"`
	SystemAccount   string            `json:"system_account,omitempty"`
	Resolver        *ResolverConfig   `json:"resolver,omitempty"`
	ResolverPreload map[string]string `json:"resolver_preload,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL