Documentation ¶ Index ¶ func MethodReceiver(decl *ast.FuncDecl) string type Processor func (p *Processor) Name() string func (p *Processor) Output() map[string][]byte func (p *Processor) Process(node annotation.Node) error func (p *Processor) Version() string type Rest Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MethodReceiver ¶ func MethodReceiver(decl *ast.FuncDecl) string Types ¶ type Processor ¶ type Processor struct { // contains filtered or unexported fields } func (*Processor) Name ¶ func (p *Processor) Name() string func (*Processor) Output ¶ func (p *Processor) Output() map[string][]byte func (*Processor) Process ¶ func (p *Processor) Process(node annotation.Node) error func (*Processor) Version ¶ func (p *Processor) Version() string type Rest ¶ type Rest struct { Method string `annotation:"name=method,default=GET"` Path string `annotation:"name=path,default=/"` } Source Files ¶ View all Source files annotation.go output.go processor.go Directories ¶ Show internal Expand all Path Synopsis routing Click to show internal directories. Click to hide internal directories.