project

command
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

project

Command project is the tp-micro service project.
The framework reference: https://github.com/xiaoenai/tp-micro

API Desc

Stat

Stat handler

  • URI: /project/stat

  • REQ-QUERY:

    • ts={int64} // timestamps
  • REQ-BODY:

    {}
    
  • RESULT:

Home

Home handler

  • URI: /project/home

  • REQ-QUERY:

  • REQ-BODY:

  • RESULT:

    {
    	"content": ""	// {string} // text
    }
    
Math_Divide

Divide handler

  • URI: /project/math/divide

  • REQ-QUERY:

  • REQ-BODY:

    {
    	"a": -0.000000,	// {float64} // dividend
    	"b": -0.000000	// {float64} // divisor
    }
    
  • RESULT:

    {
    	"c": -0.000000	// {float64} // quotient
    }
    

This is a project created by micro gen command.

About Micro Command

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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