grpc

package
v0.0.0-...-77d7c51 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceFromMethod

func ServiceFromMethod(m string) string

ServiceFromMethod returns the service /service.Foo/Bar => service

func ServiceMethod

func ServiceMethod(m string) (string, string, error)

ServiceMethod converts a gRPC method to a Go method Input: Foo.Bar, /Foo/Bar, /package.Foo/Bar, /a.package.Foo/Bar Output: [Foo, Bar]

Types

This section is empty.

Jump to

Keyboard shortcuts

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