view

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSecretNotFound = stderrors.New("secret not found")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	View(ctx context.Context, index store.SecretIndex) error
}

func NewService

func NewService(s store.Service, viewer Viewer) Service

type Viewer

type Viewer interface {
	View(ctx context.Context, p string, data []byte) error
}

Jump to

Keyboard shortcuts

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