blob: 7ec76c37696b94821df5666193983f8b2021c95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package event
import (
"sync"
. "ior/internal/types"
)
var poolOfEventPairs = sync.Pool{
New: func() interface{} { return &Pair{} },
}
type Event interface {
String() string
GetTraceId() TraceId
GetPid() uint32
GetTid() uint32
GetTime() uint64
Equals(other any) bool
Recycle()
}
|