Documentation ¶
Overview ¶
Helper package for stompngo users.
Extract commonly used data elements from the environment, and expose this data to users.
Index ¶
- func Dest() string
- func Heartbeats() string
- func Host() string
- func HostAndPort() (string, string)
- func Login() string
- func MaxBodyLength() int
- func Nmsgs() int
- func Passcode() string
- func Persistent() bool
- func Port() string
- func Protocol() string
- func SubChanCap() int
- func UseStomp() bool
- func Vhost() string
- func WantLogger() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Heartbeats ¶ added in v1.0.2
func Heartbeats() string
Heartbeats returns client requested heart beat values.
func HostAndPort ¶
HostAndPort returns a default host and port (useful for Dial).
func MaxBodyLength ¶ added in v1.0.6
func MaxBodyLength() int
func SubChanCap ¶ added in v1.0.3
func SubChanCap() int
func UseStomp ¶ added in v1.0.13
func UseStomp() bool
UseStomp returns true is user wants STOMP frames instead of CONNECT
func WantLogger ¶ added in v1.0.10
func WantLogger() string
Optional set logger during connection start
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.