protoc

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proto

type Proto struct{}

func (*Proto) Decode

func (*Proto) Decode(b []byte, rsp proto.Message) error

func (*Proto) Encode

func (p *Proto) Encode(req proto.Message) ([]byte, error)

func (*Proto) MustDecode added in v1.0.9

func (*Proto) MustDecode(b []byte, rsp proto.Message)

func (*Proto) MustEncode added in v1.0.9

func (p *Proto) MustEncode(req proto.Message) []byte

func (*Proto) MustEncodeString added in v1.0.9

func (p *Proto) MustEncodeString(req proto.Message) string

func (*Proto) Name added in v1.0.6

func (*Proto) Name() string

Jump to

Keyboard shortcuts

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