marshallers

package
v0.0.0-...-3ca95c8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2013 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package marshallers provides objects for marshalling tasks into bytes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonMarshaller

type JsonMarshaller bool

func (JsonMarshaller) Marshal

func (z JsonMarshaller) Marshal(obj interface{}) ([]byte, error)

func (JsonMarshaller) Unmarshal

func (z JsonMarshaller) Unmarshal(enc []byte, obj interface{}) error

type Marshaller

type Marshaller interface {
	Marshal(interface{}) ([]byte, error)
	Unmarshal([]byte, interface{}) error
}

Jump to

Keyboard shortcuts

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