model

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Field  string `json:"field,omitempty"`
	Name   string `json:"name,omitempty"`
	Type   string `json:"type,omitempty"` // text, image, file
	TosKey string `json:"tos_key,omitempty"`
}

type ObjectStorage

type ObjectStorage struct {
	InputTosKey  string        `json:"input_tos_key,omitempty"`  // The key for reporting long input data
	OutputTosKey string        `json:"output_tos_key,omitempty"` // The key for reporting long output data
	Attachments  []*Attachment // attachments in input or output
}

Jump to

Keyboard shortcuts

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