Documentation
¶
Overview ¶
Package decoder provides a set of decoders to decode the output of a command
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDecoding = errors.New("decoding output error")
)
Functions ¶
This section is empty.
Types ¶
type JSONDecoder ¶
type JSONDecoder struct {
// contains filtered or unexported fields
}
func NewJSONDecoder ¶
func NewJSONDecoder() *JSONDecoder
type RegExDecoder ¶
type RegExDecoder struct {
// contains filtered or unexported fields
}
func NewRegExDecoder ¶
func NewRegExDecoder(regex string) *RegExDecoder
Click to show internal directories.
Click to hide internal directories.