ai_post_editor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACTION_REGENERATE_SECTION   = "regenerate_section"
	ACTION_REGENERATE_IMAGE     = "regenerate_image"
	ACTION_CREATE_FINAL_POST    = "create_final_post"
	ACTION_SAVE_DRAFT           = "save_draft"
	ACTION_REGENERATE_PARAGRAPH = "regenerate_paragraph"
	ACTION_LOAD_POST            = "load_post"
	ACTION_REGENERATE_SUMMARY   = "regenerate_summary"
	ACTION_REGENERATE_METAS     = "regenerate_metas"
)

Variables

This section is empty.

Functions

func RecordFromJSON

func RecordFromJSON(jsonStr string) (*blogai.RecordPost, error)

RecordFromJSON parses a JSON string into a blogai.RecordPost

Types

type UiInterface

type UiInterface interface {
	shared.UiInterface
	AiPostEditor(w http.ResponseWriter, r *http.Request)
}

UiInterface defines the ai post editor controller's UI interface

func UI

func UI(config shared.UiConfig) UiInterface

UI creates a new ai post editor controller UI from the given config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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