Documentation ¶
Overview ¶
Package insta provides a wrapper over goinsta
Index ¶
- Variables
- func Acc(name string) (*goinsta.Instagram, error)
- func Decrypt(text string) (string, error)
- func Encrypt(text string) (string, error)
- func ExportCached(ig *goinsta.Instagram) ([]byte, error)
- func Import(b []byte) (*goinsta.Instagram, error)
- func Login(username, password, proxy string) (*goinsta.Instagram, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Accounts = map[string]*goinsta.Instagram{}
Accounts is a map of all Instagram accounts currently in use. username => Instagram This is used to reuse instagram connections so an account is only logged in once. TODO implement wrapper funcs and replace Login, etc...
Functions ¶
func Acc ¶
Acc is a wrapper function to return a Instagram Account by name. Automatically logs in the account if not logged and updates respective fields in the Account model.
func ExportCached ¶
ExportCached will export the cached instagram object using the configs AESKey.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.