Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Name string `json:"name,omitempty"` Description string `json:"description"` URL string `json:"url"` SocksProxy string `json:"socks_proxy"` Token string `json:"token"` User string `json:"user"` Password string `json:"password"` Creds string `json:"creds"` NKey string `json:"nkey"` Cert string `json:"cert"` Key string `json:"key"` CA string `json:"ca"` NSCLookup string `json:"nsc"` JSDomain string `json:"jetstream_domain"` JSAPIPrefix string `json:"jetstream_api_prefix"` JSEventPrefix string `json:"jetstream_event_prefix"` InboxPrefix string `json:"inbox_prefix"` UserJwt string `json:"user_jwt"` ColorScheme string `json:"color_scheme"` TLSFirst bool `json:"tls_first"` WinCertStoreType string `json:"windows_cert_store"` WinCertStoreMatchBy string `json:"windows_cert_match_by"` WinCertStoreMatch string `json:"windows_cert_match"` WinCertStoreCaMatch []string `json:"windows_ca_certs_match"` // contains filtered or unexported fields }
func Connect ¶
Connect connects to the NATS server configured by the named context, empty name connects to selected context. If the name is a absolute name to a context configuration that will be used. The settings that are returned will include all the values from the Context so values like the JetStream Domain etc can be used later
type SocksDialer ¶
type SocksDialer struct {
// contains filtered or unexported fields
}
SocksDialer should satisfy the NATS CustomDialer interface
Click to show internal directories.
Click to hide internal directories.