changes

package
v0.0.0-...-c9f6891 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	API *rest.Api
	// contains filtered or unexported fields
}

App Web app structure

func New

func New(jwtMiddleware *jwt.JWTMiddleware, mongoClient *mongo.Client) *App

New create devices web app

type ChangePage

type ChangePage struct {
	Links *ChangePageCursor `json:"links"`
	Data  []interface{}     `json:"data"`
}

type ChangePageCursor

type ChangePageCursor struct {
	Next string `json:"next"`
	Prev string `json:"prev"`
}

Pagination: https://jsonapi.org/profiles/ethanresnick/cursor-pagination/

type FindPrototypeFunc

type FindPrototypeFunc = func() interface{}

type TimeModfiedFunc

type TimeModfiedFunc = func(proto interface{}) (*time.Time, error)

Jump to

Keyboard shortcuts

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