Documentation
¶
Index ¶
- Variables
- func IsStartedDispatcher() bool
- func IsStartedServer() bool
- func Pub(subj string, data []byte, header http.Header) error
- func Publish(subj string, data []byte, header http.Header) errordeprecated
- func StartDispatcher(options []DurableCfg) error
- func StartServer(config Config) error
- func StopDispatcher() error
- func StopServer()
- type Config
- type DurableCfg
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsStartedDispatcher ¶
func IsStartedDispatcher() bool
func IsStartedServer ¶
func IsStartedServer() bool
func StartDispatcher ¶
func StartDispatcher(options []DurableCfg) error
StartDispatcher connects to stan and adds durable subscriptions
Types ¶
type Config ¶
type Config struct { AckWait time.Duration LogColors bool MaxInflight int MaxPubAcksInflight int MaxPayload int32 MonitorPort int StoreDir string StoreType string StoreMaxAge time.Duration StoreMaxBytes int64 StoreMaxMsgs int64 ConfigFile string }
Config defines NATS configurable options
Click to show internal directories.
Click to hide internal directories.