oauth

package
v1.3.1-0...-d37f340 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const API_URL = "https://api.intra.42.fr"

Variables

View Source
var (
	API_CLIENT_ID     string
	API_CLIENT_SECRET string
)

Functions

This section is empty.

Types

type Client

type Client struct {
	*http.Client
}

Client holds an *http.Client

func GetClient

func GetClient() *Client

GetClient() returns an instance of a Client. It will be a Singleton, one day.

Jump to

Keyboard shortcuts

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