Documentation
¶
Rendered for windows/amd64
Index ¶
- Constants
- func BytesFormat(b uint64) string
- func FormatGUID(guid DDGUID) string
- func FormatUInt(num uint64) string
- func FormatUnixTime(t uint64) string
- func GoBytes(data unsafe.Pointer, len int) []byte
- func HTTPMethodToStr(httpMethod uint32) string
- func HTTPVerbToStr(httVerb uint32) string
- func ParseUnicodeString(data []byte, offset int) (val string, nextOffset int, valFound bool, foundTermZeroIdx int)
- func VerbToMethod(verb uint32) uint32
- type DDEtwEvent
- type DDEtwEventInfo
- type DDGUID
Constants ¶
View Source
const ( EVENT_ID_HttpService_HTTPConnectionTraceTaskConnConn = 0x15 EVENT_ID_HttpService_HTTPConnectionTraceTaskConnClose = 0x17 EVENT_ID_HttpService_HTTPRequestTraceTaskRecvReq = 0x1 EVENT_ID_HttpService_HTTPRequestTraceTaskParse = 0x2 EVENT_ID_HttpService_HTTPRequestTraceTaskDeliver = 0x3 EVENT_ID_HttpService_HTTPRequestTraceTaskRecvResp = 0x4 EVENT_ID_HttpService_HTTPRequestTraceTaskFastResp = 0x8 EVENT_ID_HttpService_HTTPRequestTraceTaskSrvdFrmCache = 0x10 EVENT_ID_HttpService_HTTPRequestTraceTaskCachedNotModified = 0x11 EVENT_ID_HttpService_HTTPCacheTraceTaskAddedCacheEntry = 0x19 EVENT_ID_HttpService_HTTPCacheTraceTaskFlushedCache = 0x1b EVENT_ID_HttpService_HTTPSSLTraceTaskSslConnEvent = 0x22 EVENT_ID_HttpService_HTTPRequestTraceTaskSendComplete = 0xa EVENT_ID_HttpService_HTTPRequestTraceTaskCachedAndSend = 0xb EVENT_ID_HttpService_HTTPRequestTraceTaskFastSend = 0xc EVENT_ID_HttpService_HTTPRequestTraceTaskZeroSend = 0xd EVENT_ID_HttpService_HTTPRequestTraceTaskLastSndError = 0xe )
View Source
const ( DD_ETW_TRACE_PROVIDER_HttpService int64 = 0x1 DD_ETW_TRACE_PROVIDER_TCPIP = 0x2 DD_ETW_TRACE_PROVIDER_UDP = 0x4 DD_ETW_TRACE_PROVIDER_DNS = 0x8 )
Variables ¶
This section is empty.
Functions ¶
func BytesFormat ¶
BytesFormat converts a uint64 into a nice string
func FormatGUID ¶
FormatGUID converts a guid structure to a go string
func FormatUInt ¶
FormatUInt converts a uint64 to a string with commas in every 3 orders of magnitude.
func FormatUnixTime ¶
FormatUnixTime takes a unix timestamp and returns a human readable string
func GoBytes ¶
GoBytes is similar to C.GoBytes but reuses the original buffer instead of making a copy
func HTTPMethodToStr ¶
HTTPMethodToStr converts the integer representation of the method to string
func HTTPVerbToStr ¶
HTTPVerbToStr converts the integer verb type to a human readable string
func ParseUnicodeString ¶
func ParseUnicodeString(data []byte, offset int) (val string, nextOffset int, valFound bool, foundTermZeroIdx int)
ParseUnicodeString takes a slice of bytes and converts it to a string
func VerbToMethod ¶
VerbToMethod converts an http verb to a method
Types ¶
type DDEtwEvent ¶
type DDEtwEventInfo ¶
type DDEtwEventInfo struct { Event *DDEtwEvent Provider uint64 RelatedActivityId *DDGUID }
Click to show internal directories.
Click to hide internal directories.