handlers

package
v0.0.0-...-9b32956 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleHealth

func HandleHealth(w http.ResponseWriter, r *http.Request)

Types

type JobsRepo

type JobsRepo interface {
	Create(ctx context.Context, profile schemav1.Profile) (string, error)
}

type ProfilesHandler

type ProfilesHandler struct {
	Jobs JobsRepo
}

func (ProfilesHandler) ServeHTTP

func (h ProfilesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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