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

crl

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheWithLog

type CacheWithLog struct {
	corecrl.Cache

	//DiscardCacheError is set to true to enable logging the discard cache error
	//warning
	DiscardCacheError bool
	// contains filtered or unexported fields
}

CacheWithLog implements corecrl.Cache with logging

func (*CacheWithLog) Get

func (c *CacheWithLog) Get(ctx context.Context, url string) (*corecrl.Bundle, error)

Get retrieves the CRL bundle with the given url

func (*CacheWithLog) Set

func (c *CacheWithLog) Set(ctx context.Context, url string, bundle *corecrl.Bundle) error

Set stores the CRL bundle with the given url

Jump to

Keyboard shortcuts

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