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.
Click to show internal directories.
Click to hide internal directories.