service

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhotoService

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

func (*PhotoService) Index

func (s *PhotoService) Index(ctx context.Context, path string)

Index scans the folder given in parameter and fill the database with image info and EXIF data found on JPEGs

type RegisterCaller

type RegisterCaller interface {
	Register() (*model.RegisterResponse, error)
	HeartBeat(uuid.UUID) error
}

type RegisterService

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

func NewRegisterService

func NewRegisterService(c RegisterCaller, param model.ServeParameters) RegisterService

func (*RegisterService) Register

func (s *RegisterService) Register()

Jump to

Keyboard shortcuts

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