builtin

package
v0.4.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "blackstork/builtin"

Variables

This section is empty.

Functions

func Plugin

func Plugin(version string, logger *slog.Logger, tracer trace.Tracer) *plugin.Schema

func StringPtr added in v0.4.2

func StringPtr(s string) *string

Types

type Request added in v0.4.2

type Request struct {
	Url               string
	Method            string
	Timeout           time.Duration
	SkipVerify        bool
	Headers           map[string]string
	Body              *string
	BasicAuthUsername *string
	BasicAuthPassword *string
}

type Response added in v0.4.2

type Response struct {
	Body     []byte
	MimeType string
}

func SendRequest added in v0.4.2

func SendRequest(ctx context.Context, r *Request) (*Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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