Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MethodOptExt protoreflect.ExtensionType MethodOptIdent protogen.GoIdent MethodOptExtIdent protogen.GoIdent MethodErrDefIdent protogen.GoIdent AdviceIdent protogen.GoIdent }
type Generator ¶
type Generator[MethodOpt MethodOption] struct { // contains filtered or unexported fields }
func NewGenerator ¶
func NewGenerator[MethodOpt MethodOption](conf Config) Generator[MethodOpt]
type MethodOption ¶
type MethodOption interface {
GetMethodErrorDefinitions() []*custom_option.MethodErrorDefinition
}
Click to show internal directories.
Click to hide internal directories.