Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterResolver ¶
RegisterResolver register a resolver for a specific URL pattern
Types ¶
type Metadata ¶
type Metadata struct { // Ctx ... Ctx context.Context // Username requester username Username string // RequestPayload http request payload RequestPayload string // RequestMethod RequestMethod string // ResponseCode response code ResponseCode int // RequestURL request URL RequestURL string // IPAddress IP address of the request IPAddress string // ResponseLocation response location ResponseLocation string // ResourceName ResourceName string }
Metadata the raw data of event
func (*Metadata) PreCheckMetadata ¶
PreCheck check if current event is matched and return the prefetched resource name when it is delete operation
Click to show internal directories.
Click to hide internal directories.