handlers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

GetVersion returns the configured version string

func HandleCleanup

func HandleCleanup(cmd *cobra.Command, args []string) error

func HandleCode

func HandleCode(cmd *cobra.Command, args []string) error

func HandleRefs

func HandleRefs(cmd *cobra.Command, args []string) error

Types

type RefCounter

type RefCounter interface {
	IncrementRefCount() error
	DecrementRefCount() (int, error)
	GetRefCount() (int, error)
	ResetRefCount() error
}

RefCounter abstracts reference counting operations for testability

Jump to

Keyboard shortcuts

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