Discover Packages
github.com/compose/transporter
pkg
adaptor
file
package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jan 27, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
file adaptor
The file adaptor reads/writes data to the defined locations.
NOTE
This adaptor is primarily used for testing purposes.
Configuration:
- stdout:
type: file
uri: stdout://
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
URI string `json:"uri" doc:"the uri to connect to, ie stdout://, file:///tmp/output"`
}
Config is used to configure the File Adaptor
File is an adaptor that can be used as a
source / sink for file's on disk, as well as a sink to stdout.
Description for file adaptor
Listen starts the listen loop
SampleConfig for file adaptor
Start the file adaptor
TODO: we only know how to listen on stdout for now
Source Files
¶
Click to show internal directories.
Click to hide internal directories.