httpapi

package
v0.0.0-...-a2dd501 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package httpapi exposes the converter as a small stateless HTTP API.

GET  /api/v1/printers          list printer profiles
POST /api/v1/inspect           multipart form, field "file": report filaments
POST /api/v1/convert           multipart form, field "file" plus optional
                               field "options" (JSON, see convertOptions):
                               responds with the converted 3MF

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(maxUpload int64) http.Handler

func ListenAndServe

func ListenAndServe(addr string, maxUpload int64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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