auth

package
v0.0.0-...-7361216 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package auth authenticates user through google oauth2

Index

Constants

This section is empty.

Variables

View Source
var (

	//GoogleAccount is user google account for saving agreements
	GoogleAccount string
)

Functions

func GetClient

func GetClient() *http.Client

GetClient returns a google client instance

func GetDB

func GetDB() *gorm.DB

GetDB returns a connection to sqlite database

Types

This section is empty.

Jump to

Keyboard shortcuts

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