ProjectWIND/typed/typed.go

18 lines
529 B
Go
Raw Normal View History

2024-11-28 15:20:29 +08:00
package typed
2024-12-05 01:00:07 +08:00
type CoreConfigInfo struct {
CoreName string `json:"core_name"`
Protocols []Protocol `json:"protocols"`
WebUIPort uint16 `json:"webui_port"`
PasswordHash string `json:"password_hash"`
ServiceName string `json:"service_name"`
}
type Protocol struct {
ProtocolName string `json:"protocol_name"`
ProtocolPlatform string `json:"protocol_platform"`
ProtocolAddr string `json:"protocol_addr"`
Token string `json:"token"`
Enable bool `json:"enable"`
2024-11-28 19:45:03 +08:00
}