Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthResponse ¶
type ResoinseData ¶
type User ¶
type User struct { ID int `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` IsClosed bool `json:"is_closed"` AccessClosed bool `json:"can_access_closed"` Online int `json:"online"` }
func GetUserInfo ¶
func GetUserInfo(userID int, user *AuthResponse) (*User, error)
type UserInfoResponse ¶
type UserInfoResponse struct {
Response []User `json:"response"`
}
type UserItem ¶
type UserItem struct { ID int `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` ScreenName string `json:"screen_name"` }
func UserByName ¶
func UserByName(name string, user *AuthResponse) (*UserItem, error)
type UserSearchRequest ¶
type UserSearchRequest struct {
Response ResoinseData `json:"response"`
}
Click to show internal directories.
Click to hide internal directories.