Documentation
¶
Index ¶
- type RandomUser
- type User
- type UserKey
- type UserService
- func (u *UserService) AddUser(cseName string, user User) error
- func (u *UserService) GetRandProfile() RandomUser
- func (u *UserService) GetRandProfileByGender(gender string) RandomUser
- func (u *UserService) GetTweets() []*User
- func (u *UserService) GetUsers(cseName string) []User
- func (u *UserService) IsValidPassword(cseName, username, passwordAttempt string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomUser ¶
type UserService ¶
func NewUserService ¶
func NewUserService() *UserService
func (*UserService) GetRandProfile ¶
func (u *UserService) GetRandProfile() RandomUser
func (*UserService) GetRandProfileByGender ¶
func (u *UserService) GetRandProfileByGender(gender string) RandomUser
func (*UserService) GetTweets ¶
func (u *UserService) GetTweets() []*User
func (*UserService) GetUsers ¶
func (u *UserService) GetUsers(cseName string) []User
func (*UserService) IsValidPassword ¶
func (u *UserService) IsValidPassword(cseName, username, passwordAttempt string) bool
Click to show internal directories.
Click to hide internal directories.