wgoth

package module
v0.0.0-...-091b89c Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Wgoth

Vanity wrapper for golang goth package

Usage

See the example, essentially set the key/secret environment variables and then register a callback to run on receiving data.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AuthListen

func AuthListen(loginTemplate string, router func(rtr *pat.Router), fn func(user goth.User, res http.ResponseWriter, req *http.Request), logout func(res http.ResponseWriter, req *http.Request))

func Init

func Init(provider_nm string, host_str string, port_str string, sslkey_str string, sslcrt_str string, args ...string)

func Session

func Session(authkey string, enckey string)

Types

This section is empty.

Directories

Path Synopsis
Package gothic wraps common behaviour when using Goth.
Package gothic wraps common behaviour when using Goth.

Jump to

Keyboard shortcuts

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