goresp: github.com/0xC0D3D00D/goresp Index | Files

package goresp

import "github.com/0xC0D3D00D/goresp"

Index

Package Files

decode.go

Variables

var (
    // ErrUnexpectedEOF thrown when unmarshaling an incomplete message
    ErrUnexpectedEOF = errors.New("Unexpected EOF")
    // ErrInvalidMessage thrown when the message is not in any form of standard RESP format
    ErrInvalidMessage = errors.New("Invalid message")
)

func Unmarshal Uses

func Unmarshal(reader io.Reader) (interface{}, error)

Unmarshal decodes RESP messages to its corresponding golang type

Package goresp imports 3 packages (graph). Updated 2018-11-03. Refresh now. Tools for package owners.