Help us shape the future of Go! Take the 2026 Go Developer Survey

loki

package
v0.33.23 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type CurlRequest

type CurlRequest struct {
	BaseURL   string
	Params    map[string]string
	AuthToken string
}

func (*CurlRequest) GenerateCurlCommand

func (c *CurlRequest) GenerateCurlCommand() []string

type QueryRange

type QueryRange struct {
	Data struct {
		Result []struct {
			Values [][]string `json:"values"`
		} `json:"result"`
	} `json:"data"`
}

type SeriesAPI added in v0.20.9

type SeriesAPI struct {
	Data []map[string]string `json:"data"`
}

Jump to

Keyboard shortcuts

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