Documentation ¶
Index ¶
- type Client
- func (c Client) AllShortlinks() ([]shortlinks.Shortlink, error)
- func (c Client) CreateShortlink(s shortlinks.Shortlink) error
- func (c Client) DeleteShortlink(from, who string) error
- func (c Client) DeletedShortlinks() ([]shortlinks.Shortlink, error)
- func (c Client) History(from string) ([]shortlinks.History, error)
- func (c Client) InsertHistory(h shortlinks.History) error
- func (c Client) Shortlink(from string) (shortlinks.Shortlink, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) AllShortlinks ¶
func (c Client) AllShortlinks() ([]shortlinks.Shortlink, error)
func (Client) CreateShortlink ¶
func (c Client) CreateShortlink(s shortlinks.Shortlink) error
func (Client) DeleteShortlink ¶
func (Client) DeletedShortlinks ¶
func (c Client) DeletedShortlinks() ([]shortlinks.Shortlink, error)
func (Client) InsertHistory ¶
func (c Client) InsertHistory(h shortlinks.History) error
Click to show internal directories.
Click to hide internal directories.