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 ¶
func (*UnimplementedRendererServer) Render(context.Context, *RenderRequest) (*RenderReply, error)
Click to show internal directories.
Click to hide internal directories.