Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoragePostgres ¶
type StoragePostgres struct {
// contains filtered or unexported fields
}
StoragePostgres Implements storage.Storage
func New ¶
func New(postgresURL string) (*StoragePostgres, error)
New create a new StoragePostgres struct
func (*StoragePostgres) ApplyMigrations ¶
func (s *StoragePostgres) ApplyMigrations() error
ApplyMigrations apply migration to the postgres database
func (*StoragePostgres) Connect ¶
func (s *StoragePostgres) Connect() error
Connect connect to the postgres database
func (*StoragePostgres) GetWatchAuctionsItems ¶
func (s *StoragePostgres) GetWatchAuctionsItems(tx *sql.Tx) ([]uint64, error)
GetWatchAuctionsItems return item ids of all items we want to watch at the auction house.g
Click to show internal directories.
Click to hide internal directories.