api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar added in v0.1.3

type EnvVar struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) *Server

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

type Template

type Template struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Icon        string `json:"icon"`
	Category    string `json:"category"`
	Priority    int    `json:"priority"`
	Content     string `json:"content"`
}

type TemplateFile added in v0.1.3

type TemplateFile struct {
	Path    string `yaml:"path"`
	Content string `yaml:"content"`
}

type TemplateMetadata

type TemplateMetadata struct {
	Name        string         `yaml:"name"`
	Description string         `yaml:"description"`
	Icon        string         `yaml:"icon"`
	Category    string         `yaml:"category"`
	Priority    int            `yaml:"priority"`
	Files       []TemplateFile `yaml:"files"`
}

Jump to

Keyboard shortcuts

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