utils

package
v0.0.0-...-3545250 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDatabaseConnectionNotAvailable = errors.New("dbsql: Database connection not available")
View Source
var ErrDatabaseReadFailed = errors.New("dbsql: Database Read Failed")
View Source
var ErrDatabaseRecordNotFound = errors.New("dbsql: Record not found")
View Source
var ErrDatabaseRowScan = errors.New("dbsql: Row scan failed ")

Functions

func SendAccessTokenResponse

func SendAccessTokenResponse(resp http.ResponseWriter)

Types

type AuthResp

type AuthResp struct {
	AccessToken  string `json:"access_token"`
	TokenType    string `json:"token_type"`
	Expires      int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
}

Jump to

Keyboard shortcuts

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