Documentation ¶
Overview ¶
Package generator provides nanorpc generators
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is a proto generator for NanoRPC
func NewGenerator ¶
NewGenerator assembles a nanorpc protoc generator
func (*Generator) T ¶
T find a template, combines it with given data, and renders it onto the given Writer
func (*Generator) WithTemplates ¶
WithTemplates loads embedded templates/**.gotmpl into an existing template.Template
Click to show internal directories.
Click to hide internal directories.