Skip to content

http ​

go
import "github.com/prescriptoo/prescriptoo-api/services/development/internal/presentation/http"

Package http exposes development database operations through Huma.

Index ​

type Handler ​

Handler delegates every operation to a development use-case.

go
type Handler struct {
    // contains filtered or unexported fields
}

func NewHandler ​

go
func NewHandler(service *usecase.Service) *Handler

NewHandler creates the Huma presentation layer.

func (*Handler) RegisterHuma ​

go
func (h *Handler) RegisterHuma(api huma.API)

RegisterHuma registers all development routes. Environment gating belongs to the module.

Generated by gomarkdoc

Documentation follows the source. Planned contracts are marked explicitly.