Documentation
¶
Index ¶
- Variables
- func ApplyRoutes(r *gin.RouterGroup)
- func CheckSignAptos(signature string, challangeId string, message string, pubKey string) (string, bool, error)
- func CheckSignEthereum(signature string, flowId string, message string) (string, bool, error)
- func CheckSignSolana(signature string, challangeId string, message string, pubKey string) (string, bool, error)
- func CheckSignSui(signature string, challangeId string) (string, bool, error)
- type AuthenticatePayload
- type AuthenticateRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChallengeIdNotFound = errors.New("challenge id not found")
Functions ¶
func CheckSignAptos ¶
func CheckSignEthereum ¶
func CheckSignSolana ¶
Types ¶
type AuthenticatePayload ¶
type AuthenticatePayload struct { Status int64 `json:"status"` Success bool `json:"success"` Message string `json:"message"` Token string `json:"token"` }
func ErrAuthenticate ¶
func ErrAuthenticate(errvalue string) AuthenticatePayload
Click to show internal directories.
Click to hide internal directories.