# Functions
DefaultMessageDecodeFunc is the default function to decode a message for ReceiveData().
DefaultMessageEncodeFunc is the default function to encode and serialize the input data for SendData().
MessageDecode decodes a message encoded with MessageEncode to the provided data object.
MessageEncode encodes and serialize the input data to a string.
New creates a new instance of the Valkey client wrapper.
WithChannels sets the channels to subscribe to and receive data from.
WithMessageDecodeFunc allow to replace DefaultMessageDecodeFunc().
WithMessageEncodeFunc allow to replace DefaultMessageEncodeFunc.
WithValkeyClient overrides the default Valkey client.
# Type aliases
Option is a type to allow setting custom client options.
SrvOptions is an alias for the parent library client options.
TDecodeFunc is the type of function used to replace the default message decoding function used by ReceiveData().
TEncodeFunc is the type of function used to replace the default message encoding function used by SendData().
VKClient represents the mockable functions in the parent Valkey Client.
VKMessage is an alias for the parent library Message type.
VKPubSub represents the mockable functions in the parent Valkey PubSub.