github.com/goadesign/goa/encoding/cbor


cbor

import "github.com/goadesign/goa/encoding/cbor"

Overview

Index

Package files

encoding.go

Variables

var (
    // Handle used by encoder and decoder.
    Handle codec.CborHandle
)

func NewDecoder

func NewDecoder(r io.Reader) goa.Decoder

NewDecoder returns a cbor decoder.

func NewEncoder

func NewEncoder(w io.Writer) goa.Encoder

NewEncoder returns a cbor encoder.


Generated by godoc2md