images

package
v0.0.0-...-1ecf039 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageProvider

func NewImageProvider(cfg Config) *imageProvider

NewImageProvider creates a new image provider using the db.

Types

type Closer

type Closer interface {
	Close() error
}

Closer defines an entity which can close a connection.

type Config

type Config struct {
	Port             string
	Dbname           string
	UsernamePassword string
	Hostname         string
	Logger           zerolog.Logger
}

Config db configs here

Jump to

Keyboard shortcuts

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