mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-10-25 16:51:01 +00:00
✨ The convert command has a new flag: config
🐛 Fix Fetch func cannot return err 🐛 Fix cannot read templates correctly
This commit is contained in:
14
model/convert.go
Normal file
14
model/convert.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user