server

package
v0.0.0-...-84b4eae Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitalizeAuthProviders

func InitalizeAuthProviders(cfg *utils.ServerConfig) error

InitalizeAuthProviders does just that, with Goth providers

func RegisterRoutes

func RegisterRoutes(cfg *utils.ServerConfig, r *gin.Engine, db *datasource.DB)

func SetupServer

func SetupServer(serverconf *utils.ServerConfig, db *datasource.DB) *gin.Engine

Run will steup the routes and start the server

func TlsHandler

func TlsHandler(cfg *utils.ServerConfig) gin.HandlerFunc

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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