eventgenerator

package
v0.0.0-...-a08dd98 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidMultipleItemAsSingle = errors.New("can`t convert multipleitem to single action")
)

Errors set

Functions

This section is empty.

Types

type Generator

type Generator interface {
	// Event object by response
	Event(event events.Type, status uint8, response adtype.Responser, it adtype.ResponserItem) (*events.Event, error)

	// Events object list
	Events(event events.Type, status uint8, response adtype.Responser, it adtype.ResponserItemCommon) []*events.Event

	// UserInfo event object by response
	UserInfo(response adtype.Responser, it adtype.ResponserItem) (*events.UserInfo, error)
}

Generator object

func New

func New(service string) Generator

New generator object

Jump to

Keyboard shortcuts

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