You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/server/model/vendor.go

24 lines
427 B
Go

package model
type VendorMeResp[T any] struct {
IsLogin bool `json:"isLogin"`
Info T `json:"info,omitempty"`
}
type VendorFSListResp struct {
Paths []*Path `json:"paths"`
Items []*Item `json:"items"`
Total uint64 `json:"total"`
}
type Item struct {
Name string `json:"name"`
Path string `json:"path"`
IsDir bool `json:"isDir"`
}
type Path struct {
Name string `json:"name"`
Path string `json:"path"`
}