goauth42

package module
v0.0.0-...-5ac68f2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

README

goauth42

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Endpoint42 = oauth2.Endpoint{
		TokenURL: "https://api.intra.42.fr/oauth/token",
		AuthURL:  "https://api.intra.42.fr/oauth/authorize",
	}
)

Functions

func Page

func Page(url string, i int) (s string)

func Pages

func Pages(c string, b ...int) (url string, err error)

func Start

func Start(uid, secret, urls string, scope []string) (f goauth42)

Types

type Cursus

type Cursus struct {
	Topic Cursus_topic
}

type Cursus_topic

type Cursus_topic struct {
	Cursus string
	Id     string
}

Jump to

Keyboard shortcuts

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