1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 12:54:41 -05:00
sub2sing-box/model/convert.go
Nite07 8f6e39b634 The convert command has a new flag: config
🐛 Fix Fetch func cannot return err
🐛 Fix cannot read templates correctly
2024-05-23 16:57:19 +08:00

15 lines
684 B
Go

package model
type ConvertRequest struct {
Subscriptions []string `form:"subscription" json:"subscription"`
Proxies []string `form:"proxy" json:"proxy"`
Template string `form:"template" json:"template"`
Delete string `form:"delete" json:"delete"`
Rename map[string]string `form:"rename" json:"rename"`
Group bool `form:"group" json:"group"`
GroupType string `form:"group-type" json:"group-type"`
SortKey string `form:"sort" json:"sort"`
SortType string `form:"sort-type" json:"sort-type"`
Output string `json:"output"`
}