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

base

package
v0.1.58 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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ReaderDatlyResourceNamespace = "datly_message_base_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 MessageBaseView

type MessageBaseView struct {
	ConversationId       string     `sqlx:"conversation_id" json:"conversationId"`
	CreatedAt            time.Time  `sqlx:"created_at" json:"createdAt"`
	Id                   string     `sqlx:"id" json:"id"`
	Interim              int        `sqlx:"interim" json:"interim"`
	Role                 string     `sqlx:"role" json:"role"`
	Type                 string     `sqlx:"type" json:"type"`
	Narration            *string    `sqlx:"preamble" json:"narration"`
	TurnId               *string    `sqlx:"turn_id" json:"turnId"`
	Archived             *int       `sqlx:"archived" json:"archived"`
	Sequence             *int       `sqlx:"sequence" json:"sequence"`
	UpdatedAt            *time.Time `sqlx:"updated_at" json:"updatedAt"`
	CreatedByUserId      *string    `sqlx:"created_by_user_id" json:"createdByUserId"`
	Status               *string    `sqlx:"status" json:"status"`
	Mode                 *string    `sqlx:"mode" json:"mode"`
	Content              *string    `sqlx:"content" json:"content"`
	RawContent           *string    `sqlx:"raw_content" json:"rawContent"`
	Summary              *string    `sqlx:"summary" json:"summary"`
	ContextSummary       *string    `sqlx:"context_summary" json:"contextSummary"`
	Tags                 *string    `sqlx:"tags" json:"tags"`
	ElicitationId        *string    `sqlx:"elicitation_id" json:"elicitationId"`
	ParentMessageId      *string    `sqlx:"parent_message_id" json:"parentMessageId"`
	SupersededBy         *string    `sqlx:"superseded_by" json:"supersededBy"`
	LinkedConversationId *string    `sqlx:"linked_conversation_id" json:"linkedConversationId"`
	AttachmentPayloadId  *string    `sqlx:"attachment_payload_id" json:"attachmentPayloadId"`
	ElicitationPayloadId *string    `sqlx:"elicitation_payload_id" json:"elicitationPayloadId"`
	ToolName             *string    `sqlx:"tool_name" json:"toolName"`
	EmbeddingIndex       *string    `sqlx:"embedding_index" json:"embeddingIndex"`
	Iteration            *int       `sqlx:"iteration" json:"iteration"`
	Phase                *string    `sqlx:"phase" json:"phase"`
}

MessageBaseView is generated canonical view metadata for reader.

type MessagesOutput

type MessagesOutput struct {
	Data []*MessageBaseView `` /* 296-byte string literal not displayed */
}

MessagesOutput is the generated output scaffold for reader.

type ReaderComponent

type ReaderComponent struct {
	Contract xdatly.Component[canonical.MessagesInput, MessagesOutput] "" /* 153-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