Documentation ¶
Index ¶
- type BoltDBStore
- func (s *BoltDBStore) Close() error
- func (s *BoltDBStore) RetrieveAccessToken() (string, error)
- func (s *BoltDBStore) RetrieveOauthState(state string) (string, error)
- func (s *BoltDBStore) RetrieveRefreshToken() (string, error)
- func (s *BoltDBStore) RetrieveVar(varName string) (varValue string, err error)
- func (s *BoltDBStore) StoreAccessToken(token string) error
- func (s *BoltDBStore) StoreOauthState(state string) error
- func (s *BoltDBStore) StoreRefreshToken(token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDBStore ¶
func Initialize ¶
func Initialize(dbFileName, bucket_name string) (*BoltDBStore, error)
func (*BoltDBStore) Close ¶
func (s *BoltDBStore) Close() error
func (*BoltDBStore) RetrieveAccessToken ¶
func (s *BoltDBStore) RetrieveAccessToken() (string, error)
func (*BoltDBStore) RetrieveOauthState ¶ added in v0.5.0
func (s *BoltDBStore) RetrieveOauthState(state string) (string, error)
func (*BoltDBStore) RetrieveRefreshToken ¶
func (s *BoltDBStore) RetrieveRefreshToken() (string, error)
func (*BoltDBStore) RetrieveVar ¶ added in v0.6.0
func (s *BoltDBStore) RetrieveVar(varName string) (varValue string, err error)
func (*BoltDBStore) StoreAccessToken ¶
func (s *BoltDBStore) StoreAccessToken(token string) error
func (*BoltDBStore) StoreOauthState ¶ added in v0.5.0
func (s *BoltDBStore) StoreOauthState(state string) error
func (*BoltDBStore) StoreRefreshToken ¶
func (s *BoltDBStore) StoreRefreshToken(token string) error
Click to show internal directories.
Click to hide internal directories.