Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("Not Found") ErrNotImplemented = errors.New("Not Implemented") )
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { AllUserStations() ([]*sde.Station, error) DeleteFavorites(int) error FindOrCreateCharacterForUser(int, esi.VerifyOK) (*Character, error) FindOrCreateUserAndCharacter(esi.VerifyOK) (*User, *Character, error) GetCharacterByUserAndCharacterID(int, int) (*Character, error) GetCharacterByOwnerHash(string) (*Character, error) GetCharactersForUser(int) (map[int]*Character, error) GetFavoriteTypes(userID int) ([]int, error) GetLatestTxnID() (int, error) GetPricesForStation(int) (map[int]esi.Price, error) GetTokenForCharacter(characterID int) (*Token, error) GetUser(userID int) (*User, error) IsFavorite(userID, typeID int) (bool, error) RemoveCharacterForUser(int, int) error SaveActiveCharacterHash(int, string) error SavePrice(int, int, esi.Price) error SaveTokenForCharacter(int, string, string) error SaveUserStationA(userID, stationID int) error SaveUserStationB(userID, stationID int) error SetFavorite(userID, typeID int, val bool) error }
func Initialize ¶
Click to show internal directories.
Click to hide internal directories.