hooks

package
v0.0.0-...-8c983b4 Latest Latest
Warning

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

Go to latest
Published: May 4, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserProfile

func GetUserProfile(id int, fresh bool) (*models.Profile, error)

Gets user profile by its ID Fresh indicates whether to wait for new data if it's possible CurveFever api is updated at 6AM UTC If in need of the most actual data, use fresh=true otherwise when caring about efficiency use fresh=false

func GetUserProfileByName

func GetUserProfileByName(id string, fresh bool) (*models.Profile, error)

Gets user profile by its unique name Fresh indicates whether to wait for new data if it's possible CurveFever api is updated at 6AM UTC If in need of the most actual data, use fresh=true otherwise when caring about efficiency use fresh=false

Types

This section is empty.

Jump to

Keyboard shortcuts

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