go-in-memory-db
go-in-memory-db copied to clipboard
Go Simple In Memory DB
minheap_handler.go ```Go package actions import ( "strconv" ) func (a *Actions) mSetHandler() string { k := a.StringArray[1] a.Client.Dbpointer.CreateMinHeap(k) return k } func (a *Actions) mExtractMinimumHandler() string { k := a.StringArray[1]...
https://github.com/tidwall/redcon/blob/master/example/tls/clone.go
refer to this implementation off pub/sub https://github.com/alash3al/go-pubsub https://github.com/go-redis/redis/blob/master/pubsub.go
add DB persistence , refer to this document on how .redis does it https://redis.io/topics/persistence good reference to how to use external engines https://github.com/alash3al/redix
we need to define simple configuration like port and tls config we can pass them by flag or json file checkout https://dev.to/ilyakaznacheev/a-clean-way-to-pass-configs-in-a-go-application-1g64?utm_source=dormosheio&utm_campaign=dormosheio
Done 👍 1. fix hash commands 2. fix queue commands 3. add timeseries 4. merge decision manager 5. fix handlers func
done commands : HGET HSET HDEL HPUSH HRM HUNLINK HSEEK