payload

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(p *commonpb.Payload, valuePtr interface{}) error

func Encode

func Encode(value interface{}) (*commonpb.Payload, error)

func EncodeBytes

func EncodeBytes(bytes []byte) *commonpb.Payload

func EncodeString

func EncodeString(str string) *commonpb.Payload

func ToString

func ToString(p *commonpb.Payload) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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