Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
func AddHandler(job interface{}, fn interface{})
func GetHandler ¶
func GetPayloadName ¶
func GetPayloadName(payload interface{}) string
func InvokeHandler ¶
func InvokeHandler(payload interface{}) (e error)
func MarshalPayload ¶
Types ¶
type JobHandler ¶
type JobHandler struct {
}
func (JobHandler) HandleMessage ¶
func (JobHandler) HandleMessage(m *nsq.Message) error
Click to show internal directories.
Click to hide internal directories.