Documentation
¶
Overview ¶
Package source is the interface for sources
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeSet ¶
type ChangeSet struct {
Data []byte
Checksum string
Format string
Source string
Timestamp time.Time
}
ChangeSet represents a set of changes from a source
type Option ¶
type Option func(o *Options)
func WithEncoder ¶ added in v0.5.0
WithEncoder sets the source encoder
type Options ¶
type Options struct {
// Encoder
Encoder encoder.Encoder
// for alternative data
Context context.Context
}
func NewOptions ¶ added in v0.5.0
Directories
¶
| Path | Synopsis |
|---|---|
|
Package configmap config is an interface for dynamic configuration.
|
Package configmap config is an interface for dynamic configuration. |
|
Package file is a file source.
|
Package file is a file source. |
|
proto
Package grpc is a generated protocol buffer package.
|
Package grpc is a generated protocol buffer package. |
|
Package memory is a memory source
|
Package memory is a memory source |
|
package runtimevar is the source for gocloud.dev/runtimevar
|
package runtimevar is the source for gocloud.dev/runtimevar |
|
Package url loads changesets from a url
|
Package url loads changesets from a url |
Click to show internal directories.
Click to hide internal directories.