Versions in this module Expand all Collapse all v0 v0.1.0 Aug 1, 2023 Changes in this version + type BatchedRequest struct + Operations []Operation + func (z *BatchedRequest) DecodeMsg(dc *msgp.Reader) (err error) + func (z *BatchedRequest) EncodeMsg(en *msgp.Writer) (err error) + func (z *BatchedRequest) MarshalMsg(b []byte) (o []byte, err error) + func (z *BatchedRequest) Msgsize() (s int) + func (z *BatchedRequest) UnmarshalMsg(bts []byte) (o []byte, err error) + type BatchedResponse struct + Results []Result + func (z *BatchedResponse) DecodeMsg(dc *msgp.Reader) (err error) + func (z *BatchedResponse) EncodeMsg(en *msgp.Writer) (err error) + func (z *BatchedResponse) MarshalMsg(b []byte) (o []byte, err error) + func (z *BatchedResponse) Msgsize() (s int) + func (z *BatchedResponse) UnmarshalMsg(bts []byte) (o []byte, err error) + type Operation struct + Key []byte + Type OperationType + Value []byte + func (op Operation) Index() string + func (z *Operation) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Operation) EncodeMsg(en *msgp.Writer) (err error) + func (z *Operation) MarshalMsg(b []byte) (o []byte, err error) + func (z *Operation) Msgsize() (s int) + func (z *Operation) UnmarshalMsg(bts []byte) (o []byte, err error) + type OperationType int + const DELETE + const GET + const PING + const SET + func (op OperationType) String() string + func (z *OperationType) DecodeMsg(dc *msgp.Reader) (err error) + func (z *OperationType) UnmarshalMsg(bts []byte) (o []byte, err error) + func (z OperationType) EncodeMsg(en *msgp.Writer) (err error) + func (z OperationType) MarshalMsg(b []byte) (o []byte, err error) + func (z OperationType) Msgsize() (s int) + type Result struct + Message []byte + Status ResultStatus + func (z *Result) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Result) EncodeMsg(en *msgp.Writer) (err error) + func (z *Result) MarshalMsg(b []byte) (o []byte, err error) + func (z *Result) Msgsize() (s int) + func (z *Result) UnmarshalMsg(bts []byte) (o []byte, err error) + type ResultStatus int + const FAILURE + const SUCCESS + func (status ResultStatus) String() string + func (z *ResultStatus) DecodeMsg(dc *msgp.Reader) (err error) + func (z *ResultStatus) UnmarshalMsg(bts []byte) (o []byte, err error) + func (z ResultStatus) EncodeMsg(en *msgp.Writer) (err error) + func (z ResultStatus) MarshalMsg(b []byte) (o []byte, err error) + func (z ResultStatus) Msgsize() (s int)