Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Key string `datastore:"-"` Name string Tags []string OwnerID string // Timestamps keeps track of creation and modification times and stores a randomly // generated UUID to maintain consistency. Timestamps timestamps.Timestamps }
Store represents a Open Saves store in the metadata database. See the Open Saves API definition for details.
func FromProto ¶
FromProto creates a new Store instance from a proto. Passing nil returns a zero-initialized Store.
func (*Store) Load ¶
Load implements the Datastore PropertyLoadSaver interface and converts Datstore properties to the Properties field.
func (*Store) LoadKey ¶
LoadKey implements the KeyLoader interface and sets the value to the Key field.
Click to show internal directories.
Click to hide internal directories.