lingo

package
v0.0.0-...-3e848aa Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(datasource *model.Datasource, cfg json.RawMessage) (p plugin.DatasourcePlugin, err error)

NewClient creates a LinGo client.

Types

type DatasourceConfig

type DatasourceConfig struct {
	Pipeline string `json:"pipeline"`
}

DatasourceConfig represents datasource config for LinGo.

type GetTraceRequest

type GetTraceRequest struct {
	TraceID string `json:"traceId"`
}

GetTraceRequest represents get trace data request params.

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient represents http client interface.

Jump to

Keyboard shortcuts

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