Versions in this module Expand all Collapse all v0 v0.4.0 Jun 18, 2018 Changes in this version + type Agent struct + Name string + Version string + func (v *Agent) MarshalFastJSON(w *fastjson.Writer) + type Context struct + Custom IfaceMap + Request *Request + Response *Response + Tags map[string]string + User *User + func (v *Context) MarshalFastJSON(w *fastjson.Writer) + type Cookies []*http.Cookie + func (c *Cookies) UnmarshalJSON(data []byte) error + func (c Cookies) MarshalFastJSON(w *fastjson.Writer) + type DatabaseSpanContext struct + Instance string + Statement string + Type string + User string + func (v *DatabaseSpanContext) MarshalFastJSON(w *fastjson.Writer) + type Error struct + Context *Context + Culprit string + Exception Exception + ID string + Log Log + Timestamp Time + Transaction ErrorTransaction + func (v *Error) MarshalFastJSON(w *fastjson.Writer) + type ErrorTransaction struct + ID UUID + func (v *ErrorTransaction) MarshalFastJSON(w *fastjson.Writer) + type ErrorsPayload struct + Errors []*Error + Process *Process + Service *Service + System *System + func (v *ErrorsPayload) MarshalFastJSON(w *fastjson.Writer) + type Exception struct + Attributes map[string]interface{} + Code ExceptionCode + Handled bool + Message string + Module string + Stacktrace []StacktraceFrame + Type string + func (v *Exception) MarshalFastJSON(w *fastjson.Writer) + type ExceptionCode struct + Number float64 + String string + func (c *ExceptionCode) MarshalFastJSON(w *fastjson.Writer) + func (c *ExceptionCode) UnmarshalJSON(data []byte) error + type Framework struct + Name string + Version string + func (v *Framework) MarshalFastJSON(w *fastjson.Writer) + type IfaceMap []IfaceMapItem + func (m *IfaceMap) Set(key string, value interface{}) + func (m *IfaceMap) UnmarshalJSON(data []byte) error + func (m IfaceMap) MarshalFastJSON(w *fastjson.Writer) + type IfaceMapItem struct + Key string + Value interface{} + func (*IfaceMapItem) MarshalFastJSON(*fastjson.Writer) + type Language struct + Name string + Version string + func (v *Language) MarshalFastJSON(w *fastjson.Writer) + type Log struct + Level string + LoggerName string + Message string + ParamMessage string + Stacktrace []StacktraceFrame + func (v *Log) MarshalFastJSON(w *fastjson.Writer) + type Process struct + Argv []string + Pid int + Ppid *int + Title string + func (v *Process) MarshalFastJSON(w *fastjson.Writer) + type Request struct + Body *RequestBody + Cookies Cookies + Env map[string]string + HTTPVersion string + Headers *RequestHeaders + Method string + Socket *RequestSocket + URL URL + func (v *Request) MarshalFastJSON(w *fastjson.Writer) + type RequestBody struct + Form url.Values + Raw string + func (b *RequestBody) MarshalFastJSON(w *fastjson.Writer) + func (b *RequestBody) UnmarshalJSON(data []byte) error + type RequestHeaders struct + ContentType string + Cookie string + UserAgent string + func (v *RequestHeaders) MarshalFastJSON(w *fastjson.Writer) + type RequestSocket struct + Encrypted bool + RemoteAddress string + func (v *RequestSocket) MarshalFastJSON(w *fastjson.Writer) + type Response struct + Finished *bool + Headers *ResponseHeaders + HeadersSent *bool + StatusCode int + func (v *Response) MarshalFastJSON(w *fastjson.Writer) + type ResponseHeaders struct + ContentType string + func (v *ResponseHeaders) MarshalFastJSON(w *fastjson.Writer) + type Runtime struct + Name string + Version string + func (v *Runtime) MarshalFastJSON(w *fastjson.Writer) + type Service struct + Agent Agent + Environment string + Framework *Framework + Language *Language + Name string + Runtime *Runtime + Version string + func (v *Service) MarshalFastJSON(w *fastjson.Writer) + type Span struct + Context *SpanContext + Duration float64 + ID *int64 + Name string + Parent *int64 + Stacktrace []StacktraceFrame + Start float64 + Type string + func (v *Span) MarshalFastJSON(w *fastjson.Writer) + type SpanContext struct + Database *DatabaseSpanContext + func (v *SpanContext) MarshalFastJSON(w *fastjson.Writer) + type SpanCount struct + Dropped SpanCountDropped + func (v *SpanCount) MarshalFastJSON(w *fastjson.Writer) + type SpanCountDropped struct + Total int + func (v *SpanCountDropped) MarshalFastJSON(w *fastjson.Writer) + type StacktraceFrame struct + AbsolutePath string + Column *int + ContextLine string + File string + Function string + LibraryFrame bool + Line int + Module string + PostContext []string + PreContext []string + Vars map[string]interface{} + func (v *StacktraceFrame) MarshalFastJSON(w *fastjson.Writer) + type System struct + Architecture string + Hostname string + Platform string + func (v *System) MarshalFastJSON(w *fastjson.Writer) + type Time time.Time + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) MarshalFastJSON(w *fastjson.Writer) + type Transaction struct + Context *Context + Duration float64 + ID UUID + Name string + Result string + Sampled *bool + SpanCount SpanCount + Spans []Span + Timestamp Time + Type string + func (v *Transaction) MarshalFastJSON(w *fastjson.Writer) + type TransactionsPayload struct + Process *Process + Service *Service + System *System + Transactions []Transaction + func (v *TransactionsPayload) MarshalFastJSON(w *fastjson.Writer) + type URL struct + Full string + Hash string + Hostname string + Path string + Port string + Protocol string + Search string + func (v *URL) MarshalFastJSON(w *fastjson.Writer) + type UUID [16]byte + func (id *UUID) MarshalFastJSON(w *fastjson.Writer) + func (id *UUID) UnmarshalJSON(data []byte) error + type User struct + Email string + ID UserID + Username string + func (v *User) MarshalFastJSON(w *fastjson.Writer) + type UserID struct + Number float64 + String string + func (u *UserID) MarshalFastJSON(w *fastjson.Writer) + func (u *UserID) UnmarshalJSON(data []byte) error