eventdata

package
v3.0.8+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventContext

type EventContext struct {
	RequestID   string
	RequestTime commontypes.Time
}

func NewEventContext

func NewEventContext(requestID string, requestTime time.Time) *EventContext

func NewEventContextByReq

func NewEventContextByReq(req *restful.Request) *EventContext

func (*EventContext) InsertEvent

func (c *EventContext) InsertEvent(eventType, objType, action string, curData interface{}, preData interface{}) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL