config

package
v0.0.0-...-6d7107a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUsernamePassword

func GetUsernamePassword() (username, password string)

GetUsernamePassword return the cached username and password from the config files

func ReadInstagramObject

func ReadInstagramObject() (*goinsta.Instagram, error)

WriteInstagramObject writes the Instagram object to the configFileDir

func WriteInstagramObject

func WriteInstagramObject(instagramObject *goinsta.Instagram) error

WriteInstagramObject writes the Instagram object to the configFileDir

func WriteUsernamePassword

func WriteUsernamePassword(username, password string) (err error)

WriteUsernamePassword writes the cached username and password to the config file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL