MCPcopy
hub / github.com/olric-data/olric / Put

Struct Put

internal/protocol/dmap.go:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type Put struct {
31 DMap string
32 Key string
33 Value []byte
34 EX float64
35 PX int64
36 EXAT float64
37 PXAT int64
38 NX bool
39 XX bool
40}
41
42func NewPut(dmap, key string, value []byte) *Put {
43 return &Put{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected