inputrequests

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package inputrequests owns bounded text staging and Pinax input preview.

Index

Constants

View Source
const MaxBytes = 2 << 20

Variables

This section is empty.

Functions

This section is empty.

Types

type Preview

type Preview struct {
	InputRef string `json:"input_ref"`
	Digest   string `json:"preview_digest"`
	State    string `json:"state"`
	Plan     any    `json:"plan,omitempty"`
}

type Service

type Service struct {
	*intake.Service
	// contains filtered or unexported fields
}

func Open

func Open(root, base string, application *app.Service) (*Service, func(), error)

func (*Service) Preview

func (s *Service) Preview(ctx context.Context, who intake.Identity, id, conflict, note string, confirm bool, expected string) (Preview, error)

Jump to

Keyboard shortcuts

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