rollbar

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveItems

type ActiveItems struct {
	Results Result `json:"result"`
}

func CurrentActiveItems

func CurrentActiveItems(accessToken, assignedToName string, activeOnly bool) (*ActiveItems, error)

type Item

type Item struct {
	Environment      string `json:"environment"`
	Title            string `json:"title"`
	Platform         string `json:"platform"`
	Status           string `json:"status"`
	TotalOccurrences int    `json:"total_occurrences"`
	Level            string `json:"level"`
	ID               int    `json:"counter"`
}

type Result

type Result struct {
	Items []Item `json:"items"`
}

type Settings

type Settings struct {
	*cfg.Common
	// contains filtered or unexported fields
}

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	view.ScrollableWidget
	// contains filtered or unexported fields
}

A Widget represents a Rollbar widget

func NewWidget

func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget

NewWidget creates a new instance of a widget

func (*Widget) Refresh

func (widget *Widget) Refresh()

func (*Widget) Render added in v0.10.0

func (widget *Widget) Render()

Jump to

Keyboard shortcuts

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