gframer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 6 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
}

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