handlers

package
v3.0.23 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 5 Imported by: 2

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