Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequiredFieldNotPresent = errors.New("required field not present")
)
Functions ¶
func RegisterSchema ¶
Types ¶
type Alert ¶
type Alert struct { Model AlertID string `json:"alert_id"` // AlertID is the unique identifier for an alert Email string `json:"email"` // Email is the email address of the user who created the alert TriggerMail bool `json:"trigger_mail"` // TriggerMail is a boolean value that determines if the user wants to receive an email notification when the alert is triggered AlertValue float64 `json:"alert_value"` // AlertValue is the value that the user wants to be alerted when the price of the coin reaches Status string `json:"status"` // Status is the status of the alert. It can be either active or inactive }
func (*Alert) GetByOffset ¶
type Cache ¶
type Coins ¶
Click to show internal directories.
Click to hide internal directories.