etcd: go.etcd.io/etcd/pkg/pbutil Index | Files

package pbutil

import "go.etcd.io/etcd/pkg/pbutil"

Package pbutil defines interfaces for handling Protocol Buffer objects.

Index

Package Files

pbutil.go

func Boolp Uses

func Boolp(b bool) *bool

func GetBool Uses

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

func MaybeUnmarshal Uses

func MaybeUnmarshal(um Unmarshaler, data []byte) bool

func MustMarshal Uses

func MustMarshal(m Marshaler) []byte

func MustUnmarshal Uses

func MustUnmarshal(um Unmarshaler, data []byte)

type Marshaler Uses

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

type Unmarshaler Uses

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

Package pbutil imports 1 packages (graph) and is imported by 55 packages. Updated 2018-08-29. Refresh now. Tools for package owners.