Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PbDocumentsWireSet = wire.NewSet(NewDocumentsServer, wire.Bind(new(v1.DocumentsServer), new(*Documents)))
View Source
var ProviderSet = wire.NewSet(NewDocumentsServer)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type Documents ¶
type Documents struct { documents2.GetDocumentInfoer documents2.GetDocumenter documents2.PutDocumenter }
func NewDocumentsServer ¶
func NewDocumentsServer(gdi documents2.GetDocumentInfoer, gd documents2.GetDocumenter, pd documents2.PutDocumenter) *Documents
func (*Documents) GetDocument ¶
func (s *Documents) GetDocument(req *v1.GetDocumentRequest, srv v1.Documents_GetDocumentServer) error
func (*Documents) GetDocumentInfo ¶
func (s *Documents) GetDocumentInfo(_ context.Context, req *v1.GetDocumentInfoRequest) (*v1.GetDocumentInfoReply, error)
func (*Documents) PutDocument ¶
func (s *Documents) PutDocument(srv v1.Documents_PutDocumentServer) error
Click to show internal directories.
Click to hide internal directories.