client

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package client is TODO.

Index

Constants

View Source
const InvalidPath = "/badbadbad"

Variables

This section is empty.

Functions

func GetFunctionList

func GetFunctionList(transportConfig *TransportConfig, toolchain workerapi.ToolchainType) (map[string]api.FunctionSignature, error)

func InvokeFunctions

func InvokeFunctions(
	transportConfig *TransportConfig,
	toolchain workerapi.ToolchainType,
	reqMsg api.FunctionInvocationRequest,
) (*api.FunctionInvocationResponse, error)

func Ok

func Ok(transportConfig *TransportConfig) error

func Shutdown

func Shutdown(transportConfig *TransportConfig) error

Types

type TransportConfig

type TransportConfig struct {
	Host      string
	BasePath  string
	Scheme    string
	UserAgent string
}

func (*TransportConfig) GetBaseURL

func (tc *TransportConfig) GetBaseURL() string

func (*TransportConfig) GetContentType

func (tc *TransportConfig) GetContentType() string

func (*TransportConfig) GetToolchainURL

func (tc *TransportConfig) GetToolchainURL(toolchain workerapi.ToolchainType) string

func (*TransportConfig) GetUserAgent

func (tc *TransportConfig) GetUserAgent() string

func (*TransportConfig) ToolchainToPath

func (tc *TransportConfig) ToolchainToPath(toolchain workerapi.ToolchainType) string

Jump to

Keyboard shortcuts

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