MCPcopy Create free account
hub / github.com/distributedio/titan / Integer

Function Integer

command/command.go:55–59  ·  view source on GitHub ↗

Integer replies in integer when commit

(w io.Writer, v int64)

Source from the content-addressed store, hash-verified

53
54// Integer replies in integer when commit
55func Integer(w io.Writer, v int64) OnCommit {
56 return func() {
57 resp.ReplyInteger(w, v)
58 }
59}
60
61// BytesArray replies a [][]byte when commit
62func BytesArray(w io.Writer, a [][]byte) OnCommit {

Callers 15

DeleteFunction · 0.85
ExistsFunction · 0.85
ExpireFunction · 0.85
ExpireAtFunction · 0.85
PersistFunction · 0.85
PExpireFunction · 0.85
PExpireAtFunction · 0.85
TTLFunction · 0.85
PTTLFunction · 0.85
ObjectFunction · 0.85
TouchFunction · 0.85
MSetNxFunction · 0.85

Calls 1

ReplyIntegerFunction · 0.92

Tested by

no test coverage detected