Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConnection ¶
func HandleConnection(econn *gnats.EncodedConn, err error) error
func Shutdown ¶
func Shutdown(r Subscriber, logger *logrus.Entry)
Types ¶
type Subscriber ¶
type Subscriber interface { // Stop will initiate a graceful shutdown of the subscriber connection. Stop() error }
Subscriber is a generic interface for any kind of subscriber
Click to show internal directories.
Click to hide internal directories.