renderer

package
v0.0.0-...-019009c Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_renderer_proto protoreflect.FileDescriptor

Functions

func RegisterRendererServer

func RegisterRendererServer(s *grpc.Server, srv RendererServer)

Types

type RenderReply

type RenderReply struct {
	Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderReply) Descriptor deprecated

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

Deprecated: Use RenderReply.ProtoReflect.Descriptor instead.

func (*RenderReply) GetHtml

func (x *RenderReply) GetHtml() string

func (*RenderReply) ProtoMessage

func (*RenderReply) ProtoMessage()

func (*RenderReply) ProtoReflect

func (x *RenderReply) ProtoReflect() protoreflect.Message

func (*RenderReply) Reset

func (x *RenderReply) Reset()

func (*RenderReply) String

func (x *RenderReply) String() string

type RenderRequest

type RenderRequest struct {
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderRequest) Descriptor deprecated

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

Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead.

func (*RenderRequest) GetSrc

func (x *RenderRequest) GetSrc() string

func (*RenderRequest) ProtoMessage

func (*RenderRequest) ProtoMessage()

func (*RenderRequest) ProtoReflect

func (x *RenderRequest) ProtoReflect() protoreflect.Message

func (*RenderRequest) Reset

func (x *RenderRequest) Reset()

func (*RenderRequest) String

func (x *RenderRequest) String() string

type RendererClient

type RendererClient interface {
	Render(ctx context.Context, in *RenderRequest, opts ...grpc.CallOption) (*RenderReply, error)
}

RendererClient is the client API for Renderer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRendererClient

func NewRendererClient(cc grpc.ClientConnInterface) RendererClient

type RendererServer

type RendererServer interface {
	Render(context.Context, *RenderRequest) (*RenderReply, error)
}

RendererServer is the server API for Renderer service.

type UnimplementedRendererServer

type UnimplementedRendererServer struct {
}

UnimplementedRendererServer can be embedded to have forward compatible implementations.

func (*UnimplementedRendererServer) Render

Jump to

Keyboard shortcuts

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