package
Version:
v0.0.0-...-1f25f6a
Opens a new window with list of versions in this module.
Published: Aug 7, 2021
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ok godoc
@Summary Return 200 status Ok
@Tags Healthcheck
@Produce json
@Success 200 {object} Response
@Router /healthcheck [get]
Register godoc
@Summary Return 200 status TxHash
@Tags Register
@Produce json
@Success 200 {object} Response
@Router /register [post]
Reset godoc
@Summary Return 200 status TxHash
@Tags Reset
@Produce json
@Success 200 {object} Response
@Router /reset [post]
type RegisterStruct struct {
Username string `json:"Username"`
Salt string `json:"Salt"`
Verifier string `json:"Verifier"`
Phone int `json:"Phone"`
}
type ResetStruct struct {
Username string `json:"Username"`
Salt string `json:"Salt"`
Verifier string `json:"Verifier"`
Phone int `json:"Phone"`
}
type Response struct {
Status int `json:"status" binding:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.