testsupport

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiscordClientID string = "discord_test_client_id"
)

Variables

View Source
var (
	ServerPort         int
	BaseURL            string
	DatabaseDSN        string
	SetupStoreLocation string

	HS256Key []byte
)

Functions

func Bootstrap

func Bootstrap(ctx context.Context) error

func GenerateUserToken

func GenerateUserToken(user *models.User, expiresAt time.Time) (string, error)

func Teardown

func Teardown() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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