Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(serviceName string, eventsHandler mountServices, actionHandler mountServices, opts ...broker.Option)
*
- Entry point into nuMicro
- The ```Init``` method takes a service name and the handler for all subscription. *
- param: string serviceName
- param: mountServices eventsHandler
- param: mountServices actionHandler
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package broker is an interface used for asynchronous messaging
|
Package broker is an interface used for asynchronous messaging |
nats
Package nats provides a NATS broker
|
Package nats provides a NATS broker |
Package codec is an interface for encoding messages
|
Package codec is an interface for encoding messages |
bytes
Package bytes provides a bytes codec which does not encode or decode anything
|
Package bytes provides a bytes codec which does not encode or decode anything |
json
Package json provides a json codec
|
Package json provides a json codec |
text
Package text reads any text/* content-type
|
Package text reads any text/* content-type |
debug
|
|
log
Package log provides debug logging
|
Package log provides debug logging |
Package store is an interface for distribute data storage.
|
Package store is an interface for distribute data storage. |
memory
Package memory is a in-memory store store
|
Package memory is a in-memory store store |
utils
|
|
backoff
Package backoff provides backoff functionality
|
Package backoff provides backoff functionality |
log
Package log is a global internal logger
|
Package log is a global internal logger |
Click to show internal directories.
Click to hide internal directories.