gframer

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

README

GFRAMER

The package gframer used to convert any valid go interface{} to grafana frame object.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToDataFrame

func ToDataFrame(input interface{}, options FramerOptions) (frame *data.Frame, err error)

Types

type ColumnSelector

type ColumnSelector struct {
	Selector   string
	Alias      string
	Type       string
	TimeFormat string
}

type FramerOptions

type FramerOptions struct {
	FrameName           string
	ExecutedQueryString string
	Columns             []ColumnSelector
}

Jump to

Keyboard shortcuts

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