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: 0

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