api

package
v0.0.0-...-ee21bb4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryFunctionHistoryHandler

func NewQueryFunctionHistoryHandler(ctx context.Context, registry functions.Registry) http.HandlerFunc

func NewQueryFunctionsHandler

func NewQueryFunctionsHandler(ctx context.Context, registry functions.Registry) http.HandlerFunc

Types

type API

type API interface {
	Router() *chi.Mux
}

func New

func New(ctx context.Context, registry functions.Registry) API

type HistoryResponse

type HistoryResponse struct {
	StartTime time.Time            `json:"startTime"`
	EndTime   time.Time            `json:"endTime"`
	Values    []functions.LogValue `json:"values"`
}

Jump to

Keyboard shortcuts

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