Documentation
¶
Overview ¶
package urleap
Index ¶
- type Bitly
- func (bitly *Bitly) Delete(config *Config, shortenURL string) error
- func (bitly *Bitly) Groups(config *Config) ([]*Group, error)
- func (bitly *Bitly) List(config *Config) ([]*ShortenUrl, error)
- func (bitly *Bitly) QRCode(config *Config, shortenURL string) ([]byte, error)
- func (bitly *Bitly) Shorten(config *Config, url string) (*ShortenUrl, error)
- type Config
- type Group
- type Mode
- type ShortenUrl
- type URLShortener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShortenUrl ¶
type ShortenUrl struct {
Shorten string `json:"link"`
Original string `json:"long_url"`
IsDeleted bool `json:"is_deleted"`
Group string
}
func (*ShortenUrl) String ¶
func (surl *ShortenUrl) String() string
Click to show internal directories.
Click to hide internal directories.
