models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func AddLines added in v0.3.0

func AddLines(data, lines []Data) []Data

func FilterData

func FilterData(lines []int, unfilteredData []Data) []Data

func SumData

func SumData(data []Data, sumSymbols string) []Data

type PreviewResult added in v1.0.0

type PreviewResult struct {
	RawData  []Data      `json:"rawData"`
	Data     []Data      `json:"data"`
	Statuses []URLStatus `json:"statuses"`
}

type URLStatus added in v1.0.0

type URLStatus struct {
	URL       string `json:"url"`
	HasData   bool   `json:"hasData"`
	LineCount int    `json:"lineCount"`
	Error     bool   `json:"error"`
}

Jump to

Keyboard shortcuts

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