podclient

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: EPL-1.0 Imports: 9 Imported by: 1 module, 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 podclient implements the native Babashka pod protocol for Glojure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client owns a pod subprocess and its dynamically installed namespaces.

func Start

func Start(executable string, arguments ...string) (*Client, error)

Start launches a local pod executable, describes it, and installs its vars into the global Glojure environment.

func StartCommand

func StartCommand(command interface{}) (*Client, error)

StartCommand launches a complete Clojure command collection.

func (*Client) Close

func (c *Client) Close() error

Close unloads namespaces and stops the pod subprocess.

func (*Client) ID

func (c *Client) ID() string

ID returns the pod identifier.

func (*Client) Invoke

func (c *Client) Invoke(variable string, arguments interface{}) (interface{}, error)

Invoke calls one pod var synchronously.

Jump to

Keyboard shortcuts

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