bend-kit-redis
Search uses release 0.3.0.0 · 150 definitions
Definitions (150)
- type ValA RESP3 value (RESP2 replies decode into the same type).
- def kind.tagAggregate kinds, in the order of their type bytes below.
- def kind.val
- def i64.neg
- def u64.div10The 64-bit (hi, lo) divided by 10, and the remainder, over 16-bit limbs.
- def digit.put
- def u64.show.goz is set once the value left to print is zero; 20 digits hold any u64.
- def u64.show
- def i64.show.of
- def i64.show
- type EThe output so far, whether every value had a RESP form, and the count of values written.
- def fresh
- def text
- def none
- def clean.lf
- def clean.cr
- def cleanA line has no CR and no LF.
- def put
- def line
- def blob
- def verbatim.of
- def verbatim
- def agg.countMaps count pairs and need an even count; Attr needs its pairs and one reply.
- def agg.ok
- def agg
- def boolean
- def enc
- def encode.done
- def encodeNone when a line value holds CR or LF, a Dict has an odd item count, an Attr an even one, or a Verbatim format is not 3 bytes.
- def bulks
- def encode.command.done
- def encode.commandA command as a RESP array of bulk strings, the form every server accepts.
- def argsByte-string arguments (one Char per octet) as Bytes.
- type NumA decimal line: sign, magnitude words, and whether it has 1 to 19 digits.
- def num.gon digits from i: (hi, lo) = (hi, lo) * 10 + d over 16-bit limbs.
- def num.fin
- def num.digits
- def num.sign
- def numBytes s until e, which are before len.
- def int.mk
- def int.val
- def int.ofRESP integers are signed 64-bit: the magnitude may reach 2^63 only when negative.
- def len.ofA length or count below 2^31; -1 (RESP2 null) is 4294967295 and anything else is 4294967294.
- type FrameAn open aggregate: its kind, the items still due, and the items so far, reversed.
- type St
- type StepOne reply and the index after it; More when the bytes end first; Bad when they cannot start a reply.
- def byte.of
- def byteByte i, or 256 past the end.
- def known
- def null.st
- def line.val
- def line.st
- def int.done
- def int.st
- def boolean.done
- def boolean.st
- def blob.mk
- def blob.done
- def verb.text
- def verb.fmt
- def verb.ok
- def verb.colon
- def verb.lenA verbatim string is a 3-byte format, a colon, then the text.
- def blob.val
- def blob.crlf
- def crlf.at
- def blob.fit
- def blob.room
- def blob.bad
- def blob.nil$-1 is RESP2's null bulk string; !
- def blob.stkind 0 is $, 1 is !, 2 is =.
- def agg.open
- def agg.leftA map of n pairs has 2n items; an attribute adds the reply after its pairs.
- def agg.bad
- def agg.nil*-1 is RESP2's null array.
- def agg.st
- def itemThe type byte t, then the line from s until the CRLF at e.
- def head.eol
- def head.end
- def head.known
- def head
- def done.last
- def done
- def run
- def decodeOne reply starting at byte i of b.
- type ReaderBytes read from the server, and the index of the first byte not yet decoded.
- def reader
- def feed.at
- def feedDrops the decoded bytes, then adds chunk.
- type Next
- def next.of
- def nextThe next whole reply, Want when it has not all arrived, or Broken for bytes that are not RESP.
- def pending.of
- def pendingThe count of bytes read but not yet decoded.
- type Confighost is a name or a numeric address; TLS checks the certificate against it.
- def config
- type FailureA failed call closes its connection.
- type Connkey names the pool bucket: TLS, user, host, port, and db.
- def io.close
- def io.send