mongo

package
v0.0.0-...-42c6e84 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func NewAdapter

func NewAdapter(config config.DatabaseConfig) *Adapter

func (*Adapter) LoadSecret

func (a *Adapter) LoadSecret(service string) (string, error)

func (*Adapter) SaveSecret

func (a *Adapter) SaveSecret(service string, secret string) error

type Service

type Service struct {
	Secret string `bson:"secret"`
}

Jump to

Keyboard shortcuts

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