2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 10:07:15 +08:00

refactor: 重构types包

This commit is contained in:
耗子
2024-06-23 01:32:45 +08:00
parent 89e133c626
commit 7ff084e5a8
47 changed files with 41 additions and 35 deletions

11
pkg/types/rsync.go Normal file
View File

@@ -0,0 +1,11 @@
package types
type RsyncModule struct {
Name string `json:"name"`
Path string `json:"path"`
Comment string `json:"comment"`
ReadOnly bool `json:"read_only"`
AuthUser string `json:"auth_user"`
Secret string `json:"secret"`
HostsAllow string `json:"hosts_allow"`
}