You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

message.go 494B

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. )