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
Click to show internal directories.
Click to hide internal directories.