Documentation ¶
Overview ¶
Package usecase provides application use cases.
For the Dependency Rule it is not allowed to import platform.
Index ¶
- func DownloadAlbum(deps dlAlbumDeps) usecase.Interactor
- func DownloadGpx(deps dlGpxDeps) usecase.Interactor
- func DownloadImagesPoiGpx(deps getAlbumImagesDeps) usecase.Interactor
- func GetAlbumContents(deps getAlbumImagesDeps) usecase.IOInteractorOf[getAlbumInput, getAlbumOutput]
- func GetAlbums(deps getAlbumsDeps) usecase.Interactor
- func GetImageInfo(deps getImageInfoDeps) usecase.Interactor
- func MapTile(deps *service.Locator) usecase.Interactor
- func NotFound(deps notFoundDeps) usecase.IOInteractorOf[struct{}, web.Page]
- func OG(deps ogDeps) usecase.Interactor
- func ServeFavicon(deps serveFaviconDeps) usecase.Interactor
- func ServeSiteFile(deps interface{}) usecase.Interactor
- func ShowAlbum(deps getAlbumImagesDeps) usecase.IOInteractorOf[showAlbumInput, web.Page]
- func ShowAlbumAtImage(up usecase.IOInteractorOf[showAlbumInput, web.Page]) usecase.Interactor
- func ShowImage(deps showImageDeps, useAvif bool) usecase.Interactor
- func ShowMain(deps showMainDeps) usecase.IOInteractorOf[showMainInput, web.Page]
- func ShowPano(deps showPanoDeps) usecase.Interactor
- func ShowThumb(deps showThumbDeps) usecase.Interactor
- type Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadAlbum ¶
func DownloadAlbum(deps dlAlbumDeps) usecase.Interactor
func DownloadGpx ¶
func DownloadGpx(deps dlGpxDeps) usecase.Interactor
func DownloadImagesPoiGpx ¶
func DownloadImagesPoiGpx(deps getAlbumImagesDeps) usecase.Interactor
ShowAlbum creates use case interactor to show album.
func GetAlbumContents ¶
func GetAlbumContents(deps getAlbumImagesDeps) usecase.IOInteractorOf[getAlbumInput, getAlbumOutput]
GetAlbumContents creates use case interactor to get album data.
func GetAlbums ¶
func GetAlbums(deps getAlbumsDeps) usecase.Interactor
GetAlbums creates use case interactor to get album data.
func GetImageInfo ¶
func GetImageInfo(deps getImageInfoDeps) usecase.Interactor
func NotFound ¶
func NotFound(deps notFoundDeps) usecase.IOInteractorOf[struct{}, web.Page]
NotFound creates use case interactor to show Not Found page.
func OG ¶
func OG(deps ogDeps) usecase.Interactor
func ServeFavicon ¶
func ServeFavicon(deps serveFaviconDeps) usecase.Interactor
func ServeSiteFile ¶
func ServeSiteFile(deps interface{}) usecase.Interactor
func ShowAlbum ¶
func ShowAlbum(deps getAlbumImagesDeps) usecase.IOInteractorOf[showAlbumInput, web.Page]
ShowAlbum creates use case interactor to show album.
func ShowAlbumAtImage ¶
func ShowAlbumAtImage(up usecase.IOInteractorOf[showAlbumInput, web.Page]) usecase.Interactor
func ShowImage ¶
func ShowImage(deps showImageDeps, useAvif bool) usecase.Interactor
func ShowMain ¶
func ShowMain(deps showMainDeps) usecase.IOInteractorOf[showMainInput, web.Page]
ShowMain creates use case interactor to show album.
func ShowPano ¶
func ShowPano(deps showPanoDeps) usecase.Interactor
ShowPano creates use case interactor to show pano.
func ShowThumb ¶
func ShowThumb(deps showThumbDeps) usecase.Interactor
Types ¶
type Image ¶
type Image struct { Name string `json:"name"` Hash string `json:"hash"` Width int64 `json:"width"` Height int64 `json:"height"` BlurHash string `json:"blur_hash,omitempty"` Gps *photo.Gps `json:"gps,omitempty"` Exif *photo.Exif `json:"exif,omitempty"` Description string `json:"description,omitempty"` Is360Pano bool `json:"is_360_pano,omitempty"` // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.