package
Version:
v0.0.0-...-1a43062
Opens a new window with list of versions in this module.
Published: Mar 22, 2023
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 AccrualAnswer struct {
OrderNumber string `json:"order"`
Status string `json:"status"`
Accrual float64 `json:"accrual"`
}
type Balance struct {
Balance float64 `json:"current"`
Summ float64 `json:"withdrawn"`
}
type Claims struct {
Login string `json:"login"`
jwt.RegisteredClaims
}
type LoginResponse struct {
Authtoken string `json:"auth_token"`
}
type OrderLogResponse struct {
OrderNumber string `json:"order"`
Sum float64 `json:"sum"`
ProcessedAt string `json:"processed_at"`
}
type OrderResponse struct {
Number string `json:"number"`
Status string `json:"status"`
Accrual float64 `json:"accrual,omitempty"`
UploadedAt string `json:"uploaded_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.