property

package
v0.0.0-...-bf9679a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPropertyServiceImpl

func NewPropertyServiceImpl(
	propertyRepository property.PropertyRepository,
	groupRepository group.GroupRepository,
	idGenerator generator.IDGenerator,
	qrCodeGenerator generator.QRCodeGenerator,
) *propertyServiceImpl

Types

type PropertyService

type PropertyService interface {
	Create(ctx context.Context, groupID string, p payload.CreateProperty) (id string, err error)
	Update(ctx context.Context, id string, p payload.UpdateProperty) (err error)
	Delete(ctx context.Context, id string) (err error)
	GenerateQRCode(ctx context.Context, id string) (file []byte, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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