Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GogFile ¶
type GogFile struct { Name string PlainName string Platform string URL string File string Version string }
GogFile is a struct used to store details about a single download that needs to be processed. This is the data format used over the internal channels.
type Handler ¶
type Handler interface { GetPrefix() string GetDisplayPrefix() string ReadFile(filename string) (string, error) WriteFile(filename string, content string) error FileExists(filename string) (bool, error) TransferFile(reader io.Reader, basepath string, filename string) error }
Handler is the definition of the interface between the frontend and backend for processing GogFiles.
Click to show internal directories.
Click to hide internal directories.