pgo
pgo copied to clipboard
Implement reading persistent state
Currently, this is the persistent resource interface:
type PersistableResource interface {
distsys.ArchetypeResource
GetState() ([]byte, error)
}
And it just supports persisting the state. Reading and recovery from the stored state has been implemented yet.