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

base

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

Documentation

Index

Constants

View Source
const ReaderDatlyResourceNamespace = "datly_schedule_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 ReaderComponent

type ReaderComponent struct {
	Contract xdatly.Component[canonical.ScheduleInput, ScheduleOutput] "" /* 154-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

type ScheduleBaseView

type ScheduleBaseView struct {
	LeaseUntilRaw   *string    `internal:"true" json:"-" sqlx:"lease_until_raw"`
	AgentRef        string     `sqlx:"agent_ref" json:"agentRef"`
	CreatedAt       time.Time  `sqlx:"created_at" json:"createdAt"`
	Visibility      string     `sqlx:"visibility" json:"visibility"`
	Enabled         bool       `sqlx:"enabled" json:"enabled"`
	Id              string     `sqlx:"id" json:"id"`
	Internal        bool       `sqlx:"internal" json:"internal"`
	Name            string     `sqlx:"name" json:"name"`
	ScheduleType    string     `sqlx:"schedule_type" json:"scheduleType"`
	TimeoutSeconds  int        `sqlx:"timeout_seconds" json:"timeoutSeconds"`
	Timezone        string     `sqlx:"timezone" json:"timezone"`
	Description     *string    `sqlx:"description" json:"description"`
	CreatedByUserId *string    `sqlx:"created_by_user_id" json:"createdByUserId"`
	ConversationId  *string    `sqlx:"conversation_id" json:"conversationId"`
	GoalId          *string    `sqlx:"goal_id" json:"goalId"`
	ModelOverride   *string    `sqlx:"model_override" json:"modelOverride"`
	UserCredUrl     *string    `sqlx:"user_cred_url" json:"userCredUrl"`
	StartAt         *time.Time `sqlx:"start_at" json:"startAt"`
	EndAt           *time.Time `sqlx:"end_at" json:"endAt"`
	CronExpr        *string    `sqlx:"cron_expr" json:"cronExpr"`
	IntervalSeconds *int       `sqlx:"interval_seconds" json:"intervalSeconds"`
	TaskPromptUri   *string    `sqlx:"task_prompt_uri" json:"taskPromptUri"`
	TaskPrompt      *string    `sqlx:"task_prompt" json:"taskPrompt"`
	NextRunAt       *time.Time `sqlx:"next_run_at" json:"nextRunAt"`
	LastRunAt       *time.Time `sqlx:"last_run_at" json:"lastRunAt"`
	LastStatus      *string    `sqlx:"last_status" json:"lastStatus"`
	LastError       *string    `sqlx:"last_error" json:"lastError"`
	LeaseOwner      *string    `sqlx:"lease_owner" json:"leaseOwner"`
	UpdatedAt       *time.Time `sqlx:"updated_at" json:"updatedAt"`
}

ScheduleBaseView is generated canonical view metadata for reader.

type ScheduleOutput

type ScheduleOutput struct {
	Data []*ScheduleBaseView `` /* 217-byte string literal not displayed */
}

ScheduleOutput is the generated output scaffold for reader.

Jump to

Keyboard shortcuts

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