auth

package
v0.0.0-...-194279b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(url string, body []byte) ([]byte, error)

func Get

func Get(url string, out interface{}) error

func GetAuthConf

func GetAuthConf() *oauth2.Config

func GetClient

func GetClient() (*oauth2ns.AuthorizedClient, error)

func GetNoAuth

func GetNoAuth(url string, out interface{}) error

func GetRaw

func GetRaw(url string) ([]byte, error)

func GetToken

func GetToken() *oauth2.Token

func Login

func Login() (*oauth2ns.AuthorizedClient, error)

func Post

func Post(url string, body []byte) ([]byte, error)

func Put

func Put(url string, in interface{}) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL