Versions in this module Expand all Collapse all v1 v1.1.0 Jul 20, 2019 Changes in this version + const Version + func GetAuthorizeURL(origin string, cid string, state string) (string, error) + func GetToken(origin string, cid string, cs string, state string, code string) (string, error) + type Client struct + AccessToken string + ClientID string + ClientSecret string + HTTPClient *http.Client + Origin string + func NewClient(origin string, clientID string, clientSecret string, accessToken string) *Client + func (c *Client) CreatePost(text string) (int, error) + func (c *Client) Get(path string) ([]byte, error) + func (c *Client) GetTimeline(key string, options ...ValueOption) (*[]entity.Post, error) + func (c *Client) Patch(path string, bodyToJSON interface{}) ([]byte, error) + func (c *Client) Post(path string, bodyToJSON interface{}) ([]byte, error) + type ValueOption func(c *url.Values) + func Limit(l int) ValueOption + func MaxID(mid int) ValueOption + func SinceID(sid int) ValueOption