Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseImplementation ¶
func ParseImplementation(services map[string]interface{}) map[string]ImplementationInfo
ParseImplementation
{package}.{serviceName}:*implementationStruct
func ParseProtoServices ¶
func ParseProtoServices(packageName protoreflect.FullName, enumOptions []protoreflect.ExtensionType, methodOptions []protoreflect.ExtensionType) map[protoreflect.FullName]MethodInfo
ParseProtoServices
package {$packageName} extend google.protobuf.EnumValueOptions []{enumOptions} extend google.protobuf.MethodOptions []{methodOptions}
Types ¶
type ImplementationInfo ¶
type MethodInfo ¶
type MethodInfo struct { Service protoreflect.ServiceDescriptor Method protoreflect.MethodDescriptor //map[scenario]map[options]extensionValue Scenarios map[protoreflect.ExtensionType]map[protoreflect.ExtensionType]interface{} }
Click to show internal directories.
Click to hide internal directories.