package pbutil
import "go.etcd.io/etcd/pkg/v3/pbutil"
Package pbutil defines interfaces for handling Protocol Buffer objects.
Index ¶
- func Boolp(b bool) *bool
- func GetBool(v *bool) (vv bool, set bool)
- func MaybeUnmarshal(um Unmarshaler, data []byte) bool
- func MustMarshal(m Marshaler) []byte
- func MustUnmarshal(um Unmarshaler, data []byte)
- type Marshaler
- type Unmarshaler
Functions ¶
func Boolp ¶
func GetBool ¶
func MaybeUnmarshal ¶
func MaybeUnmarshal(um Unmarshaler, data []byte) bool
func MustMarshal ¶
func MustUnmarshal ¶
func MustUnmarshal(um Unmarshaler, data []byte)
Types ¶
type Marshaler ¶
type Unmarshaler ¶
Source Files ¶
pbutil.go
- Version
- v3.5.18 (latest)
- Published
- Jan 24, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 6 days ago –
Tools for package owners.