api

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathParameterJobID = "job_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationAPI added in v0.4.0

type MigrationAPI struct {
	Migrator migrator.Migrator
	Router   *mux.Router
	Store    *store.Datastore
}

MigrationAPI provides a struct to wrap the api around

func Setup

func Setup(ctx context.Context, router *mux.Router, dataStore *store.Datastore, dataMigrator migrator.Migrator) *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