bcclient

package
v0.0.0-...-575026b Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: GPL-3.0, MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package bcclient provides a client for the Blobcache API.

Index

Constants

View Source
const DefaultEndpoint = "unix:///run/blobcache/blobcache.sock"

DefaultEndpoint is the endpoint assumed if the environment variable defined by EnvBlobcacheAPI (BLOBCACHE_API) is not set.

View Source
const (
	// EnvBlobcacheAPI is the name of the environment variable used
	// as the endpoint for the BLOBCACHE_API
	EnvBlobcacheAPI = "BLOBCACHE_API"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(endpoint string) blobcache.Service

NewClient creates a Client backed by the server at endpoint

func NewClientFromEnv

func NewClientFromEnv() blobcache.Service

NewClientFromEnv creates a new client from environment variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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