Documentation ¶
Index ¶
- Variables
- func ChangeInfo(ctx context.Context, db *database.Db, access string, ...) (err error)
- func GetFollows(ctx context.Context, db *database.Db, access string, offset, limit int) (follows []string, err error)
- func GetPublicInfo(ctx context.Context, db *database.Db, id string) (info user.PublicInfo, err error)
- func LoginDefault(ctx context.Context, db *database.Db, params user.LoginDefaultParams) (sess session.Session, err error)
- func LoginGoogle(ctx context.Context, db *database.Db, credentials string) (sess session.Session, err error)
- func RegisterDefault(ctx context.Context, db *database.Db, params user.RegisterDefaultParams) (sess session.Session, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInexistentAccount = errors.New("requested account does not exists") ErrPasswordsDontMatch = errors.New("passwords do not match") )
View Source
var (
ErrExistentAccount = errors.New("the requested account already exists")
)
View Source
var (
ErrInvalidJwt = errors.New("invalid jwt")
)
View Source
var ErrNotDefaultAccount = errors.New("not a default account")
Functions ¶
func ChangeInfo ¶
func GetFollows ¶
func GetPublicInfo ¶
func LoginDefault ¶
func LoginGoogle ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.