# Packages
Svcparse, which stands for "service parser" will parse the 'service' declarations within a provided protobuf and associate comments within that file with the various components of the service.
# Functions
New creates a Svcdef by parsing the provided Go and Protobuf source files to derive type information, gRPC service data, and HTTP annotations.
No description provided by the author
NewField returns a Field struct with information distilled from an *ast.Field.
NewFromString creates a Svcdef from a string of a valid protobuf file.
No description provided by the author
NewMap returns a new Map struct derived from an ast.Expr interface implemented by an *ast.MapType struct.
NewMessage returns a new Message struct derived from an *ast.TypeSpec with a Type of *ast.StructType.
NewService returns a new Service struct derived from an *ast.TypeSpec with a Type of *ast.InterfaceType representing an "{SVCNAME}Server" interface.
NewServiceMethod returns a new ServiceMethod derived from a method of a Service interface.
# Structs
DebugInfo contains context necessary for many functions to provide useful debugging output when encountering errors.
No description provided by the author
Field represents a field on a protobuf message.
FieldType contains information about the type of one Field on a message, such as if that Field is a slice or if it's a pointer, as well as a reference to the definition of the type of this Field.
HTTPBinding represents one of potentially several bindings from a gRPC service method to a particuar HTTP path/verb.
HTTPParameter represents the location of one field for a given HTTPBinding.
LocationError is a special kind of error, carrying special information about where the error was encountered within a file.
No description provided by the author
Message represents a protobuf Message, though greatly simplified.
No description provided by the author
No description provided by the author
Svcdef is the top-level struct for the definition of a service.