您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920
  1. package livereload
  2. type (
  3. hello struct {
  4. Command string `json:"command"`
  5. Protocols []string `json:"protocols"`
  6. ServerName string `json:"serverName"`
  7. }
  8. alert struct {
  9. Command string `json:"command"`
  10. Message string `json:"message"`
  11. }
  12. reload struct {
  13. Command string `json:"command"`
  14. Path string `json:"path"` // as full as possible/known, absolute path preferred, file name only is OK
  15. LiveCSS bool `json:"liveCSS"` // false to disable live CSS refresh
  16. }
  17. )