Versions in this module Expand all Collapse all v0 v0.8.0 Jun 23, 2023 Changes in this version + var File_processor_proto protoreflect.FileDescriptor + var PdfProcessor_ServiceDesc = grpc.ServiceDesc + var Pdf_Method_name = map[int32]string + var Pdf_Method_value = map[string]int32 + func RegisterPdfProcessorServer(s grpc.ServiceRegistrar, srv PdfProcessorServer) + type Document struct + Documents []*Document + Pages []*Image + Title string + func (*Document) Descriptor() ([]byte, []int) + func (*Document) ProtoMessage() + func (x *Document) GetDocuments() []*Document + func (x *Document) GetPages() []*Image + func (x *Document) GetTitle() string + func (x *Document) ProtoReflect() protoreflect.Message + func (x *Document) Reset() + func (x *Document) String() string + type Image struct + Content []byte + Format string + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (x *Image) GetContent() []byte + func (x *Image) GetFormat() string + func (x *Image) ProtoReflect() protoreflect.Message + func (x *Image) Reset() + func (x *Image) String() string + type Pdf struct + Content []byte + Method Pdf_Method + MethodName string + PageNumbers []uint32 + func (*Pdf) Descriptor() ([]byte, []int) + func (*Pdf) ProtoMessage() + func (x *Pdf) GetContent() []byte + func (x *Pdf) GetMethod() Pdf_Method + func (x *Pdf) GetMethodName() string + func (x *Pdf) GetPageNumbers() []uint32 + func (x *Pdf) ProtoReflect() protoreflect.Message + func (x *Pdf) Reset() + func (x *Pdf) String() string + type PdfProcessorClient interface + ConvertPdfToImage func(ctx context.Context, in *Pdf, opts ...grpc.CallOption) (PdfProcessor_ConvertPdfToImageClient, error) + CreatePdf func(ctx context.Context, in *Document, opts ...grpc.CallOption) (*Pdf, error) + RotateImage func(ctx context.Context, in *Rotate, opts ...grpc.CallOption) (*Image, error) + func NewPdfProcessorClient(cc grpc.ClientConnInterface) PdfProcessorClient + type PdfProcessorServer interface + ConvertPdfToImage func(*Pdf, PdfProcessor_ConvertPdfToImageServer) error + CreatePdf func(context.Context, *Document) (*Pdf, error) + RotateImage func(context.Context, *Rotate) (*Image, error) + type PdfProcessor_ConvertPdfToImageClient interface + Recv func() (*Image, error) + type PdfProcessor_ConvertPdfToImageServer interface + Send func(*Image) error + type Pdf_Method int32 + const Pdf_AUTO + const Pdf_EXPLICIT + const Pdf_EXTRACT + const Pdf_RASTERIZE + func (Pdf_Method) Descriptor() protoreflect.EnumDescriptor + func (Pdf_Method) EnumDescriptor() ([]byte, []int) + func (Pdf_Method) Type() protoreflect.EnumType + func (x Pdf_Method) Enum() *Pdf_Method + func (x Pdf_Method) Number() protoreflect.EnumNumber + func (x Pdf_Method) String() string + type Rotate struct + Content []byte + Degree float64 + func (*Rotate) Descriptor() ([]byte, []int) + func (*Rotate) ProtoMessage() + func (x *Rotate) GetContent() []byte + func (x *Rotate) GetDegree() float64 + func (x *Rotate) ProtoReflect() protoreflect.Message + func (x *Rotate) Reset() + func (x *Rotate) String() string + type UnimplementedPdfProcessorServer struct + func (UnimplementedPdfProcessorServer) ConvertPdfToImage(*Pdf, PdfProcessor_ConvertPdfToImageServer) error + func (UnimplementedPdfProcessorServer) CreatePdf(context.Context, *Document) (*Pdf, error) + func (UnimplementedPdfProcessorServer) RotateImage(context.Context, *Rotate) (*Image, error) + type UnsafePdfProcessorServer interface Other modules containing this package github.com/dgmann/document-manager