command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySpark = "KEYSPARK"
	KeyHelp  = "KEYHELP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Print()
	GetType() string
}

func New

func New() (Command, error)

type Help

type Help struct {
	Type string
}

func NewHelp

func NewHelp() (*Help, error)

func (*Help) GetType

func (cmd *Help) GetType() string

func (*Help) Print

func (cmd *Help) Print()

type Spark

type Spark struct {
	Type string
}

func NewSpark

func NewSpark() (*Spark, error)

func (*Spark) GetType

func (cmd *Spark) GetType() string

func (*Spark) Print

func (cmd *Spark) Print()

Jump to

Keyboard shortcuts

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