msg.go 200 B

1234567891011121314151617
  1. package model
  2. // MSGType .
  3. type MSGType uint8
  4. // const .
  5. const (
  6. MSGTypeBlock MSGType = iota + 1
  7. MSGTypeBlockRemove
  8. )
  9. // MSG .
  10. type MSG struct {
  11. Code string
  12. Title string
  13. Content string
  14. }