fixer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package fixer provides functionality for fixing Java code based on suggestions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fixer

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

Fixer is a server that fixes Java code based on suggestions provided.

func NewFixer

func NewFixer(ai brain.Brain, port int) *Fixer

NewFixer creates a new Fixer instance with the provided AI brain and port.

func (*Fixer) Close

func (c *Fixer) Close() error

Close gracefully stops the Fixer server.

func (*Fixer) Handler added in v0.2.0

func (c *Fixer) Handler(hander protocol.Handler)

Handler sets the handler function for processing requests on the Fixer server.

func (*Fixer) Start

func (c *Fixer) Start(ready chan<- struct{}) error

Start begins the Fixer server and signals readiness through the provided channel.

Jump to

Keyboard shortcuts

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