sync

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestEntry

type ManifestEntry struct {
	Name     string `json:"name"`
	Version  int    `json:"version"`
	Checksum string `json:"checksum"`
}

ManifestEntry represents a single skill's sync metadata for client diffing.

type Store

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

Store handles sync-related queries against Postgres.

func NewStore

func NewStore(pool *pgxpool.Pool) *Store

NewStore constructs a Store backed by the given connection pool.

func (*Store) GetManifest

func (s *Store) GetManifest(ctx context.Context) ([]ManifestEntry, error)

GetManifest returns the manifest of all published skills, ordered by name. Only skills with latest_version > 0 are included.

Jump to

Keyboard shortcuts

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