service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package service defines application resources and configuration.

Index

Constants

View Source
const Name = "photo-blog"

Name is the name of this application or service.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	brick.BaseConfig

	StoragePath string        `split_words:"true" default:"./photo-blog-data/"`
	Jaeger      jaeger.Config `split_words:"true"`
}

Config defines application configuration.

type Locator

Locator defines application resources.

func (*Locator) AccessLog

func (l *Locator) AccessLog() ctxd.Logger

func (*Locator) DepCache

func (l *Locator) DepCache() *dep.Cache

func (*Locator) FilesProcessor

func (l *Locator) FilesProcessor() *files.Processor

func (*Locator) SchemaRepository

func (l *Locator) SchemaRepository() *jsonform.Repository

func (*Locator) ServiceConfig

func (l *Locator) ServiceConfig() Config

ServiceConfig gives access to service configuration.

func (*Locator) Settings

func (l *Locator) Settings() settings.Values

func (*Locator) SettingsManager

func (l *Locator) SettingsManager() *settings.Manager

type PhotoAlbumDeleterProvider

type PhotoAlbumDeleterProvider interface {
	PhotoAlbumDeleter() uniq.Deleter[photo.Album]
}

type PhotoAlbumEnsurerProvider

type PhotoAlbumEnsurerProvider interface {
	PhotoAlbumEnsurer() uniq.Ensurer[photo.Album]
}

type PhotoAlbumFinderProvider

type PhotoAlbumFinderProvider interface {
	PhotoAlbumFinder() uniq.Finder[photo.Album]
}

type PhotoAlbumImageAdderProvider

type PhotoAlbumImageAdderProvider interface {
	PhotoAlbumImageAdder() photo.AlbumImageAdder
}

type PhotoAlbumImageDeleterProvider

type PhotoAlbumImageDeleterProvider interface {
	PhotoAlbumImageDeleter() photo.AlbumImageDeleter
}

type PhotoAlbumImageFinderProvider

type PhotoAlbumImageFinderProvider interface {
	PhotoAlbumImageFinder() photo.AlbumImageFinder
}

type PhotoAlbumUpdaterProvider

type PhotoAlbumUpdaterProvider interface {
	PhotoAlbumUpdater() uniq.Updater[photo.Album]
}

type PhotoExifEnsurerProvider

type PhotoExifEnsurerProvider interface {
	PhotoExifEnsurer() uniq.Ensurer[photo.Exif]
}

type PhotoExifFinderProvider

type PhotoExifFinderProvider interface {
	PhotoExifFinder() uniq.Finder[photo.Exif]
}

type PhotoGpsEnsurerProvider

type PhotoGpsEnsurerProvider interface {
	PhotoGpsEnsurer() uniq.Ensurer[photo.Gps]
}

type PhotoGpsFinderProvider

type PhotoGpsFinderProvider interface {
	PhotoGpsFinder() uniq.Finder[photo.Gps]
}

type PhotoGpxEnsurerProvider

type PhotoGpxEnsurerProvider interface {
	PhotoGpxEnsurer() uniq.Ensurer[photo.Gpx]
}

type PhotoGpxFinderProvider

type PhotoGpxFinderProvider interface {
	PhotoGpxFinder() uniq.Finder[photo.Gpx]
}

type PhotoImageEnsurerProvider

type PhotoImageEnsurerProvider interface {
	PhotoImageEnsurer() uniq.Ensurer[photo.Image]
}

type PhotoImageFinderProvider

type PhotoImageFinderProvider interface {
	PhotoImageFinder() uniq.Finder[photo.Image]
}

type PhotoImageIndexerProvider

type PhotoImageIndexerProvider interface {
	PhotoImageIndexer() photo.ImageIndexer
}

type PhotoImageUpdaterProvider

type PhotoImageUpdaterProvider interface {
	PhotoImageUpdater() uniq.Updater[photo.Image]
}

type PhotoThumbnailerProvider

type PhotoThumbnailerProvider interface {
	PhotoThumbnailer() photo.Thumbnailer
}

type TxtRendererProvider

type TxtRendererProvider interface {
	TxtRenderer() *txt.Renderer
}

Jump to

Keyboard shortcuts

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