viewer

package module
v0.0.0-...-d7b4a27 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

func HandleFunc(w http.ResponseWriter, r *http.Request)

Types

type BigQueryClient

type BigQueryClient struct {
	// contains filtered or unexported fields
}

func NewBigQueryClient

func NewBigQueryClient(ctx context.Context, projectID string) (*BigQueryClient, error)

func (*BigQueryClient) Query

func (c *BigQueryClient) Query(ctx context.Context, queryString string) ([][]bigquery.Value, error)

Queryは指定されたクエリを実行し、結果を二次元配列的な形式で返す。

type Device

type Device struct {
	Id   string
	Name string
}

type Results

type Results struct {
	Temperature [][]bigquery.Value
	Humidity    [][]bigquery.Value
	Load        [][]bigquery.Value
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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