Discover Packages
github.com/hutaochu/hello-hutao
web
handlers
package
Version:
v0.0.0-...-7b933b0
Opens a new window with list of versions in this module.
Published: Apr 23, 2023
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetPublicKey
@BasePath /
@Summary get public key
@Schemes
@Description get public key from server, use this to encryption
@Tags hello-hutao
@Accept json
@Produce json
@Success 200 {object} res.GetPublicKeyResponse
@Router /public_key [get]
Register 注册
@BasePath /api/v1
@Summary user register
@Tags user
@Accept json
@Produce json
@Param user body services.User true "user info"
@Success 200 {object} services.Hello
@Router /api/v1/user/register [post]
SayHello
@BasePath /api/v1
@Summary get hello
@Schemes
@Description get hello
@Tags hello-hutao
@Accept json
@Produce json
@Param name query string false "name"
@Success 200 {object} services.Hello
@Router /api/v1/hello [get]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.