Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TableName is the table used to store the data
TableName = "trinacia"
)
Variables ¶
View Source
var ( // ErrorMissingUserID missing user ID ErrorMissingUserID = errors.New("Missing User ID") // ErrorMissingFacebook nil pointer reference to facebook ErrorMissingFacebook = errors.New("Nil pointer reference passed as Facebook entitie") // ErrorMissingFacebookAccessToken missing facebook access token ErrorMissingFacebookAccessToken = errors.New("Missing facebook access token") )
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { StoreFacebook(userID string, f *entities.Facebook) error GetFacebook(userID string) (*entities.Facebook, error) }
Storage interface to get information from database
func NewFacebook ¶
NewFacebook isntanciates a session dynamo session to query information about users' Facebook accounts
Click to show internal directories.
Click to hide internal directories.