customer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeService

type FakeService struct{}

FakeService returns the hard configured customer with ID from given auth or identity

func (FakeService) GetByIdentity

func (f FakeService) GetByIdentity(_ context.Context, identity auth.Identity) (domain.Customer, error)

GetByIdentity retrieves the authenticated customer by Identity

type Module

type Module struct{}

Module is a fake customer module

func (*Module) Configure

func (m *Module) Configure(injector *dingo.Injector)

Configure module

Jump to

Keyboard shortcuts

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