Documentation ¶
Index ¶
- func CountHistoriesByTrackID(ctx context.Context, db *database.Database, trackId string) (int, error)
- func DeleteHistoriesByTrackID(ctx context.Context, db *database.Database, trackId string) error
- func DeleteTrackByTrackID(ctx context.Context, db *database.Database, trackId string) error
- type History
- type Track
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountHistoriesByTrackID ¶
Types ¶
type History ¶
type History struct { UniqueId string `datastore:"uniqueId" json:"unique_id"` TrackId string `datastore:"trackId" json:"track_id"` Ip string `datastore:"ip" json:"ip"` UserAgent string `datastore:"useragent" json:"useragent"` Date time.Time `datastore:"date" json:"time"` }
func GetHistoriesByTrackID ¶
Click to show internal directories.
Click to hide internal directories.