proto

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package proto implements idl.Spec for Protocol Buffers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadByReflection

func LoadByReflection(client grpcreflection.Client) (idl.Spec, error)

LoadByReflection receives a gRPC reflection client, then tries to instantiate a new idl.Spec by using gRPC reflection.

func LoadFiles

func LoadFiles(importPaths []string, fnames []string) (idl.Spec, error)

LoadFiles receives proto file names and import paths like protoc's options. Then, LoadFiles parses these files and instantiates a new idl.Spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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