api

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PathParameterJobID is the name of the job ID path parameter.
	PathParameterJobID = "job_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationAPI added in v0.4.0

type MigrationAPI struct {
	JobService application.JobService
	Migrator   migrator.Migrator
	Router     *mux.Router
}

MigrationAPI provides a struct to wrap the api around

func Setup

func Setup(ctx context.Context, router *mux.Router, jobService application.JobService, dataMigrator migrator.Migrator, authMiddleware auth.Middleware) *MigrationAPI

Setup function sets up the api and returns an api

Jump to

Keyboard shortcuts

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