models

package
v0.0.0-...-3571ca3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Date       int64         `json:"date"`
	Stacktrace string        `json:"stacktrace"`
	Type       string        `json:"type"`
	Message    string        `json:"message"`
	Objects    []interface{} `json:"objects"`
}

type Log

type Log struct {
	CommitID string      `json:"commit_id"`
	Version  string      `json:"version"`
	Assets   []string    `json:"assets"`
	Entries  []*LogEntry `json:"entries"`
}

func (*Log) Class

func (l *Log) Class() string

type LogEntry

type LogEntry struct {
	Date    int64       `json:"date"`
	Type    string      `json:"type"`
	Message string      `json:"message"`
	Objects interface{} `json:"objects"`
	Frames  []*LogFrame `json:"frames"`
}

type LogFrame

type LogFrame struct {
	Filename    string   `json:"filename"`
	Name        string   `json:"name"`
	LineNo      int      `json:"line_no"`
	ColNo       int      `json:"col_no"`
	InApp       bool     `json:"in_app"`
	ContextPre  []string `json:"context_pre,omitempty"`
	ContextLine string   `json:"context_line,omitempty"`
	ContextPost []string `json:"context_post,omitempty"`
	AbsPath     string   `json:"abs_path"`
	StartLineNo int      `json:"start_line_no"`
}

type Report

type Report struct {
	ID       string   `json:"-"`
	CommitID string   `json:"commitID"`
	Version  string   `json:"version"`
	Assets   []string `json:"assets"`
	Entries  []*Entry `json:"entries"`
}

Jump to

Keyboard shortcuts

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