mirror of
https://github.com/acepanel/panel.git
synced 2026-02-06 10:07:15 +08:00
refactor: 重构types包
This commit is contained in:
11
pkg/types/rsync.go
Normal file
11
pkg/types/rsync.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user