Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppLigilo = "com.ligilo" AppJurnalo = "com.jurnalo" )
View Source
const (
RegexHttpUrl = "https?://(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)"
)
View Source
const (
RegexShortLinkToken = "[\\w\\-]{4,64}"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateShortLink ¶ added in v0.4.0
type DeleteShortLink ¶ added in v0.4.0
type DeleteShortLink struct {
Token string `json:"token"`
}
type SendNotification ¶
type SendNotification struct {
Message string `json:"message"`
}
type UpdateShortLink ¶ added in v0.4.0
type ValidateShortLinkToken ¶ added in v0.8.0
type ValidateShortLinkToken struct {
Token string `json:"token"`
}
type ValidateShortLinkUrl ¶ added in v0.8.0
type ValidateShortLinkUrl struct {
Url string `json:"url"`
}
type ValidationResult ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.