Documentation ¶ Index ¶ type Manager func NewManager[T any, PT *T](appId string, groupId string, codec codec.Codec[T, PT]) *Manager[T, PT] func (manager *Manager[T, PT]) LoadState(id string) (PT, error) func (manager *Manager[T, PT]) SaveState(id string, state PT) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Manager ¶ type Manager[T any, PT *T] struct { // contains filtered or unexported fields } func NewManager ¶ func NewManager[T any, PT *T](appId string, groupId string, codec codec.Codec[T, PT]) *Manager[T, PT] func (*Manager[T, PT]) LoadState ¶ func (manager *Manager[T, PT]) LoadState(id string) (PT, error) func (*Manager[T, PT]) SaveState ¶ func (manager *Manager[T, PT]) SaveState(id string, state PT) error Source Files ¶ View all Source files manager.go Click to show internal directories. Click to hide internal directories.