Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.1.0
type Client struct {
// contains filtered or unexported fields
}
Client struct
func (*Client) LockExists ¶ added in v0.1.0
func (c *Client) LockExists(lockName string) LockRespnse
LockExists checks if lock exists
type Frame ¶ added in v0.1.0
type Frame struct {
Function string `json:"function,omitempty"`
Symbol string `json:"symbol,omitempty"`
Module string `json:"module,omitempty"`
Package string `json:"package,omitempty"`
Filename string `json:"filename,omitempty"`
AbsPath string `json:"abs_path,omitempty"`
Lineno int `json:"lineno,omitempty"`
Colno int `json:"colno,omitempty"`
PreContext []string `json:"pre_context,omitempty"`
ContextLine string `json:"context_line,omitempty"`
PostContext []string `json:"post_context,omitempty"`
InApp bool `json:"in_app,omitempty"`
Vars map[string]interface{} `json:"vars,omitempty"`
}
Frame represents a function call and it's metadata. Frames are associated with a Stacktrace.
type LockRespnse ¶ added in v0.1.0
type LockRespnse struct {
Name string `json:"name"`
Active bool `json:"active"`
StopExecution bool `json:"stop_execution"`
GroupUuid string `json:"displayed_on_group_uuid"`
}
LockRespnse struct
type Stacktrace ¶ added in v0.1.0
type Stacktrace struct {
Frames []Frame `json:"frames,omitempty"`
FramesOmitted []uint `json:"frames_omitted,omitempty"`
}
Stacktrace holds information about the frames of the stack.
func ExtractStacktrace ¶ added in v0.1.0
func ExtractStacktrace(err error) *Stacktrace
ExtractStacktrace creates a new Stacktrace based on the given error.
func NewStacktrace ¶ added in v0.1.0
func NewStacktrace() *Stacktrace
NewStacktrace creates a stacktrace using runtime.Callers.
Click to show internal directories.
Click to hide internal directories.