parser

package
Version: v0.0.0-...-fa5ba04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Name       string
	Summary    string
	Doc        string
	Params     []Param
	Returns    []Param
	IsExported bool
	WrapFunc   bool
}

Command defines a matr cmd

func Parse

func Parse(file string) ([]Command, error)

Parse parses a matr file to identify the available handlers

type Param

type Param struct {
	Name string
	Type string
}

Param defines a matr HandlerFunc parameter

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL