Documentation
¶
Index ¶
- Constants
- type AppleMapsPayload
- type AppleMusicTrackPayload
- type BasePayload
- type CalendarPayload
- type CryptoPayload
- type EmailPayload
- type EventPayload
- type FacebookPayload
- type GeoPayload
- type GoogleMapsDirectionsPayload
- type GoogleMapsPayload
- type GoogleMapsPlacePayload
- type IBeaconPayload
- type InstagramPayload
- type LinkedInPayload
- type MMSPayload
- type MarketPayload
- type MeCardPayload
- type NTPLocalePayload
- type PIDPayload
- type PayPalPayload
- type Payload
- type PhonePayload
- type SMSPayload
- type SpotifyPlaylistPayload
- type SpotifyTrackPayload
- type TelegramPayload
- type TextPayload
- type TwitterFollowPayload
- type TwitterPayload
- type URLPayload
- type VCardPayload
- type WhatsAppPayload
- type WiFiPayload
- type YouTubeChannelPayload
- type YouTubeVideoPayload
- type ZoomPayload
Constants ¶
View Source
const ( CryptoBTC = "BTC" CryptoETH = "ETH" CryptoLTC = "LTC" )
View Source
const ( TravelModeDriving = "driving" TravelModeWalking = "walking" TravelModeBicycling = "bicycling" TravelModeTransit = "transit" )
View Source
const ( MarketGooglePlay = "google" MarketAppleApp = "apple" )
View Source
const ( EncryptionWEP = "WEP" EncryptionWPA = "WPA" EncryptionWPA2 = "WPA2" EncryptionWPA3 = "WPA3" EncryptionSAE = "SAE" EncryptionNoPass = "nopass" )
View Source
const DefaultPayPalCurrency = "USD"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppleMapsPayload ¶
func (*AppleMapsPayload) Encode ¶
func (a *AppleMapsPayload) Encode() (string, error)
func (*AppleMapsPayload) Size ¶
func (a *AppleMapsPayload) Size() int
func (*AppleMapsPayload) Type ¶
func (*AppleMapsPayload) Type() string
func (*AppleMapsPayload) Validate ¶
func (a *AppleMapsPayload) Validate() error
type AppleMusicTrackPayload ¶
func (*AppleMusicTrackPayload) Encode ¶
func (a *AppleMusicTrackPayload) Encode() (string, error)
func (*AppleMusicTrackPayload) Size ¶
func (a *AppleMusicTrackPayload) Size() int
func (*AppleMusicTrackPayload) Type ¶
func (*AppleMusicTrackPayload) Type() string
func (*AppleMusicTrackPayload) Validate ¶
func (a *AppleMusicTrackPayload) Validate() error
type BasePayload ¶
type BasePayload struct{}
func (*BasePayload) Size ¶
func (*BasePayload) Size() int
func (*BasePayload) Type ¶
func (*BasePayload) Type() string
type CalendarPayload ¶
type CalendarPayload struct {
Title string
Description string
Location string
Start time.Time
End time.Time
AllDay bool
}
func (*CalendarPayload) Encode ¶
func (c *CalendarPayload) Encode() (string, error)
func (*CalendarPayload) Size ¶
func (c *CalendarPayload) Size() int
func (*CalendarPayload) Type ¶
func (*CalendarPayload) Type() string
func (*CalendarPayload) Validate ¶
func (c *CalendarPayload) Validate() error
type CryptoPayload ¶
type CryptoPayload struct {
Address string
Amount string
Label string
Message string
CryptoType string
}
func (*CryptoPayload) Encode ¶
func (c *CryptoPayload) Encode() (string, error)
func (*CryptoPayload) Size ¶
func (c *CryptoPayload) Size() int
func (*CryptoPayload) Type ¶
func (*CryptoPayload) Type() string
func (*CryptoPayload) Validate ¶
func (c *CryptoPayload) Validate() error
type EmailPayload ¶
func (*EmailPayload) Encode ¶
func (e *EmailPayload) Encode() (string, error)
func (*EmailPayload) Size ¶
func (e *EmailPayload) Size() int
func (*EmailPayload) Type ¶
func (*EmailPayload) Type() string
func (*EmailPayload) Validate ¶
func (e *EmailPayload) Validate() error
type EventPayload ¶
type EventPayload struct {
EventID string
EventName string
Venue string
StartTime time.Time
Category string
Seat string
Organizer string
Description string
URL string
}
func (*EventPayload) Encode ¶
func (e *EventPayload) Encode() (string, error)
func (*EventPayload) Size ¶
func (e *EventPayload) Size() int
func (*EventPayload) Type ¶
func (*EventPayload) Type() string
func (*EventPayload) Validate ¶
func (e *EventPayload) Validate() error
type FacebookPayload ¶
type FacebookPayload struct {
PageURL string
}
func (*FacebookPayload) Encode ¶
func (f *FacebookPayload) Encode() (string, error)
func (*FacebookPayload) Size ¶
func (f *FacebookPayload) Size() int
func (*FacebookPayload) Type ¶
func (*FacebookPayload) Type() string
func (*FacebookPayload) Validate ¶
func (f *FacebookPayload) Validate() error
type GeoPayload ¶
func (*GeoPayload) Encode ¶
func (g *GeoPayload) Encode() (string, error)
func (*GeoPayload) Size ¶
func (g *GeoPayload) Size() int
func (*GeoPayload) Type ¶
func (*GeoPayload) Type() string
func (*GeoPayload) Validate ¶
func (g *GeoPayload) Validate() error
type GoogleMapsDirectionsPayload ¶
func (*GoogleMapsDirectionsPayload) Encode ¶
func (g *GoogleMapsDirectionsPayload) Encode() (string, error)
func (*GoogleMapsDirectionsPayload) Size ¶
func (g *GoogleMapsDirectionsPayload) Size() int
func (*GoogleMapsDirectionsPayload) Type ¶
func (*GoogleMapsDirectionsPayload) Type() string
func (*GoogleMapsDirectionsPayload) Validate ¶
func (g *GoogleMapsDirectionsPayload) Validate() error
type GoogleMapsPayload ¶
func (*GoogleMapsPayload) Encode ¶
func (g *GoogleMapsPayload) Encode() (string, error)
func (*GoogleMapsPayload) Size ¶
func (g *GoogleMapsPayload) Size() int
func (*GoogleMapsPayload) Type ¶
func (*GoogleMapsPayload) Type() string
func (*GoogleMapsPayload) Validate ¶
func (g *GoogleMapsPayload) Validate() error
type GoogleMapsPlacePayload ¶
type GoogleMapsPlacePayload struct {
PlaceName string
}
func (*GoogleMapsPlacePayload) Encode ¶
func (g *GoogleMapsPlacePayload) Encode() (string, error)
func (*GoogleMapsPlacePayload) Size ¶
func (g *GoogleMapsPlacePayload) Size() int
func (*GoogleMapsPlacePayload) Type ¶
func (*GoogleMapsPlacePayload) Type() string
func (*GoogleMapsPlacePayload) Validate ¶
func (g *GoogleMapsPlacePayload) Validate() error
type IBeaconPayload ¶
func (*IBeaconPayload) Encode ¶
func (ib *IBeaconPayload) Encode() (string, error)
func (*IBeaconPayload) Size ¶
func (ib *IBeaconPayload) Size() int
func (*IBeaconPayload) Type ¶
func (*IBeaconPayload) Type() string
func (*IBeaconPayload) Validate ¶
func (ib *IBeaconPayload) Validate() error
type InstagramPayload ¶
type InstagramPayload struct {
Username string
}
func (*InstagramPayload) Encode ¶
func (i *InstagramPayload) Encode() (string, error)
func (*InstagramPayload) Size ¶
func (i *InstagramPayload) Size() int
func (*InstagramPayload) Type ¶
func (*InstagramPayload) Type() string
func (*InstagramPayload) Validate ¶
func (i *InstagramPayload) Validate() error
type LinkedInPayload ¶
type LinkedInPayload struct {
ProfileURL string
}
func (*LinkedInPayload) Encode ¶
func (l *LinkedInPayload) Encode() (string, error)
func (*LinkedInPayload) Size ¶
func (l *LinkedInPayload) Size() int
func (*LinkedInPayload) Type ¶
func (*LinkedInPayload) Type() string
func (*LinkedInPayload) Validate ¶
func (l *LinkedInPayload) Validate() error
type MMSPayload ¶
func (*MMSPayload) Encode ¶
func (m *MMSPayload) Encode() (string, error)
func (*MMSPayload) Size ¶
func (m *MMSPayload) Size() int
func (*MMSPayload) Type ¶
func (*MMSPayload) Type() string
func (*MMSPayload) Validate ¶
func (m *MMSPayload) Validate() error
type MarketPayload ¶
func (*MarketPayload) Encode ¶
func (m *MarketPayload) Encode() (string, error)
func (*MarketPayload) Size ¶
func (m *MarketPayload) Size() int
func (*MarketPayload) Type ¶
func (*MarketPayload) Type() string
func (*MarketPayload) Validate ¶
func (m *MarketPayload) Validate() error
type MeCardPayload ¶
type MeCardPayload struct {
Name string
Phone string
Email string
URL string
Birthday string
Note string
Address string
Nickname string
}
func (*MeCardPayload) Encode ¶
func (m *MeCardPayload) Encode() (string, error)
func (*MeCardPayload) Size ¶
func (m *MeCardPayload) Size() int
func (*MeCardPayload) Type ¶
func (*MeCardPayload) Type() string
func (*MeCardPayload) Validate ¶
func (m *MeCardPayload) Validate() error
type NTPLocalePayload ¶
func (*NTPLocalePayload) Encode ¶
func (n *NTPLocalePayload) Encode() (string, error)
func (*NTPLocalePayload) Size ¶
func (n *NTPLocalePayload) Size() int
func (*NTPLocalePayload) String ¶
func (n *NTPLocalePayload) String() string
func (*NTPLocalePayload) Type ¶
func (*NTPLocalePayload) Type() string
func (*NTPLocalePayload) Validate ¶
func (n *NTPLocalePayload) Validate() error
type PIDPayload ¶
type PIDPayload struct {
PIDType string
CreditorName string
IBAN string
Reference string
Amount string
Currency string
DebtorName string
RemittanceInfo string
}
func (*PIDPayload) Encode ¶
func (p *PIDPayload) Encode() (string, error)
func (*PIDPayload) Size ¶
func (p *PIDPayload) Size() int
func (*PIDPayload) Type ¶
func (*PIDPayload) Type() string
func (*PIDPayload) Validate ¶
func (p *PIDPayload) Validate() error
type PayPalPayload ¶
func (*PayPalPayload) Encode ¶
func (p *PayPalPayload) Encode() (string, error)
func (*PayPalPayload) Size ¶
func (p *PayPalPayload) Size() int
func (*PayPalPayload) Type ¶
func (*PayPalPayload) Type() string
func (*PayPalPayload) Validate ¶
func (p *PayPalPayload) Validate() error
type PhonePayload ¶
type PhonePayload struct {
Number string
}
func (*PhonePayload) Encode ¶
func (p *PhonePayload) Encode() (string, error)
func (*PhonePayload) Size ¶
func (p *PhonePayload) Size() int
func (*PhonePayload) Type ¶
func (*PhonePayload) Type() string
func (*PhonePayload) Validate ¶
func (p *PhonePayload) Validate() error
type SMSPayload ¶
func (*SMSPayload) Encode ¶
func (s *SMSPayload) Encode() (string, error)
func (*SMSPayload) Size ¶
func (s *SMSPayload) Size() int
func (*SMSPayload) Type ¶
func (*SMSPayload) Type() string
func (*SMSPayload) Validate ¶
func (s *SMSPayload) Validate() error
type SpotifyPlaylistPayload ¶
type SpotifyPlaylistPayload struct {
PlaylistID string
}
func (*SpotifyPlaylistPayload) Encode ¶
func (s *SpotifyPlaylistPayload) Encode() (string, error)
func (*SpotifyPlaylistPayload) Size ¶
func (s *SpotifyPlaylistPayload) Size() int
func (*SpotifyPlaylistPayload) Type ¶
func (*SpotifyPlaylistPayload) Type() string
func (*SpotifyPlaylistPayload) Validate ¶
func (s *SpotifyPlaylistPayload) Validate() error
type SpotifyTrackPayload ¶
type SpotifyTrackPayload struct {
TrackID string
}
func (*SpotifyTrackPayload) Encode ¶
func (s *SpotifyTrackPayload) Encode() (string, error)
func (*SpotifyTrackPayload) Size ¶
func (s *SpotifyTrackPayload) Size() int
func (*SpotifyTrackPayload) Type ¶
func (*SpotifyTrackPayload) Type() string
func (*SpotifyTrackPayload) Validate ¶
func (s *SpotifyTrackPayload) Validate() error
type TelegramPayload ¶
type TelegramPayload struct {
Username string
}
func (*TelegramPayload) Encode ¶
func (t *TelegramPayload) Encode() (string, error)
func (*TelegramPayload) Size ¶
func (t *TelegramPayload) Size() int
func (*TelegramPayload) Type ¶
func (*TelegramPayload) Type() string
func (*TelegramPayload) Validate ¶
func (t *TelegramPayload) Validate() error
type TextPayload ¶
type TextPayload struct {
Text string
}
func (*TextPayload) Encode ¶
func (t *TextPayload) Encode() (string, error)
func (*TextPayload) Size ¶
func (t *TextPayload) Size() int
func (*TextPayload) Type ¶
func (*TextPayload) Type() string
func (*TextPayload) Validate ¶
func (t *TextPayload) Validate() error
type TwitterFollowPayload ¶
type TwitterFollowPayload struct {
ScreenName string
}
func (*TwitterFollowPayload) Encode ¶
func (t *TwitterFollowPayload) Encode() (string, error)
func (*TwitterFollowPayload) Size ¶
func (t *TwitterFollowPayload) Size() int
func (*TwitterFollowPayload) Type ¶
func (*TwitterFollowPayload) Type() string
func (*TwitterFollowPayload) Validate ¶
func (t *TwitterFollowPayload) Validate() error
type TwitterPayload ¶
type TwitterPayload struct {
Username string
}
func (*TwitterPayload) Encode ¶
func (t *TwitterPayload) Encode() (string, error)
func (*TwitterPayload) Size ¶
func (t *TwitterPayload) Size() int
func (*TwitterPayload) Type ¶
func (*TwitterPayload) Type() string
func (*TwitterPayload) Validate ¶
func (t *TwitterPayload) Validate() error
type URLPayload ¶
func (*URLPayload) Encode ¶
func (u *URLPayload) Encode() (string, error)
func (*URLPayload) Size ¶
func (u *URLPayload) Size() int
func (*URLPayload) Type ¶
func (*URLPayload) Type() string
func (*URLPayload) Validate ¶
func (u *URLPayload) Validate() error
type VCardPayload ¶
type VCardPayload struct {
Version string
FirstName string
LastName string
Phone string
Email string
Organization string
Title string
URL string
Address string
Note string
}
func (*VCardPayload) Encode ¶
func (v *VCardPayload) Encode() (string, error)
func (*VCardPayload) Size ¶
func (v *VCardPayload) Size() int
func (*VCardPayload) Type ¶
func (*VCardPayload) Type() string
func (*VCardPayload) Validate ¶
func (v *VCardPayload) Validate() error
type WhatsAppPayload ¶
func (*WhatsAppPayload) Encode ¶
func (w *WhatsAppPayload) Encode() (string, error)
func (*WhatsAppPayload) Size ¶
func (w *WhatsAppPayload) Size() int
func (*WhatsAppPayload) Type ¶
func (*WhatsAppPayload) Type() string
func (*WhatsAppPayload) Validate ¶
func (w *WhatsAppPayload) Validate() error
type WiFiPayload ¶
func (*WiFiPayload) Encode ¶
func (w *WiFiPayload) Encode() (string, error)
func (*WiFiPayload) Size ¶
func (w *WiFiPayload) Size() int
func (*WiFiPayload) Type ¶
func (*WiFiPayload) Type() string
func (*WiFiPayload) Validate ¶
func (w *WiFiPayload) Validate() error
type YouTubeChannelPayload ¶
type YouTubeChannelPayload struct {
ChannelID string
}
func (*YouTubeChannelPayload) Encode ¶
func (y *YouTubeChannelPayload) Encode() (string, error)
func (*YouTubeChannelPayload) Size ¶
func (y *YouTubeChannelPayload) Size() int
func (*YouTubeChannelPayload) Type ¶
func (*YouTubeChannelPayload) Type() string
func (*YouTubeChannelPayload) Validate ¶
func (y *YouTubeChannelPayload) Validate() error
type YouTubeVideoPayload ¶
type YouTubeVideoPayload struct {
VideoID string
}
func (*YouTubeVideoPayload) Encode ¶
func (y *YouTubeVideoPayload) Encode() (string, error)
func (*YouTubeVideoPayload) Size ¶
func (y *YouTubeVideoPayload) Size() int
func (*YouTubeVideoPayload) Type ¶
func (*YouTubeVideoPayload) Type() string
func (*YouTubeVideoPayload) Validate ¶
func (y *YouTubeVideoPayload) Validate() error
type ZoomPayload ¶
func (*ZoomPayload) Encode ¶
func (z *ZoomPayload) Encode() (string, error)
func (*ZoomPayload) Size ¶
func (z *ZoomPayload) Size() int
func (*ZoomPayload) Type ¶
func (*ZoomPayload) Type() string
func (*ZoomPayload) Validate ¶
func (z *ZoomPayload) Validate() error
Click to show internal directories.
Click to hide internal directories.