cmdparser

package
v0.0.0-...-f2abd3c Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDispatcherWithLogger

func NewDispatcherWithLogger(logger *log.Logger) *dispatcherImpl

Types

type CMDParser

type CMDParser interface {
	Parse(r io.Reader) string
	Write(r io.Reader) error
	Flush() string
}

CMDParser is the interface that wraps the methods of the dispatcherImpl

func NewDispatcher

func NewDispatcher() CMDParser

func NewReadline

func NewReadline() CMDParser

func NewReadlineWithLogger

func NewReadlineWithLogger(logger *log.Logger) CMDParser

Jump to

Keyboard shortcuts

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