Add Database Functions
This commit is contained in:
parent
126070829c
commit
253b020733
22 changed files with 1076 additions and 119 deletions
|
@ -5,7 +5,9 @@ import (
|
|||
)
|
||||
|
||||
type Transaction struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
PDUS map[string]event.Event `json:"pdus,omitempty"`
|
||||
EDUS []event.EDU `json:"edus,omitempty"`
|
||||
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"`
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package transaction
|
||||
|
||||
func New() transaction *Transaction {
|
||||
|
||||
}
|
||||
func New() (transaction *Transaction) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue