eventiface

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectGoContext

func InjectGoContext(s *GoContext)

func LoadGoContext

func LoadGoContext() baseiface.ISingleton

Types

type EventContext

type EventContext interface {
	Execute() *gomsg.GonatsMsg
}

type GoContext

type GoContext struct {
	//GetContext()   interface{}
	basedto.BaseEntity
}

func FindBeanGoContext

func FindBeanGoContext() *GoContext

FindBeanGoContext

func NewGoContext

func NewGoContext() *GoContext

func (*GoContext) Execute

func (self *GoContext) Execute() *gomsg.GonatsMsg

type IEventHandler

type IEventHandler interface {
	Execute(context EventContext)
}

Jump to

Keyboard shortcuts

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