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: 0

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

Jump to

Keyboard shortcuts

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