revocation

package
v1.112.0-rc Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	// Revoke is the method to revoke the supplied tail
	Revoke(ctx context.Context, tail []byte, apiKeyID []byte) error
	// Check will check whether any of the supplied tails have been revoked
	Check(ctx context.Context, tails [][]byte) (bool, error)
}

DB is the interface for a revocation DB.

Jump to

Keyboard shortcuts

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