.github
backend
cmd
embed
internal
acme
api
cache
config
database
dnsproviders
entity
auth
certificate
certificateauthority
dnsprovider
host
hosttemplate
setting
stream
filters.go
methods.go
model.go
structs.go
user
filters.go
filters_schema.go
lists_query.go
errors
jobqueue
jwt
logger
model
nginx
types
util
validator
scripts
.editorconfig
.golangci.yml
.nancy-ignore
README.md
Taskfile.yml
go.mod
go.sum
docker
docs
frontend
scripts
test
.dockerignore
.gitignore
.version
DEV-README.md
Jenkinsfile
LICENSE
README.md
16 lines
379 B
Go
16 lines
379 B
Go
package stream
|
|
|
|
import (
|
|
"npm/internal/model"
|
|
)
|
|
|
|
// ListResponse is the JSON response for this 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"`
|
|
}
|