Documentation
¶
Index ¶
- func NewClient(baseURL string) (om.SocialGraphManager, error)
- type EndpointSet
- func (s EndpointSet) Follow(followed string, follower string) (err error)
- func (s EndpointSet) GetFollowers(username string) (following map[string]bool, err error)
- func (s EndpointSet) GetFollowing(username string) (following map[string]bool, err error)
- func (s EndpointSet) Unfollow(followed string, follower string) (err error)
- type FollowRequest
- type GetFollowersResponse
- type SimpleResponse
- type UnfollowRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointSet ¶
type EndpointSet struct {
FollowEndpoint endpoint.Endpoint
UnfollowEndpoint endpoint.Endpoint
GetFollowingEndpoint endpoint.Endpoint
GetFollowersEndpoint endpoint.Endpoint
}
func (EndpointSet) Follow ¶
func (s EndpointSet) Follow(followed string, follower string) (err error)
func (EndpointSet) GetFollowers ¶
func (s EndpointSet) GetFollowers(username string) (following map[string]bool, err error)
func (EndpointSet) GetFollowing ¶
func (s EndpointSet) GetFollowing(username string) (following map[string]bool, err error)
type FollowRequest ¶
type GetFollowersResponse ¶
type SimpleResponse ¶
type SimpleResponse struct {
Err string
}
type UnfollowRequest ¶
Click to show internal directories.
Click to hide internal directories.