usecase

package
v0.0.0-...-65d01b3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateAPIKeyUseCase

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

func NewGenerateAPIKeyUseCase

func NewGenerateAPIKeyUseCase(logger *slog.Logger, passp password.Provider, jwtp jwt.Provider) *GenerateAPIKeyUseCase

func (*GenerateAPIKeyUseCase) Execute

func (uc *GenerateAPIKeyUseCase) Execute(chainID uint16) (*NFTStoreAppCredentials, error)

type IPFSGetNodeIDUseCase

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

func NewIPFSGetNodeIDUseCase

func NewIPFSGetNodeIDUseCase(logger *slog.Logger, r1 domain.IPFSRepository) *IPFSGetNodeIDUseCase

func (*IPFSGetNodeIDUseCase) Execute

func (uc *IPFSGetNodeIDUseCase) Execute() (peer.ID, error)

type IPFSGetUseCase

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

func NewIPFSGetUseCase

func NewIPFSGetUseCase(logger *slog.Logger, r1 domain.IPFSRepository) *IPFSGetUseCase

func (*IPFSGetUseCase) Execute

func (uc *IPFSGetUseCase) Execute(ctx context.Context, cid string) ([]byte, error)

type IPFSPinAddUseCase

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

func NewIPFSPinAddUseCase

func NewIPFSPinAddUseCase(logger *slog.Logger, r1 domain.IPFSRepository) *IPFSPinAddUseCase

func (*IPFSPinAddUseCase) Execute

func (uc *IPFSPinAddUseCase) Execute(data []byte) (string, error)

type NFTStoreAppCredentials

type NFTStoreAppCredentials struct {
	SecretString string
	APIKey       string
}

type PinObjectGetByCIDUseCase

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

func NewPinObjectGetByCIDUseCase

func NewPinObjectGetByCIDUseCase(logger *slog.Logger, r1 domain.PinObjectRepository) *PinObjectGetByCIDUseCase

func (*PinObjectGetByCIDUseCase) Execute

func (uc *PinObjectGetByCIDUseCase) Execute(cid string) (*domain.PinObject, error)

type UpsertPinObjectUseCase

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

func NewUpsertPinObjectUseCase

func NewUpsertPinObjectUseCase(logger *slog.Logger, r1 domain.PinObjectRepository) *UpsertPinObjectUseCase

func (*UpsertPinObjectUseCase) Execute

func (uc *UpsertPinObjectUseCase) Execute(ctx context.Context, pinobj *domain.PinObject) error

Jump to

Keyboard shortcuts

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