gredis_message.go 460 B

123456789101112131415
  1. // Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
  2. //
  3. // This Source Code Form is subject to the terms of the MIT License.
  4. // If a copy of the MIT was not distributed with this file,
  5. // You can obtain one at https://github.com/gogf/gf.
  6. package gredis
  7. // Message received as result of a PUBLISH command issued by another client.
  8. type Message struct {
  9. Channel string
  10. Pattern string
  11. Payload string
  12. PayloadSlice []string
  13. }