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
v2.0.0-rc.1+incompatible
Published
Dec 18, 2014
Platform
js/wasm
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.