handler

package
v0.0.0-...-eb7e25d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAsteriskReply

func HandleAsteriskReply(result string) (interface{}, error)

func HandleBulkRequest

func HandleBulkRequest(elements []string) [][]byte

func HandleMultiBulkRequest

func HandleMultiBulkRequest(key string, elements []string) [][]byte

func HandleReply

func HandleReply(result string) (interface{}, error)

*

  • 处理redis响应的结果
  • 1、复杂的*...
  • 2、:数字
  • 3、简单的$...
  • 4、+OK
  • 5、-ERR(WRONGTYPE...)
  • 6、+QUEUED

func HandleTransactionReply

func HandleTransactionReply(result string) (interface{}, error)

处理事务执行结果

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL