parsesvcname

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package parsesvcname will parse the service name of a protobuf package. The name returned will always be camelcased according to the conventions outlined in github.com/gogo/protobuf/protoc-gen-gogo/generator.CamelCase.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPaths

func FromPaths(gopath []string, protoDefPaths []string) (string, error)

FromPaths accepts the paths of protobuf definition files and returns the name of the service in that protobuf definition file.

func FromReaders

func FromReaders(gopath []string, protoDefReaders []io.Reader) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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