Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileName = "sink.file"
)
View Source
const (
HTTPName = "sink.http"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) Context ¶
func (m *File) Context() *mirror.ModuleContext
type FileConfig ¶
type FileConfig struct { Path *expr.StringExpr `json:"path,omitempty"` Format string `json:"format,omitempty"` BufferSize int `json:"buffer_size,omitempty"` }
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
func (*HTTP) Context ¶
func (m *HTTP) Context() *mirror.ModuleContext
type HTTPConfig ¶
type HTTPConfig struct { FollowRedirects bool `json:"follow_redirects,omitempty"` TargetURL *expr.StringExpr `json:"target_url,omitempty"` Timeout string `json:"timeout,omitempty"` Parallel int `json:"parallel"` }
Click to show internal directories.
Click to hide internal directories.