context

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(base BaseCommand) *cobra.Command

Types

type BaseCommand

type BaseCommand interface {
	Configuration() *internal.Configuration
	SaveConfiguration() error
}

type Context

type Context struct {
	Name          string   `table:"NAME"`
	BrokersString string   `table:"BROKERS" json:"-" yaml:"-"`
	Brokers       []string `table:"-"`
}

Jump to

Keyboard shortcuts

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