Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoStrHandler ¶
type EchoStrHandler struct { contract.EventHandlerInterface App *kernel.ApplicationInterface }
func NewEchoStrHandler ¶
func NewEchoStrHandler(app *kernel.ApplicationInterface) *EchoStrHandler
func (*EchoStrHandler) Handle ¶
func (handler *EchoStrHandler) Handle(request *http.Request, header contract.EventInterface, content interface{}) interface{}
type ServerCallbackHandler ¶
type ServerCallbackHandler struct {
Callback func(header contract.EventInterface, content interface{}) interface{}
}
func NewServerCallbackHandler ¶
func NewServerCallbackHandler() *ServerCallbackHandler
func (*ServerCallbackHandler) Handle ¶
func (handler *ServerCallbackHandler) Handle(header contract.EventInterface, content interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.