common

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoContext No User database context found error response
	ErrNoContext = models.NewOAuthErrorResponse(models.OAuthInvalidRequestError, "Context is null and cannot be validated")
)

Error list for the identity package it uses the following framework identification packageId.errorCode

Functions

func GetDefaultUsers

func GetDefaultUsers() []models.User

func SeedMongoDb added in v0.0.5

func SeedMongoDb(factory *mongodb.MongoFactory, databaseName string)

func SeedMongoDbUsers added in v0.0.5

func SeedMongoDbUsers(factory *mongodb.MongoFactory, databaseName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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