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

handlers

package
v1.0.85 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrainTasks added in v1.0.84

func DrainTasks(ctx context.Context) error

DrainTasks releases the running task back to the queue so another agent run picks it up rather than waiting out its lease.

func EnsureConnected

func EnsureConnected(conn *grpc.ClientConn)

func InitgRPC

func InitgRPC() error

func NewGRPCConnection

func NewGRPCConnection(addr string) (*grpc.ClientConn, error)

func ShutdownGRPCClient

func ShutdownGRPCClient() error

func StopAcceptingTasks added in v1.0.84

func StopAcceptingTasks(ctx context.Context) error

StopAcceptingTasks closes the task subscription so no new work arrives. The in-flight task keeps running; DrainTasks deals with it.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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