protobuf

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package protobuf provides helpers for working with golang/protobuf types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(val bool) *wrappers.BoolValue

Bool converts a bool to a pointer to a wrappers.BoolValue.

func Duration

func Duration(d time.Duration) *duration.Duration

Duration converts a time.Duration to a pointer to a duration.Duration.

func UInt32

func UInt32(val uint32) *wrappers.UInt32Value

UInt32 converts a uint32 to a pointer to a wrappers.UInt32Value.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL