handlers

package
v2.0.1-beta32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorized

type Authorized struct {
	contract.EventHandlerInterface

	App *kernel.ApplicationInterface
}

func NewAuthorized

func NewAuthorized(app *kernel.ApplicationInterface) *Authorized

func (*Authorized) Handle

func (handler *Authorized) Handle(request *http.Request, header contract.EventInterface, content interface{}) interface{}

type Unauthorized

type Unauthorized struct {
	contract.EventHandlerInterface

	App *kernel.ApplicationInterface
}

func NewUnauthorized

func NewUnauthorized(app *kernel.ApplicationInterface) *Unauthorized

func (*Unauthorized) Handle

func (handler *Unauthorized) Handle(request *http.Request, header contract.EventInterface, content interface{}) interface{}

type UpdateAuthorized

type UpdateAuthorized struct {
	contract.EventHandlerInterface

	App *kernel.ApplicationInterface
}

func NewUpdateAuthorized

func NewUpdateAuthorized(app *kernel.ApplicationInterface) *UpdateAuthorized

func (*UpdateAuthorized) Handle

func (handler *UpdateAuthorized) Handle(request *http.Request, header contract.EventInterface, content interface{}) interface{}

type VerifyTicketRefreshed

type VerifyTicketRefreshed struct {
	contract.EventHandlerInterface

	App *kernel.ApplicationInterface
}

func (*VerifyTicketRefreshed) Handle

func (handler *VerifyTicketRefreshed) Handle(request *http.Request, header contract.EventInterface, content interface{}) interface{}

Jump to

Keyboard shortcuts

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