Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Options Generator pluginutils.GenerateOptions *pluginutils.TSRegistry }
func (*Generator) ApplyTemplate ¶
func (*Generator) TSProto_EnumToJSONFuncName ¶
func (g *Generator) TSProto_EnumToJSONFuncName(enum protoreflect.EnumDescriptor) string
type Options ¶
type Options struct { pluginutils.TSOption // UseStaticClasses will cause the generator to generate a static class in the form ServiceName.MethodName, which is // the legacy behavior for this generator. If set to false, the generator will generate a client class with methods // as well as static methods exported for each service method. UseStaticClasses bool // FetchModuleDirectory is the parameter for directory where fetch module will live FetchModuleDirectory string // FetchModuleFilename is the file name for the individual fetch module FetchModuleFilename string }
Click to show internal directories.
Click to hide internal directories.