Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppender ¶
func NewAppender(ctx context.Context, ttl time.Duration, s types.Serializer, logger log.Logger) storage.Appender
NewAppender returns an Appender that writes to a given serializer. NOTE the returned Appender writes data immediately, discards data older than `ttl` and does not honor commit or rollback.
func NewSerializer ¶
func NewSerializer(cfg types.SerializerConfig, q types.FileStorage, stats func(stats types.SerializerStats), l log.Logger) (types.Serializer, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.