Documentation
¶
Index ¶
Constants ¶
View Source
const DOCUMENTS = "documents"
Variables ¶
View Source
var CreateWireSet = wire.NewSet(NewCreateDocumentRepository, wire.Bind(new(documents.CreateDocumentRepositorer), new(*CreateDocumentRepository)))
View Source
var GetAllWireSet = wire.NewSet(NewGetAllDocumentsRepository, wire.Bind(new(documents.GetAllDocumentsRepositorer), new(*GetAllDocumentsRepository)))
View Source
var GetWireSet = wire.NewSet(NewGetDocumentRepository, wire.Bind(new(documents.GetDocumentRepositorer), new(*GetDocumentRepository)))
Functions ¶
This section is empty.
Types ¶
type CreateDocumentRepository ¶
type CreateDocumentRepository struct {
// contains filtered or unexported fields
}
func NewCreateDocumentRepository ¶
func NewCreateDocumentRepository(ctx context.Context) *CreateDocumentRepository
func (*CreateDocumentRepository) CreateDocument ¶
func (r *CreateDocumentRepository) CreateDocument( docData *documents.CreateDocumentRepositorerRequest) (*documents.CreateDocumentRepositorerResponse, error)
type GetAllDocumentsRepository ¶
type GetAllDocumentsRepository struct {
// contains filtered or unexported fields
}
func NewGetAllDocumentsRepository ¶
func NewGetAllDocumentsRepository(ctx context.Context) *GetAllDocumentsRepository
func (*GetAllDocumentsRepository) GetAllDocuments ¶
func (r *GetAllDocumentsRepository) GetAllDocuments( docData *documents.GetAllDocumentsRepositorerRequest) (*documents.GetAllDocumentsRepositorerResponse, error)
type GetDocumentRepository ¶
type GetDocumentRepository struct {
// contains filtered or unexported fields
}
func NewGetDocumentRepository ¶
func NewGetDocumentRepository(ctx context.Context) *GetDocumentRepository
func (*GetDocumentRepository) GetDocument ¶
func (r *GetDocumentRepository) GetDocument( docData *documents.GetDocumentRepositorerRequest) (*documents.GetDocumentRepositorerResponse, error)
Click to show internal directories.
Click to hide internal directories.