api

package
v0.0.0-...-b3accde Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireAuthentication

func RequireAuthentication(signingKey []byte) fiber.Handler

Protected protect routes

Types

type API

type API struct {
	Config           *config.Config
	RiverClient      *river.Client[pgx.Tx]
	AuthService      services.AuthService
	UserService      services.UserService
	ProjectsService  services.ProjectService
	TestCasesService services.TestCaseService
	TestPlansService services.TestPlanService
	TestRunsService  services.TestRunService
	TesterService    services.TesterService
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(config *config.Config) *API

func (*API) Start

func (api *API) Start(address string) error

Directories

Path Synopsis
Handlers for Projects endpoints
Handlers for Projects endpoints

Jump to

Keyboard shortcuts

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