15 lines
305 B
Go
15 lines
305 B
Go
package services
|
|
|
|
import "time"
|
|
|
|
// Record is the event shape emitted by service handlers.
|
|
// The app layer will translate this into its own Record type.
|
|
type Record struct {
|
|
Timestamp time.Time
|
|
RemoteAddr string
|
|
RemotePort string
|
|
Service string
|
|
Details map[string]string
|
|
RawPayload string
|
|
}
|