// GetEntry gets the value for the given key with its metadata. It returns ErrKeyNotFound if the DB
// does not contain the key. It's thread-safe. It is safe to modify the contents
// of the returned value.
GetEntry gets the value for the given key with its metadata. It returns ErrKeyNotFound if the DB
does not contain the key. It's thread-safe. It is safe to modify the contents
of the returned value.
// GetEntry gets the value for the given key with its metadata . It returns ErrKeyNotFound if the DB // does not contain the key . It ' s thread - safe . It is safe to modify the contents // of the returned value .
func (dm *DMap) GetEntry(key string) (*Entry, error) {
	e, err := dm.dm.GetEntry(key)
	if err != nil {
		return nil, convertDMapError(err)
	}
	return &Entry{
		Key:       e.Key,
		Value:     e.Value,
		TTL:       e.TTL,
		Timestamp: e.Timestamp,
	}, nil
}
func ( dm * DMap ) GetEntry ( key string ) ( * Entry , error ) { e , err := dm . dm . GetEntry ( key ) if err != nil { return nil , convertDMapError ( err ) } return & Entry { Key : e . Key , Value : e . Value , TTL : e . TTL , Timestamp : e . Timestamp , } , nil }
GetEntry gets the value for the given key with its metadata.
GetEntry gets the value for the given key with its metadata .