Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type CodecOption ¶
type CodecOptions ¶
type CodecOptions struct {
Doc string
Options []*CodecOption
}
type Decoder ¶
type Decoder struct {
Doc string
Options *CodecOptions
}
type Encoder ¶
type Encoder struct {
Doc string
Options *CodecOptions
}
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator holds the state of the analysis. Primarily used to buffer the output for format.Source.
type Processor ¶
type Processor struct {
Behavior string
Name string
ImportPath string
Doc string
DocShort string
Options *ProcessorOptions
Ports []*ProcessorPort
}
func NewProcessor ¶
func (*Processor) GenExample ¶
func (*Processor) GenMarkdown ¶
type ProcessorOption ¶
type ProcessorOption struct {
Name string
Alias string
Doc string
Required bool
Type string
DefaultValue interface{}
PossibleValues []string
//LogstashExample
ExampleLS string
}
func (*ProcessorOption) GenExample ¶
func (p *ProcessorOption) GenExample(kind string) string
type ProcessorOptions ¶
type ProcessorOptions struct {
Doc string
Options []*ProcessorOption
}
Click to show internal directories.
Click to hide internal directories.