Affected by GO-2024-3228
and 1 other vulnerabilities
GO-2024-3228 : Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
GO-2025-3921 : Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
The highest tagged major version is
v2 .
Discover Packages
github.com/coder/coder
coderd
database
databasefake
package
Version:
v0.15.2
Opens a new window with list of versions in this module.
Published: Jan 23, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
New returns an in-memory fake of the database.
type FakeDatabase interface {
IsFakeDB()
}
FakeDatabase is helpful for knowing if the underlying db is an in memory fake
database. This is only in the databasefake package, so will only be used
by unit tests.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.