com_sootsafe_latex

package
v0.0.0-...-9b175eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package com_sootsafe_latex is a generated protocol buffer package.

It is generated from these files:

tex-to-pdf-service.proto

It has these top-level messages:

TexMessage
ErrorMessage
PdfResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTexToPdfServer

func RegisterTexToPdfServer(s *grpc.Server, srv TexToPdfServer)

Types

type ErrorMessage

type ErrorMessage struct {
	ErrorCode    int32  `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
}

func (*ErrorMessage) Descriptor

func (*ErrorMessage) Descriptor() ([]byte, []int)

func (*ErrorMessage) GetErrorCode

func (m *ErrorMessage) GetErrorCode() int32

func (*ErrorMessage) GetErrorMessage

func (m *ErrorMessage) GetErrorMessage() string

func (*ErrorMessage) ProtoMessage

func (*ErrorMessage) ProtoMessage()

func (*ErrorMessage) Reset

func (m *ErrorMessage) Reset()

func (*ErrorMessage) String

func (m *ErrorMessage) String() string

type PdfResponse

type PdfResponse struct {
	Error *ErrorMessage `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Pdf   []byte        `protobuf:"bytes,2,opt,name=pdf,proto3" json:"pdf,omitempty"`
}

func (*PdfResponse) Descriptor

func (*PdfResponse) Descriptor() ([]byte, []int)

func (*PdfResponse) GetError

func (m *PdfResponse) GetError() *ErrorMessage

func (*PdfResponse) GetPdf

func (m *PdfResponse) GetPdf() []byte

func (*PdfResponse) ProtoMessage

func (*PdfResponse) ProtoMessage()

func (*PdfResponse) Reset

func (m *PdfResponse) Reset()

func (*PdfResponse) String

func (m *PdfResponse) String() string

type TexMessage

type TexMessage struct {
	Tex []byte `protobuf:"bytes,1,opt,name=tex,proto3" json:"tex,omitempty"`
}

func (*TexMessage) Descriptor

func (*TexMessage) Descriptor() ([]byte, []int)

func (*TexMessage) GetTex

func (m *TexMessage) GetTex() []byte

func (*TexMessage) ProtoMessage

func (*TexMessage) ProtoMessage()

func (*TexMessage) Reset

func (m *TexMessage) Reset()

func (*TexMessage) String

func (m *TexMessage) String() string

type TexToPdfClient

type TexToPdfClient interface {
	Convert(ctx context.Context, in *TexMessage, opts ...grpc.CallOption) (*PdfResponse, error)
}

func NewTexToPdfClient

func NewTexToPdfClient(cc *grpc.ClientConn) TexToPdfClient

type TexToPdfServer

type TexToPdfServer interface {
	Convert(context.Context, *TexMessage) (*PdfResponse, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL