Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(inputOption InputOption, out any) (*Builder, error)
type InputOption ¶
func (InputOption) NewInputer ¶
func (o InputOption) NewInputer() (Inputer, error)
type Inputer ¶
func NewLocalFileInput ¶
func NewLocalFileInput(option InputOption) (Inputer, error)
func NewRemoteFileInput ¶
func NewRemoteFileInput(option InputOption) (Inputer, error)
type LocalFileInput ¶
type LocalFileInput struct {
// contains filtered or unexported fields
}
func (*LocalFileInput) Close ¶
func (i *LocalFileInput) Close()
func (*LocalFileInput) Read ¶
func (i *LocalFileInput) Read() (Content, error)
func (*LocalFileInput) Watch ¶
func (i *LocalFileInput) Watch(cb func(Inputer)) error
type RemoteFileInput ¶
type RemoteFileInput struct {
// contains filtered or unexported fields
}
func (*RemoteFileInput) Close ¶
func (i *RemoteFileInput) Close()
func (*RemoteFileInput) ParseModTime ¶
func (i *RemoteFileInput) ParseModTime(resp *http.Response) time.Time
func (*RemoteFileInput) Read ¶
func (i *RemoteFileInput) Read() (Content, error)
func (*RemoteFileInput) Watch ¶
func (i *RemoteFileInput) Watch(cb func(Inputer)) error
Click to show internal directories.
Click to hide internal directories.