Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Activate(ctx context.Context, request *proto.ActivateDocumentRequest) (*proto.DocumentResponse, error)
- func (h *Handler) GetByFilter(ctx context.Context, request *proto.GetDocumentsByFilterRequest) (*proto.GetDocumentsByFilterResponse, error)
- func (h *Handler) GetByID(ctx context.Context, request *proto.GetDocumentByIDRequest) (*proto.DocumentResponse, error)
- func (h *Handler) GetPDFByID(ctx context.Context, request *proto.GetPDFByDocumentIDRequest) (*proto.GetPDFByDocumentIDResponse, error)
- func (h *Handler) GetSignaturesByFilter(ctx context.Context, request *proto.GetSignaturesByFilterRequest) (*proto.GetSignatureByFilterResponse, error)
- func (h *Handler) Sign(ctx context.Context, request *proto.SignDocumentRequest) (*proto.DocumentResponse, error)
- func (h *Handler) Upsert(ctx context.Context, request *proto.UpsertDocumentRequest) (*proto.DocumentResponse, error)
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { DocumentService service.DocumentService UserService service.UserService }
func (*Handler) Activate ¶
func (h *Handler) Activate(ctx context.Context, request *proto.ActivateDocumentRequest) (*proto.DocumentResponse, error)
func (*Handler) GetByFilter ¶
func (h *Handler) GetByFilter(ctx context.Context, request *proto.GetDocumentsByFilterRequest) (*proto.GetDocumentsByFilterResponse, error)
func (*Handler) GetByID ¶
func (h *Handler) GetByID(ctx context.Context, request *proto.GetDocumentByIDRequest) (*proto.DocumentResponse, error)
func (*Handler) GetPDFByID ¶
func (h *Handler) GetPDFByID(ctx context.Context, request *proto.GetPDFByDocumentIDRequest) (*proto.GetPDFByDocumentIDResponse, error)
func (*Handler) GetSignaturesByFilter ¶
func (h *Handler) GetSignaturesByFilter(ctx context.Context, request *proto.GetSignaturesByFilterRequest) (*proto.GetSignatureByFilterResponse, error)
func (*Handler) Sign ¶
func (h *Handler) Sign(ctx context.Context, request *proto.SignDocumentRequest) (*proto.DocumentResponse, error)
func (*Handler) Upsert ¶
func (h *Handler) Upsert(ctx context.Context, request *proto.UpsertDocumentRequest) (*proto.DocumentResponse, error)
type Params ¶
type Params struct { fx.In DocumentService service.DocumentService UserService service.UserService }
Click to show internal directories.
Click to hide internal directories.