tee

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSecretStore

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

MockSecretStore is a mock implementation of the SecretStore interface for testing

func NewMockSecretStore

func NewMockSecretStore() *MockSecretStore

NewMockSecretStore creates a new mock secret store for testing

func (*MockSecretStore) AddSecret

func (s *MockSecretStore) AddSecret(userID int, name string, value string)

AddSecret adds a secret to the mock store

func (*MockSecretStore) GetSecret

func (s *MockSecretStore) GetSecret(ctx context.Context, userID int, name string) (string, error)

GetSecret retrieves a secret from the mock store

Jump to

Keyboard shortcuts

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