# Functions
No description provided by the author
NewAlias returns a new Alias.
NewBasic creates a new basic type given its name.
No description provided by the author
NewGeneratedNamed creates a new Named type generated by proteus given its package and name.
NewGenerator creates a new Generator with the given base path.
NewLiteralValue creates a new literal option value.
NewMap creates a new Map type with the key and value types given.
NewNamed creates a new Named type given its package and name.
NewStringValue creates a new string option value.
NewTransformer creates a new transformer instance.
NewTypeSet returns a new, empty TypeSet.
# Variables
No description provided by the author
# Structs
Alias represent a type declaration from one type to another.
Basic is one of the basic types of protobuf.
Enum is the representation of a protobuf enumeration.
EnumValue is a single value in an enumeration.
Field is the representation of a protobuf message field.
Generator is in charge of generating the .proto files and write them to disk in a file at the given path.
LiteralValue is a literal option value like true, false or a number.
Map is a key-value map type.
Message is the representation of a Protobuf message.
Named is a type which has a name and is defined somewhere else, maybe even in another package.
Option name and value pair.
Package represents an unique .proto file with its own package definition.
ProtoType represents a protobuf type.
RPC is a single exposed RPC method in the RPC service.
StringValue is a string option value.
Transformer is in charge of converting scanned Go entities to protobuf entities as well as mapping between Go and Protobuf types.
# Interfaces
OptionValue is the common interface for the value of an option, which can be a literal value (a number, true, etc) or a string value ("foo").
Type is the common interface of all possible types, which are named types, maps and basic types.
# Type aliases
Decorator is run when a type is resolved.
Decorators is a collection of Decorator that simplifies running them all with a given set of options.
Options are the set of options given to a field, message or enum value.
TypeMappings is a mapping between Go types and protobuf types.
TypeSet represents a set of packages and their types.