infrastructure

package
v0.0.0-...-f84185f Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Infrastructure

type Infrastructure struct {
	Repository repository.IUser
	Upload     Upload
}

func NewInfrastructureInitializer

func NewInfrastructureInitializer(
	db repository.IUser,
	upload Upload,
) *Infrastructure

NewInfrastructureInitializer initializes a new Infrastructure

type Upload

type Upload interface {
	UploadMedia(ctx context.Context, name string, file io.Reader) (string, error)
}

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

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