Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2018 Changes in this version + const CONSUMER_KEY_PARAM + const HTTP_AUTH_HEADER + const NONCE_PARAM + const OAUTH_HEADER + const OAUTH_VERSION + const SIGNATURE_METHOD_HMAC + const SIGNATURE_METHOD_PARAM + const SIGNATURE_PARAM + const TIMESTAMP_PARAM + const TOKEN_PARAM + const TOKEN_SECRET_PARAM + const VERSION_PARAM + var HASH_METHOD_MAP = map[crypto.Hash]string + type ByValue []string + func (a ByValue) Len() int + func (a ByValue) Less(i, j int) bool + func (a ByValue) Swap(i, j int) + type Consumer struct + AdditionalParams map[string]string + func NewConsumer(consumerKey string, consumerSecret string, requestMethod string, ...) *Consumer + func (c *Consumer) Debug(enabled bool) + func (c *Consumer) GetRequest() (string, io.Reader, error) + type HMACSigner struct + func (s *HMACSigner) Debug(enabled bool) + func (s *HMACSigner) HashFunc() crypto.Hash + func (s *HMACSigner) Sign(message string) (string, error) + func (s *HMACSigner) SignatureMethod() string + func (s *HMACSigner) Verify(message string, signature string) error + type OrderedParams struct + func NewOrderedParams() *OrderedParams + func (o *OrderedParams) Add(key, value string) + func (o *OrderedParams) AddUnescaped(key, value string) + func (o *OrderedParams) Get(key string) []string + func (o *OrderedParams) Keys() []string + func (o *OrderedParams) Len() int + func (o *OrderedParams) Less(i int, j int) bool + func (o *OrderedParams) Swap(i int, j int)