event

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleTC = "tc"
	RoleTM = "client"
	RoleRM = "rm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager struct {
	GlobalTransactionEventChannel chan GlobalTransactionEvent
}
var EventBus EventManager

type GlobalTransactionEvent

type GlobalTransactionEvent struct {
	// contains filtered or unexported fields
}

func NewGlobalTransactionEvent

func NewGlobalTransactionEvent(id int64, role string, name string, beginTime int64, endTime int64, status apis.GlobalSession_GlobalStatus) GlobalTransactionEvent

func (GlobalTransactionEvent) GetBeginTime

func (event GlobalTransactionEvent) GetBeginTime() int64

func (GlobalTransactionEvent) GetEndTime

func (event GlobalTransactionEvent) GetEndTime() int64

func (GlobalTransactionEvent) GetID

func (event GlobalTransactionEvent) GetID() int64

func (GlobalTransactionEvent) GetName

func (event GlobalTransactionEvent) GetName() string

func (GlobalTransactionEvent) GetRole

func (event GlobalTransactionEvent) GetRole() string

func (GlobalTransactionEvent) GetStatus

Jump to

Keyboard shortcuts

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