util

package
v2.10.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriptorKebabName

func DescriptorKebabName(descriptor protoreflect.Descriptor) string

DescriptorKebabName returns the name of the descriptor in kebab case.

func IsSupportedVersion

func IsSupportedVersion(methodDesc protoreflect.MethodDescriptor) bool

IsSupportedVersion is used to determine in which version of a module / sdk a rpc was introduced. It returns false if the rpc has comment for an higher version than the current one. It returns true if the method descriptor contains no annotation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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