Help us shape the future of Go! Take the 2026 Go Developer Survey

httpapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package httpapi exposes the storage service through a small authenticated JSON API.

Index

Constants

View Source
const MaxRequestBytes int64 = 6*protocol.MaxContentBytes + 64*1024

MaxRequestBytes includes space for JSON's worst-case escaping and metadata.

Variables

This section is empty.

Functions

func New

func New(s *store.Store) http.Handler

New returns an HTTP handler. The caller owns the store's lifetime.

Types

This section is empty.

Jump to

Keyboard shortcuts

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