protoprovider

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(importPaths string, protoFiles []string) error

Init ...

Types

type ProtoMethod

type ProtoMethod struct {
	Request  *dynamic.Message
	Response *dynamic.Message
}

ProtoMethod represents method of grpc

func GetProtoByPath

func GetProtoByPath(path string) (*ProtoMethod, bool)

GetProtoByPath return ProtoMethod by path

Jump to

Keyboard shortcuts

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