secrets

package
v0.0.0-...-9e55d18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Options

type Options struct {
	Context context.Context
	Log     *logger.Logger
	Config  *config.Config
	DB      *postgres.Client
}

type SecretURI

type SecretURI struct {
	ID string `uri:"id" binding:"required"`
}

type Secrets

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

func New

func New(opts Options) *Secrets

func (*Secrets) ListenAndServe

func (s *Secrets) ListenAndServe() error

func (*Secrets) RotateEpochSecrets

func (s *Secrets) RotateEpochSecrets(_ context.Context) error

func (*Secrets) Shutdown

func (s *Secrets) Shutdown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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