app

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Unlicense Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func (*App) Route

func (o *App) Route(r chi.Router)

type FileInfo added in v0.0.24

type FileInfo struct {
	Name     string            `json:"file_name"`
	Size     int               `json:"file_size"`
	Metadata *storage.Metadata `json:"metadata"`
}

type Params

type Params struct {
	fx.In

	Ctx     context.Context
	Lc      fx.Lifecycle
	Log     *slog.Logger
	Loader  *config.Loader
	Storage *storage.Storage
	Paste   *paste.Paste
}

type Result

type Result struct {
	fx.Out

	Handler http.Handler
}

func New

func New(p Params) (r Result, err error)

Jump to

Keyboard shortcuts

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