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

ai

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(repo *storage.Repository) *Service

func (*Service) EnqueueLog

func (s *Service) EnqueueLog(l storage.Log)

func (*Service) SetParentContext

func (s *Service) SetParentContext(ctx context.Context)

SetParentContext wires the application-level context so worker LLM calls inherit cancellation on shutdown. Call once during boot before EnqueueLog starts taking traffic — the parentCtx is read on every dequeued log without locking.

func (*Service) Stop

func (s *Service) Stop()

Jump to

Keyboard shortcuts

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