package
Version:
v0.0.0-...-7858d57
Opens a new window with list of versions in this module.
Published: Jul 29, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginRequest struct {
Rollno string `json:"rollno"`
Password string `json:"password"`
}
type LoginToken struct {
Name string `json:"name"`
Token string `json:"token"`
}
type RewardPayload struct {
Rollno string `json:"rollno"`
Coins int64 `json:"coins,string"`
}
type TransferPayload struct {
SenderRollno string `json:"sender"`
ReceiverRollno string `json:"receiver"`
Coins int64 `json:"coins,string"`
}
type User struct {
Name string `json:"name"`
Rollno string `json:"rollno"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.