menu

package
v0.0.0-...-5460b4a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package "menu" provides logic to show menu of choices corresponding to connection entries to the user and getting the user's input.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadChoice

func ReadChoice(connectionList *[]config.Connection) (*config.Connection, error)

ReadChoice takes in a list of Connection instances and renders a menu on screen for the user to choose. It returns the chosen connection, or nil if nothing was chosen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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