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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ReaderDatlyResourceNamespace = "message_cleanup_read_reader"

DatlyResourceNamespace identifies this package's generated resource filesystem.

Variables

View Source
var ReaderDatly = new(ReaderComponent)

The package-level value keeps this real component type reachable for runtime discovery.

View Source
var ReaderDatlyResources embed.FS

Functions

func ReaderDatlyType

func ReaderDatlyType() reflect.Type

ReaderDatlyType returns the public component type.

Types

type Input

type Input struct {
	Trusted               bool      `parameter:"Trusted,kind=messagecleanupscope,in=internal,dataType=bool,required=true"`
	IDs                   []string  `parameter:"IDs,kind=query,in=iDs,dataType=[]string,required=false" predicate:"in,t,id"`
	ConversationIDs       []string  `parameter:"ConversationIDs,kind=query,in=conversationIDs,dataType=[]string,required=false" predicate:"in,t,conversation_id"`
	LinkedConversationIDs []string  `` /* 142-byte string literal not displayed */
	ParentMessageIDs      []string  `` /* 127-byte string literal not displayed */
	SupersededByIDs       []string  `parameter:"SupersededByIDs,kind=query,in=supersededByIDs,dataType=[]string,required=false" predicate:"in,t,superseded_by"`
	Has                   *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}

Input is the generated input scaffold for reader.

func (*Input) Init

func (input *Input) Init(context.Context) error

Init restricts this reader to host-authorized, bounded deletion requests.

func (*Input) SetConversationIDs

func (input *Input) SetConversationIDs(value []string)

func (*Input) SetIDs

func (input *Input) SetIDs(value []string)

func (*Input) SetLinkedConversationIDs

func (input *Input) SetLinkedConversationIDs(value []string)

func (*Input) SetParentMessageIDs

func (input *Input) SetParentMessageIDs(value []string)

func (*Input) SetSupersededByIDs

func (input *Input) SetSupersededByIDs(value []string)

func (*Input) SetTrusted

func (input *Input) SetTrusted(value bool)

type InputHas

type InputHas struct {
	Trusted               bool
	IDs                   bool
	ConversationIDs       bool
	LinkedConversationIDs bool
	ParentMessageIDs      bool
	SupersededByIDs       bool
}

type Message

type Message struct {
	Id                   string  `sqlx:"id,primaryKey=true" json:"id"`
	ConversationId       string  `sqlx:"conversation_id,refTable=conversation,refColumn=id,required=true" json:"conversationId"`
	LinkedConversationId *string `sqlx:"linked_conversation_id" json:"linkedConversationId"`
	ParentMessageId      *string `sqlx:"parent_message_id" json:"parentMessageId"`
	SupersededBy         *string `sqlx:"superseded_by" json:"supersededBy"`
	AttachmentPayloadId  *string `sqlx:"attachment_payload_id,refTable=call_payload,refColumn=id" json:"attachmentPayloadId"`
	ElicitationPayloadId *string `sqlx:"elicitation_payload_id,refTable=call_payload,refColumn=id" json:"elicitationPayloadId"`
}

Message is generated canonical view metadata for reader.

type Output

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

Output is the generated output scaffold for reader.

type ReaderComponent

type ReaderComponent struct {
	Contract xdatly.Component[Input, Output] "" /* 156-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