package pbutil

import "github.com/coreos/etcd/pkg/pbutil"

Index

Functions

func MustMarshal

func MustMarshal(m Marshaler) []byte

func MustUnmarshal

func MustUnmarshal(um Unmarshaler, data []byte)

Types

type Marshaler

type Marshaler interface {
	Marshal() (data []byte, err error)
}

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(data []byte) error
}

Source Files

pbutil.go

Version
v0.5.0-alpha.3
Published
Nov 15, 2014
Platform
darwin/amd64
Imports
1 packages
Last checked
7 minutes ago

Tools for package owners.