Documentation ¶
Index ¶
Constants ¶
View Source
const Documents = "documents"
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGetDocumentInfoRepository, wire.Bind(new(documents.GetDocumentInfoRepositorer), new(*GetDocumentInfoRepository)), NewPutDocumentRepository, wire.Bind(new(documents.PutDocumentRepositorer), new(*PutDocumentRepository)), NewGetDocumentRepository, wire.Bind(new(documents.GetDocumentRepositorer), new(*GetDocumentRepository)))
ProviderSet is data providers.
Functions ¶
This section is empty.
Types ¶
type GetDocumentInfoRepository ¶
type GetDocumentInfoRepository struct {
// contains filtered or unexported fields
}
func NewGetDocumentInfoRepository ¶
func NewGetDocumentInfoRepository(ctx context.Context, data *mongodb.Data) *GetDocumentInfoRepository
func (*GetDocumentInfoRepository) GetDocumentInfo ¶
func (r *GetDocumentInfoRepository) GetDocumentInfo( docData *documents.GetDocumentInfoRepositorerRequest) (*documents.GetDocumentInfoRepositorerResponse, error)
type GetDocumentRepository ¶
type GetDocumentRepository struct {
// contains filtered or unexported fields
}
func NewGetDocumentRepository ¶
func NewGetDocumentRepository(ctx context.Context, data *mongodb.Data) *GetDocumentRepository
func (*GetDocumentRepository) GetDocument ¶
func (r *GetDocumentRepository) GetDocument( docData *documents.GetDocumentRepositorerRequest) (*documents.GetDocumentRepositorerResponse, error)
type PutDocumentRepository ¶
type PutDocumentRepository struct {
// contains filtered or unexported fields
}
func NewPutDocumentRepository ¶
func NewPutDocumentRepository(ctx context.Context, data *mongodb.Data) *PutDocumentRepository
func (*PutDocumentRepository) PutDocument ¶
func (r *PutDocumentRepository) PutDocument( docData *documents.PutDocumentRepositorerRequest) (res *documents.PutDocumentRepositorerResponse, err error)
Click to show internal directories.
Click to hide internal directories.