package pbutil

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

Index

Functions

func Boolp

func Boolp(b bool) *bool

func GetBool

func GetBool(v *bool) (vv bool, set bool)

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.2+incompatible
Published
Feb 12, 2015
Platform
js/wasm
Imports
1 packages
Last checked
8 minutes ago

Tools for package owners.