msevent

package
v0.0.0-...-97150c2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Event string
	Type  Type
	Data  interface{}
}

type Event

type Event interface {
	Begin(data *Data, tx *dbr.Tx) (int64, error)
	Commit(eventId int64)
}

type Status

type Status int
const (
	Wait Status = iota
	Success
	Fail
)

func (Status) Int

func (s Status) Int() int

type Type

type Type int
const (
	None Type = iota
	Message
	CMD
)

func (Type) Int

func (t Type) Int() int

Jump to

Keyboard shortcuts

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