package
0.0.0-20230222200512-d6c28268058a
Repository: https://github.com/scrtlabs/protoc-gen-grpc-gateway-ts.git
Documentation: pkg.go.dev

# Functions

GetModuleName returns module name = package name + file name to be the unique identifier for source file in a ts file.
GetTSFileName gets the typescript filename out of the proto file name.
NewEnum creates an enum instance.
NewFile returns an initialised new file.
NewMessage initialises and return a Message.
NewService returns an initialised service.

# Structs

Dependency stores the information about dependencies.
Enum is the data out to render Enums in a file Enums that nested inside messages will be pulled out to the top level Because the way it works in typescript.
Field stores the information about a field inside message.
File store the information about rendering a file.
MapEntryType is the generic entry type for both key and value.
Message stores the rendering information about message.
Method represents the rpc calls in protobuf service.
MethodArgument stores the type information about method argument.
NestedEnum stores the information of enums defined inside a message.
Service is the data representation of Service in proto.
TypeInfo stores some common type information for rendering.

# Interfaces

Type is an interface to get type out of field and method arguments.

# Type aliases

Services is an alias of Service array.