1pkg/gohalt

throttlers inner state marshal/unmarshal

1pkg opened this issue · 1 comments

1pkg commented

In order to have durable storage, logging, meta exposure for all throttlers. Gohalt needs to have a way how to marshal and unmarshal inner states for all existing throttlers. This can be implemented as a pair of (MarshalBinary() (data []byte, err error), UnmarshalBinary(data []byte) error) methods or something similar. Note that there might be additional difficulties with composite throttlers.

1pkg commented

This needs to be reconsidered.