go-helpers

module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0

README

go-helpers

This package provides functionality that might be useful to machines running on Fly.io.

  • github.com/superfly/go-helpers/env - Easy access to environment variables set on Fly.io machines.
  • github.com/superfly/go-helpers/metadata - Helpers for communicating with the machines metadata API using the pre-authenticated unix socket on machines.
  • github.com/superfly/go-helpers/secrets - Helpers for fetching the latest version of app secrets.

Directories

Path Synopsis
Exposes environment variables that should be populated on Fly.io machines as package variables for convenience.
Exposes environment variables that should be populated on Fly.io machines as package variables for convenience.
Fly.io machines are provided with a Unix socket that proxies traffic to the machines API, injecting an authentication token that is authorized to modify machine metadata.
Fly.io machines are provided with a Unix socket that proxies traffic to the machines API, injecting an authentication token that is authorized to modify machine metadata.
Provides helpers for fetching the latest version of app secrets.
Provides helpers for fetching the latest version of app secrets.

Jump to

Keyboard shortcuts

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