nginx-proxy-manager-zh/backend/internal/entity/accesslist/structs.go
2023-01-13 15:03:28 +10:00

16 lines
382 B
Go

package accesslist
import (
"npm/internal/model"
)
// ListResponse is the JSON response for the list
type ListResponse struct {
Total int `json:"total"`
Offset int `json:"offset"`
Limit int `json:"limit"`
Sort []model.Sort `json:"sort"`
Filter []model.Filter `json:"filter,omitempty"`
Items []Model `json:"items,omitempty"`
}