definitions

package
v0.0.0-...-e03766a Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSession

type CreateSession interface {
	Execute(data *CreateSessionDTO) (*CreateSessionResult, *shared.Error)
}

type CreateSessionDTO

type CreateSessionDTO struct {
	Login    string
	Password string
}

type CreateSessionResult

type CreateSessionResult struct {
	User       *entities.UserEntity
	SessionKey string
}

type CreateUser

type CreateUser interface {
	Execute(data *CreateUserDTO) (*CreateUserResult, *shared.Error)
}

type CreateUserDTO

type CreateUserDTO struct {
	Username string
	Email    string
	Password string
}

type CreateUserResult

type CreateUserResult = entities.UserEntity

Directories

Path Synopsis
Package mock_definitions is a generated GoMock package.
Package mock_definitions is a generated GoMock package.

Jump to

Keyboard shortcuts

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