Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) Add ¶ added in v1.1.0
func (c *Collector) Add(target *SnapshotTarget, content []byte) (*Snapshot, error)
func (*Collector) Collect ¶
func (c *Collector) Collect(target *SnapshotTarget) error
type Processor ¶
type Processor interface { Process(snapshot *Snapshot) (io.ReadCloser, error) Cacheable() bool }
type Snapshot ¶
type Snapshot struct { *SnapshotMeta *SnapshotTarget // contains filtered or unexported fields }
type SnapshotMeta ¶
type SnapshotTarget ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.