Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopReader ¶
type NoopReader struct { }
func (*NoopReader) Start ¶
func (_ *NoopReader) Start() error
func (*NoopReader) Stop ¶
func (_ *NoopReader) Stop() error
type OnDemandReader ¶
type OnDemandReader struct { CommandName string Stream io.Reader Prompt io.Writer Encoder encoding.PayloadEncoder // contains filtered or unexported fields }
func (*OnDemandReader) Start ¶
func (r *OnDemandReader) Start() error
func (*OnDemandReader) Stop ¶
func (r *OnDemandReader) Stop() error
type PreFillReader ¶
type PreFillReader struct { CommandName string Stream io.Reader Prompt io.Writer Encoder encoding.PayloadEncoder // contains filtered or unexported fields }
func (*PreFillReader) Start ¶
func (r *PreFillReader) Start() error
func (*PreFillReader) Stop ¶
func (r *PreFillReader) Stop() error
type Reader ¶
type StaticReader ¶ added in v0.5.0
type StaticReader struct {
// contains filtered or unexported fields
}
func NewStatic ¶ added in v0.5.0
func NewStatic(commandName string, encoder encoding.PayloadEncoder, payload string) (*StaticReader, error)
func (*StaticReader) Read ¶ added in v0.5.0
func (s *StaticReader) Read(_ context.Context, _ string) *Command
func (*StaticReader) Start ¶ added in v0.5.0
func (_ *StaticReader) Start() error
func (*StaticReader) Stop ¶ added in v0.5.0
func (_ *StaticReader) Stop() error
Click to show internal directories.
Click to hide internal directories.