Help us shape the future of Go! Take the 2026 Go Developer Survey

cliconfig

package
v1.3.100 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package cliconfig is the output shape of the `skywire cli config` commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keypair

type Keypair struct {
	PublicKey string `json:"public_key"`
	SecretKey string `json:"secret_key,omitempty"`
}

Keypair is a generated or derived key pair.

SecretKey is omitempty because `pubkey` derives only the public half, and a caller must be able to tell "no secret here" from an empty string it might otherwise write somewhere.

func (Keypair) Human

func (k Keypair) Human(w io.Writer) error

Human writes the keys on their own lines, as before — public first, which is the order every script that parses this already expects.

Jump to

Keyboard shortcuts

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