Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigCmd ¶ added in v0.25.0
ConfigCmd returns a CLI command to interactively create an application CLI config file.
func Paginate ¶ added in v1.0.0
Paginate returns the correct starting and ending index for a paginated query, given that client provides a desired page and limit of objects and the handler provides the total number of objects. The start page is assumed to be 1-indexed. If the start page is invalid, non-positive values are returned signaling the request is invalid; it returns non-positive values if limit is non-positive and defLimit is negative.
func RegisterRoutes ¶ added in v1.0.0
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
Register routes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.