models

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheTime

type CacheTime struct {
	ID              string     `bson:"_id" json:"_id"`                                               // MD5 of the path
	Path            string     `bson:"path" json:"path"`                                             // Path for which caching is set
	CollectionID    string     `bson:"collection_id,omitempty" json:"collection_id,omitempty"`       // Collection ID - used for grouping and filtering of cache-time objects.
	CollectionTitle string     `bson:"collection_title,omitempty" json:"collection_title,omitempty"` // Collection title - used for describing the collection in a human-readable format
	ReleaseTime     *time.Time `bson:"release_time,omitempty" json:"release_time,omitempty"`         // Release time in ISO-8601 format
}

type CacheTimesList added in v1.7.0

type CacheTimesList struct {
	Items      []*CacheTime `json:"items"`
	Count      int          `json:"count"`
	Limit      int          `json:"limit"`
	Offset     int          `json:"offset"`
	TotalCount int          `json:"total_count"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL