qrcodes

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QrWidth  = 256
	QrHeight = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetByID(ctx context.Context, id uint64) (*entities.Contact, error)
}

type Service

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

func NewService

func NewService(repository Repository) *Service

func (*Service) GetImage

func (s *Service) GetImage(_ context.Context, contactID uint64, bankName string) ([]byte, error)

func (*Service) Parse

func (s *Service) Parse(_ context.Context, i port.Image) (string, error)

Jump to

Keyboard shortcuts

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