javascript

package
v0.0.0-...-c88c7c2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeBins

func EncodeBins(bins models.Bins) json.RawMessage

EncodeBins returns bins data in JSON format for use with the Javascript library. The exact structure is not fixed and may change at any time in the future.

func EncodeBinsHistory

func EncodeBinsHistory(binsHistory models.BinsHistory) json.RawMessage

EncodeBinsHistory returns bins history data in JSON format for use with the Javascript library. The exact structure is not fixed and may change at any time in the future.

func EncodeErrorsHistory

func EncodeErrorsHistory(errorsHistory models.ErrorsHistory) json.RawMessage

EncodeErrorsHistory returns errors history data in JSON format for use with the Javascript library. The exact structure is not fixed and may change at any time in the future.

func Script

func Script() []byte

Script returns a Javascript library for drawing graphs to an HTML canvas.

Types

This section is empty.

Jump to

Keyboard shortcuts

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