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

memproposal

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package memproposal provides the in-memory proposal repository reference adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New() *Store

func (*Store) GetManifest added in v0.15.0

GetManifest returns an owned copy of the immutable manifest for a staged v1 proposal.

func (*Store) StageBatch

func (s *Store) StageBatch(ctx context.Context, p learning.ProposalPartition, input string, cs []learning.Candidate, signals []learning.Signal) ([]learning.ProposalRecord, error)

func (*Store) StageBatchManifest added in v0.15.0

StageBatchManifest atomically persists the complete selected-evidence manifest with every new proposal.

Jump to

Keyboard shortcuts

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