repositories

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientRepository added in v0.6.0

type ClientRepository interface {
	// Create Creates a new client.
	//
	// This method adds a new client to the storage. It returns the created client with its assigned identifier.
	//
	// Parameters:
	// - client: *entities.Client The client to be created.
	//
	// Returns:
	// - *entities.Client: The created client.
	// - error: Error returned in case of problems during creation.
	Create(client *transfert.Client) (*entities.Client, error)
	Read(client *transfert.Client) (*entities.Client, error)
}

ClientRepository Interface for managing client data storage operations.

This interface defines methods for interacting with client data, enabling CRUD (Create, Read, Update, Delete) operations on clients.

Jump to

Keyboard shortcuts

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