mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
Convert db backend to use Gorm, with basis for support
for Mysql and Postgres in addition to existing Sqlite
This commit is contained in:
@ -1,18 +1,12 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// PageInfo is the model used by Api Handlers and passed on to other parts
|
||||
// of the application
|
||||
type PageInfo struct {
|
||||
FromDate time.Time `json:"from_date"`
|
||||
ToDate time.Time `json:"to_date"`
|
||||
Sort []Sort `json:"sort"`
|
||||
Offset int `json:"offset"`
|
||||
Limit int `json:"limit"`
|
||||
Expand []string `json:"expand"`
|
||||
Sort []Sort `json:"sort"`
|
||||
Offset int `json:"offset"`
|
||||
Limit int `json:"limit"`
|
||||
Expand []string `json:"expand"`
|
||||
}
|
||||
|
||||
// Sort holds the sorting data
|
||||
|
Reference in New Issue
Block a user