ByteStorage / FlyDB

The high-performance kv storage engine based on bitcask paper made in golang
Apache License 2.0
1.22k stars 99 forks source link

Add ttl and size methods to the `structure/list.go` #266

Closed sjcsjc123 closed 1 year ago

sjcsjc123 commented 1 year ago

Two methods need to be added to obtain the expiration time and key value size of the key in the list data structure, and a set method needs to be added to set the timeout time.