stdxgit.sr.ht/~pingoo/stdx/httpx/autocertpg Index | Files

package autocertpg

import "git.sr.ht/~pingoo/stdx/httpx/autocertpg"

Index

Types

type Cache

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

func NewCache

func NewCache(db db.DB, key []byte) *Cache

func (*Cache) Delete

func (cache *Cache) Delete(ctx context.Context, key string) (err error)

func (*Cache) Get

func (cache *Cache) Get(ctx context.Context, key string) (data []byte, err error)

func (*Cache) Put

func (cache *Cache) Put(ctx context.Context, key string, data []byte) (err error)

Source Files

autocertpg.go

Version
v0.0.0-20240218134121-094174641f6e (latest)
Published
Feb 18, 2024
Platform
linux/amd64
Imports
7 packages
Last checked
4 months ago

Tools for package owners.