pkg

package
v0.0.0-...-15b0120 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandNotFound

func CommandNotFound(_ context.Context, cmd *cli.Command, command string)

func CopyToClipboard

func CopyToClipboard(data string) error

func Input

func Input(prompt, placeholder string, noEcho bool) (string, error)

Types

type Cache

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

func NewCache

func NewCache() (*Cache, error)

func (*Cache) Close

func (c *Cache) Close() error

func (*Cache) Get

func (c *Cache) Get(k string) ([]byte, error)

func (*Cache) Put

func (c *Cache) Put(k string, v []byte) error

func (*Cache) WithWriteTxn

func (c *Cache) WithWriteTxn() *WriteTxn

type WriteTxn

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

func (*WriteTxn) Put

func (wtx *WriteTxn) Put(k string, v []byte) *WriteTxn

func (*WriteTxn) Run

func (wtx *WriteTxn) Run() error

Jump to

Keyboard shortcuts

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