Documentation ¶
Overview ¶
Package handlers contains common code used for message handling
Index ¶
- func DebugContext(ctx gotocol.Context) gotocol.Context
- func Forget(dependencies *map[string]time.Time, router *ribbon.Router, msg gotocol.Message)
- func GetRequest(msg gotocol.Message, name string, listener chan gotocol.Message, ...)
- func GetResponse(msg gotocol.Message, name string, listener chan gotocol.Message, ...)
- func Inform(msg gotocol.Message, name string, listener chan gotocol.Message) chan gotocol.Message
- func NameDrop(dependencies *map[string]time.Time, router *ribbon.Router, msg gotocol.Message, ...)
- func Put(msg gotocol.Message, name string, listener chan gotocol.Message, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugContext ¶
DebugContext turns on debug context logging for eureka and edda messages
func GetRequest ¶
func GetRequest(msg gotocol.Message, name string, listener chan gotocol.Message, requestor *map[string]gotocol.Routetype, router *ribbon.Router)
GetRequest sends a GetRequest message to a service
func GetResponse ¶
func GetResponse(msg gotocol.Message, name string, listener chan gotocol.Message, requestor *map[string]gotocol.Routetype)
GetResponse provides generic response handling
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.