13 lines
402 B
Go
13 lines
402 B
Go
package transaction
|
|
|
|
import (
|
|
"nutfactory.org/Matrix/entities/event"
|
|
)
|
|
|
|
type Transaction struct {
|
|
Id string `json:"id,omitempty"`
|
|
Origin string `json:"origin,omitempty"`
|
|
Timestamp int `json:"timestamp,omitempty"`
|
|
PDUS map[string]*event.Event `json:"pdus,omitempty"`
|
|
//EDUS []event.EDU `json:"edus,omitempty"`
|
|
}
|