matic

command module
v0.0.0-...-dbfed22 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2014 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

matic

Autogenerate clients for web-apps

spec
user workflow
  • user needs to write server code
  • user needs to compile client
  • user needs to compile api blueprint
server
  • server needs to use middleware-server package
  • middleware needs to use context responders
compiling workflow
  • index registered routes
  • index middlewares for each route
  • index responders for each middleware
  • index expected payload for each middleware
  • index expected url query params for each middleware
  • create client method for each route
client requirements
  • client needs to be configured with http client

  • client needs to be configured with global headers

  • client needs to be configured with global url query params

  • client methods need to return error

  • client methods need to return http status code

  • client methods need to return http response body as string

  • client methods need to return http response body as read closer

usage
$ make
$ clean
$ test
$ make build-fixture
$ make clean-fixture

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fixture
simple command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址