Versions in this module Expand all Collapse all v1 v1.0.0 Feb 27, 2024 Changes in this version + func Decode(r io.Reader, v DecodeVisitor) error + func PutEncoder(e *Encoder) + type DecodeVisitor interface + Bool func(key []byte, val bool) + Bytes func(key, val []byte) + Duration func(key []byte, val time.Duration) + Float func(key []byte, val float64) + Group func(n int) + Int func(key []byte, val int64) + String func(key, val []byte) + Time func(key []byte, val time.Time) + Uint func(key []byte, val uint64) + type Encoder struct + func GetEncoder() *Encoder + func (e *Encoder) EncodeKey(key string) + func (e *Encoder) EncodeValue(v slog.Value) + func (e *Encoder) WriteTo(w io.Writer) (int, error)