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

http

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package http is a query component for HTTP APIs: "GET /path", "POST /path {json}".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(env core.Env, c *spec.Component) (any, error)

Types

type Query

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

func (*Query) Ping

func (q *Query) Ping(ctx context.Context) error

func (*Query) QueryLanguage

func (q *Query) QueryLanguage() string

func (*Query) RunQuery

func (q *Query) RunQuery(ctx context.Context, s string) (core.Table, error)

RunQuery sends "METHOD /path [body]"; a bare path means GET.

Jump to

Keyboard shortcuts

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