Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
func NewIndexer ¶
NewIndexer creates a new Indexer with the given URL, delay, and randomDelay.
type Meta ¶
type Meta struct { Updated *time.Time `json:"updated"` ID string `json:"id"` Self string `json:"self"` Prev string `json:"prev"` First string `json:"first"` Next string `json:"next"` Last string `json:"last"` }
func NewMeta ¶
func NewMeta() *Meta
NewMeta инициализирует и возвращает новый объект Meta.
Он не принимает параметров и возвращает указатель на объект Meta. Это объект, который содержит навигационную информацию о страницах ленты. Время последнего обновления страницы ленты. Адрес текущей страницы, адрес следующей станицы, адрес предыдущей и адрес последней и первой страницы в ленте. С помощью этой информации можно совершать обход ленты.
Click to show internal directories.
Click to hide internal directories.