Versions in this module Expand all Collapse all v1 v1.1.1 Nov 27, 2023 Changes in this version + func Handler(h http.Handler, c *Config) http.Handler + type Config struct + AccessTokenURL string + AuthorizationURL string + CallbackURL string + Client *http.Client + ConsumerKey string + ConsumerSecret string + RequestTokenURL string + Signer Signer + type HMACSigner struct + ConsumerSecret string + func (s *HMACSigner) Name() string + func (s *HMACSigner) Sign(tokenSecret, message string) (string, error) + type RSASigner struct + PrivateKey *rsa.PrivateKey + func (s *RSASigner) Name() string + func (s *RSASigner) Sign(tokenSecret, message string) (string, error) + type Signer interface + Name func() string + Sign func(key string, message string) (string, error)