Documentation ¶
Index ¶
- func Copy(dest io.Writer, src io.Reader) error
- func Create(c context.Context, key string) error
- func Delete(c context.Context, key string) error
- func Reader(c context.Context, key string) (io.ReadCloser, error)
- func ToContext(c Setter, s Stream)
- func ToKey(i int64) string
- func Writer(c context.Context, key string) (io.WriteCloser, error)
- type Setter
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
Copy copies the stream from the source to the destination in valid JSON format. This converts the logs, which are per-line JSON objects, to a proper JSON array.
Types ¶
type Setter ¶
type Setter interface {
Set(string, interface{})
}
Setter defines a context that enables setting values.
Click to show internal directories.
Click to hide internal directories.