Documentation ¶
Index ¶
- type MockDocumentsRepository
- func (r *MockDocumentsRepository) CreateDocument(*documents.CreateDocumentRepositorerRequest) (*documents.CreateDocumentRepositorerResponse, error)
- func (r *MockDocumentsRepository) GetAllDocuments(*documents.GetAllDocumentsRepositorerRequest) (*documents.GetAllDocumentsRepositorerResponse, error)
- func (r *MockDocumentsRepository) GetDocument(docData *documents.GetDocumentRepositorerRequest) (*documents.GetDocumentRepositorerResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDocumentsRepository ¶
type MockDocumentsRepository struct {
// contains filtered or unexported fields
}
func MakeMockDocumentsRepository ¶
func MakeMockDocumentsRepository(ctx context.Context) *MockDocumentsRepository
func (*MockDocumentsRepository) CreateDocument ¶
func (r *MockDocumentsRepository) CreateDocument( *documents.CreateDocumentRepositorerRequest) (*documents.CreateDocumentRepositorerResponse, error)
func (*MockDocumentsRepository) GetAllDocuments ¶
func (r *MockDocumentsRepository) GetAllDocuments( *documents.GetAllDocumentsRepositorerRequest) (*documents.GetAllDocumentsRepositorerResponse, error)
func (*MockDocumentsRepository) GetDocument ¶
func (r *MockDocumentsRepository) GetDocument( docData *documents.GetDocumentRepositorerRequest) (*documents.GetDocumentRepositorerResponse, error)
Click to show internal directories.
Click to hide internal directories.