Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareIndex ¶
func PrepareIndex(creators map[string]Creator, cfg Config, games []GameSource) error
PrepareIndex handles creating index that will be used for searching purposes
Types ¶
type Creator ¶
type Creator interface {
CreateIndex(string, []GameSource) error
}
Creator is responsible for new index creation
type Description ¶
type Description struct {
Synopsis string
}
Description provides information about
type GameSource ¶
type GameSource struct { UID string Name string Descriptions []Description }
GameSource provides information neccessary for game indexing
type Result ¶
Result presents found game entries plus additional infromation, including ignored platforms requested etc.
type SearchParameters ¶
SearchParameters provide information what criteria for results are expected
Source Files ¶
Click to show internal directories.
Click to hide internal directories.