Documentation
¶
Index ¶
- type Storage
- func (s *Storage) AddBanner(description string) error
- func (s *Storage) AddSDGroup(description string) error
- func (s *Storage) AddSlot(description string) error
- func (s *Storage) AddTrack(bannerID, slotID, sdGroupID int) error
- func (s *Storage) Close() error
- func (s *Storage) Connect(ctx context.Context) error
- func (s *Storage) GetAllGroups() ([]*storage.SDGroup, error)
- func (s *Storage) GetAllTracks(slotID, sdGroupID int) (map[int]*storage.Tracker, error)
- func (s *Storage) RemoveBannerByID(bannerID int) error
- func (s *Storage) RemoveSDGroupByID(sdGroupID int) error
- func (s *Storage) RemoveSlotByID(slotID int) error
- func (s *Storage) RemoveTracks(bannerID, slotID int) error
- func (s *Storage) TrackClick(bannerID, slotID, sdGroupID int) error
- func (s *Storage) TrackView(bannerID, slotID, sdGroupID int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) AddSDGroup ¶
func (*Storage) GetAllTracks ¶
func (*Storage) RemoveBannerByID ¶
func (*Storage) RemoveSDGroupByID ¶
func (*Storage) RemoveSlotByID ¶
func (*Storage) RemoveTracks ¶
func (*Storage) TrackClick ¶
Click to show internal directories.
Click to hide internal directories.