Closed CharlesHolbrow closed 7 years ago
This involves two changes:
RedisMutators.go
and Objects.go
func NewObject(obj, rConn) err // Actually Create the Object in redis
func NewObjectMessage(obj), NewObjectMsg // send NewObjectMsg to "HandleMessage""
I do not think that the following actually need to be exported
MsgModObj
MsgAddObj
MsgRemObj
closed by 131c778
right now to create a new object
We could change the
NewObj
to a method that just creates a new object. This could probably be simplified to(see #6 for how to generate object IDs)
For now, I would like to still keep the option to pass objects as messages. It would be nice to do all our processing in a separate thread from the thread were we talk to redis.