serviceimplementation

package
v0.0.0-...-e8a27b9 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteWorkerLocally

func ExecuteWorkerLocally(s DtaService, fileName string) string

ExecuteWorkerLocally executes the worker locally, and returns the transformation result as string

func Work

func Work(s *DtaService, input []byte, options *structpb.Struct) (string, []string, error)

Types

type DtaService

func (*DtaService) GetDocTransServer

func (s *DtaService) GetDocTransServer() *pb.GenDocTransServer

func (*DtaService) ListServices

func (s *DtaService) ListServices(ctx context.Context, req *empty.Empty) (*pb.ListServicesResponse, error)

func (*DtaService) Options

func (*DtaService) Options(ctx context.Context, req *empty.Empty) (*pb.OptionsResponse, error)

func (*DtaService) TransformDocument

TransformDocument implements dtaservice.DTAServer

Jump to

Keyboard shortcuts

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