interactor

package
v0.0.0-...-833cb33 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

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

func NewUser

func NewUser(logger log.Logger, repo domain.UserRepository) *User

func (*User) Get

func (u *User) Get(ctx context.Context, id string) (*domain.User, error)

type UserSAGA

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

func NewUserSAGA

func NewUserSAGA(logger log.Logger, repo domain.UserRepository, event domain.UserEventSAGA) *UserSAGA

func (*UserSAGA) RemovePicture

func (u *UserSAGA) RemovePicture(ctx context.Context, rootJSON []byte) error

func (*UserSAGA) UpdatePicture

func (u *UserSAGA) UpdatePicture(ctx context.Context, id string, urlJSON []byte) error

func (*UserSAGA) Verify

func (u *UserSAGA) Verify(ctx context.Context, service string, usersJSON []byte) error

Jump to

Keyboard shortcuts

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