handlers

package
v3.2.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 4 Imported by: 5

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{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL