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

read

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ReaderDatlyResourceNamespace = "reportingevidence_document_read_reader"

DatlyResourceNamespace identifies this package's generated resource filesystem.

Variables

View Source
var ReaderDatly = new(ReaderComponent)

The public value supports explicit component wiring.

View Source
var ReaderDatlyResources embed.FS

Functions

func ReaderDatlyType

func ReaderDatlyType() reflect.Type

ReaderDatlyType returns the public component type.

Types

type Document

type Document struct {
	InlineBody  []byte  `sqlx:"inline_body" json:"inlineBody"`
	Id          *string `sqlx:"id,primaryKey=true" json:"id"`
	RunId       *string `sqlx:"run_id,refTable=run,refColumn=id" json:"runId"`
	Kind        *string `sqlx:"kind,required=true" json:"kind"`
	Subtype     *string `sqlx:"subtype" json:"subtype"`
	SchemaRef   *string `sqlx:"schema_ref" json:"schemaRef"`
	MimeType    *string `sqlx:"mime_type,required=true" json:"mimeType"`
	Storage     *string `sqlx:"storage,required=true" json:"storage"`
	Compression *string `sqlx:"compression,required=true" json:"compression"`
	Digest      *string `sqlx:"digest" json:"digest"`
	SizeBytes   *int    `sqlx:"size_bytes,required=true" json:"sizeBytes"`
}

Document is generated canonical view metadata for reader.

type Input

type Input struct {
	Owner          string    `parameter:"Owner,kind=query,in=owner,dataType=string,required=true"`
	ConversationID string    `parameter:"ConversationID,kind=query,in=conversationId,dataType=string,required=true"`
	TurnID         string    `parameter:"TurnID,kind=query,in=turnId,dataType=string,required=true"`
	ID             string    `parameter:"ID,kind=query,in=id,dataType=string,required=true"`
	RunID          string    `parameter:"RunID,kind=query,in=runId,dataType=string,required=true"`
	Subtype        string    `parameter:"Subtype,kind=query,in=subtype,dataType=string,required=true"`
	Has            *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}

Input is the generated input scaffold for reader.

func (*Input) SetConversationID

func (input *Input) SetConversationID(value string)

func (*Input) SetID

func (input *Input) SetID(value string)

func (*Input) SetOwner

func (input *Input) SetOwner(value string)

func (*Input) SetRunID

func (input *Input) SetRunID(value string)

func (*Input) SetSubtype

func (input *Input) SetSubtype(value string)

func (*Input) SetTurnID

func (input *Input) SetTurnID(value string)

type InputHas

type InputHas struct {
	Owner          bool
	ConversationID bool
	TurnID         bool
	ID             bool
	RunID          bool
	Subtype        bool
}

type Output

type Output struct {
	Data []*Document `` /* 180-byte string literal not displayed */
}

Output is the generated output scaffold for reader.

type ReaderComponent

type ReaderComponent struct {
	Contract xdatly.Component[Input, Output] "" /* 168-byte string literal not displayed */
}

Component is the generated component scaffold for reader.

func (ReaderComponent) EmbedFS

func (ReaderComponent) EmbedFS() *embed.FS

func (ReaderComponent) EmbedNamespace

func (ReaderComponent) EmbedNamespace() string

Jump to

Keyboard shortcuts

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