package
0.6.1
Repository: https://github.com/threefoldtech/tfexplorer.git
Documentation: pkg.go.dev

# README

#NOTE Models in this directory are jsx models. We copy them here from jumpscale threebot just for easier regeneration. So, they need to be always in sync with the one in jumpscale threebot repo.

# Packages

No description provided by the author

# Functions

LastID get the last max value in the collection.
MustID must get next available ID, or panic with an error that has error.Is(err, ErrFailedToGetID) == true.
NextID for a collection.
NrPages compute the number of page of a collection.
Page creates a Pager.
PageFromRequest return page information from the page & size url params.
Pages return number of pages based on the total number.
QueryInt get integer from query string.

# Constants

Counters is the counters collection in mongo.
DefaultPageSize is default page size.

# Variables

ErrFailedToGetID is base error for generation failure.