hello

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

README

Hello plugin (Go)

Run the sidecar from the repository root:

ETHER_PLUGIN_PORT=8080 go run ./sdk/examples/hello/go/cmd

For a tunnel, set ETHER_TUNNEL_URL and ETHER_PLUGIN_CREDENTIAL instead. Use a credential obtained by pairing with Ether. The HTTP mode defaults to a random free port when ETHER_PLUGIN_PORT is not set.

Run its tests with go test ./sdk/examples/hello/go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelloPlugin

func NewHelloPlugin() *etherplugin.Plugin

NewHelloPlugin constructs the reference Go hello plugin with identical routes and payloads to the TypeScript and Python hello plugins.

Types

This section is empty.

Directories

Path Synopsis
Command hello runs the Go hello plugin as an HTTP or tunnel sidecar.
Command hello runs the Go hello plugin as an HTTP or tunnel sidecar.

Jump to

Keyboard shortcuts

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