user

command
v0.0.0-...-0bbac7a Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

user

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

API Desc

V1_User_Add

Add handler

  • URI: /user/v1/user/add

  • REQ-QUERY:

  • REQ-BODY:

    {
    	"name": ""	// {string} 
    }
    
  • RESULT:

V1_User_GetById

获取用户

  • URI: /user/v1/user/get_by_id

  • REQ-QUERY:

    • id={int64}
  • REQ-BODY:

    {}
    
  • RESULT:

    {
    	"name": ""	// {string} 
    }
    
V1_User_Get

Get handler

  • URI: /user/v1/user/get

  • REQ-QUERY:

  • REQ-BODY:

  • RESULT:

    {
    	"name": ""	// {string} 
    }
    

This is a project created by micro gen command.

About Micro Command

Error List

Code Message(输出时 Msg 将会被转为 JSON string)

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