Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey string
const ConnContextKey ContextKey = "conn"
ConnContextKey is the key to attach the TCP connection to in a context.
type HTTPEvent ¶
type HTTPEvent struct {
cbaudit.GenericFields
LocalRemoteIPs
URL string `json:"url"`
}
HTTPEvent is a struct intended to be used as an audit event with 'go-cbaudit'. It contains fields for the local and remote addresses.
type LocalRemoteIPs ¶
LocalRemoteIPs contains local and remote addresses for an HTTP request.
Click to show internal directories.
Click to hide internal directories.